Re: Glade GUI: changing mechanism

2006-11-12 Thread Tristan Van Berkom
Stephen Watson wrote: Olexiy Avramchenko [EMAIL PROTECTED] 31/Oct/2006 12:58:37 On 10/31/06, Johan Kohler [EMAIL PROTECTED] wrote: Isn't it possible to inline the .glade file in the compiled code? Ie. Instead of reading from a text file, it reads from a declared constant. I think

Re: Glade GUI: changing mechanism

2006-11-11 Thread Stephen Watson
Olexiy Avramchenko [EMAIL PROTECTED] 31/Oct/2006 12:58:37 On 10/31/06, Johan Kohler [EMAIL PROTECTED] wrote: Isn't it possible to inline the .glade file in the compiled code? Ie. Instead of reading from a text file, it reads from a declared constant. I think that one can inline pixmaps in

Re: Glade GUI: changing mechanism

2006-11-08 Thread Tristan Van Berkom
[EMAIL PROTECTED] wrote: Sorry for not answering sooner. Lots in my inbox lately (literally ;) No problem, I went out of town for 4 days and came home a whole lot of mail too. [...] OK, let me dream aloud (it'll have far less weight than actually contributing code). What libglade provides

Re: Glade GUI: changing mechanism

2006-11-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Oct 31, 2006 at 10:33:30AM -0500, Tristan Van Berkom wrote: [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] Sorry for not answering sooner. Lots in my inbox lately (literally ;) This thread is getting a

Re: Glade GUI: changing mechanism

2006-10-31 Thread Daniel Haude
On Tue, 24 Oct 2006 14:39:32 +0200, Philippe Bertin [EMAIL PROTECTED] wrote: My reasoning is that if you inhibit the user the *possibility* to tamper with the files you deliver, you won't have to take this into account when providing support. Call me a security (effectiveniss ?) freak: the

Re: Glade GUI: changing mechanism

2006-10-31 Thread Johan Kohler
Isn't it possible to inline the .glade file in the compiled code? Ie. Instead of reading from a text file, it reads from a declared constant. I think that one can inline pixmaps in this way using GTK. On 31/10/06, Daniel Haude [EMAIL PROTECTED] wrote: On Tue, 24 Oct 2006 14:39:32 +0200,

Re: Glade GUI: changing mechanism

2006-10-31 Thread Carlo Agrusti
[EMAIL PROTECTED] ha scritto lo scorso 24/10/2006 14:44: On Tue, Oct 24, 2006 at 02:39:32PM +0200, Philippe Bertin wrote: [...] Let me indeed do that. I wonder why nobody ever came up with the concern I have; am I that much of a security freak ? FWIW, I'll miss the C code generation

Re: Glade GUI: changing mechanism

2006-10-31 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Oct 31, 2006 at 03:07:13PM +0200, Olexiy Avramchenko wrote: On 10/31/06, Carlo Agrusti [EMAIL PROTECTED] wrote: I'll miss it too [...] This was discussed some time ago. The size of XML (and load time) is not actually a problem here,

Re: Glade GUI: changing mechanism

2006-10-31 Thread Olexiy Avramchenko
On 10/31/06, Johan Kohler [EMAIL PROTECTED] wrote: Isn't it possible to inline the .glade file in the compiled code? Ie. Instead of reading from a text file, it reads from a declared constant. I think that one can inline pixmaps in this way using GTK. Sure, it's possible to embed xml into

Re: Glade GUI: changing mechanism

2006-10-31 Thread Tristan Van Berkom
[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [...] This thread is getting a little redundant (i.e. yes yes the glade file can be inlined - this was not the issue at hand), we were in the midst of disputing the relevence of inlining your glade file and protecting

Re: Glade GUI: changing mechanism

2006-10-24 Thread Philippe Bertin
Hello, Tristan Van Berkom wrote: Thats an interesting idea, I'm sure a simple program could be used to parse signals in a glade file and ensure the availability of the said callbacks in the binary - this kind of tool could be used in makefiles to validate a built program, maybe we could take

Re: Glade GUI: changing mechanism

2006-10-24 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Oct 24, 2006 at 02:39:32PM +0200, Philippe Bertin wrote: [...] Let me indeed do that. I wonder why nobody ever came up with the concern I have; am I that much of a security freak ? FWIW, I'll miss the C code generation feature of Glade.

Re: Glade GUI: changing mechanism

2006-10-24 Thread Tristan Van Berkom
[EMAIL PROTECTED] wrote: [...] Another aspect of code generation (the one which sold me for Glade in the first place): typically, my GTK+ programs are a mixture of widgets designed with glade and some generated programmatically (e.g. a table of widgets whose dimensions are known at run time).

Re: Glade GUI: changing mechanism

2006-10-24 Thread Tristan Van Berkom
Philippe Bertin wrote: [...] Well that's what I meant. Maybe in the link above, it could be mentioned that this is an example of how to use libglade. It'd help out people (digging into the subject) to obtain an example more rapidly. Some things are the way they are - and wont improve

Re: Glade GUI: changing mechanism

2006-10-24 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Oct 24, 2006 at 10:13:02AM -0400, Tristan Van Berkom wrote: [EMAIL PROTECTED] wrote: [...] Another aspect of code generation (the one which sold me for Glade in the first place) [...] Glade has provided me with sample C code to start with

Re: Glade GUI: changing mechanism

2006-10-23 Thread Philippe Bertin
Hello, Tristan, Tristan Van Berkom wrote: Why would someone want to go from glade file -- generated code -- GUI when you can simply go from glade file -- GUI with much less code-generators generated code to maintain ? You're right in some sense. Still, how can one statically prove that

Re: Glade GUI: changing mechanism

2006-10-23 Thread Tristan Van Berkom
Philippe Bertin wrote: Hello, Tristan, Tristan Van Berkom wrote: Why would someone want to go from glade file -- generated code -- GUI when you can simply go from glade file -- GUI with much less code-generators generated code to maintain ? You're right in some sense. Still, how

Re: Glade GUI: changing mechanism

2006-10-23 Thread Philippe Bertin
Hello, Tristan Van Berkom wrote: You're right in some sense. Still, how can one statically prove that the created .glade file is *statically* correct ? I mean by this, how can the (no longer existing, no longer statically compiled) program be proven it would link statically ? I have the

Glade GUI: changing mechanism

2006-10-21 Thread Fernando ApesteguĂ­a
Hi list, Currently, we're using code generation in our project to build the GUI. However, AFAIK there is no more code generation support in Glade, so we would like to build our GUI from a XML file. Can you point me to a guide to make this migration simpler? Best Regards

Re: Glade GUI: changing mechanism

2006-10-21 Thread Andrea Zagli
Il giorno sab, 21/10/2006 alle 14.03 +0200, Fernando ApesteguĂ­a ha scritto: Currently, we're using code generation in our project to build the GUI. However, AFAIK there is no more code generation support in Glade, so we would like to build our GUI from a XML file. Can you point me to a guide

Re: Glade GUI: changing mechanism

2006-10-21 Thread Tristan Van Berkom
Philippe Bertin wrote: Andrea Zagli wrote: use libglade http://www.jamesh.id.au/software/libglade/ Well, I guess Fernando's intention is to continue to use some glade command-line utility/) add-on to continue to use the generated code in the compiled program ? Why would someone