[Glade-users] Global variables



Hey Tristan

I always try to give all the details, and everytime I forget to mention something

I'm using Glade to design the GUI, and I'm compiling it into Python code with Gladex. 

From your comments it seems like I have to find an alternative to gladex.

thanks

--- On Thu, 11/13/08, Tristan Van Berkom <tristan.van.berkom at gmail.com> wrote:
From: Tristan Van Berkom <tristan.van.berkom at gmail.com>
Subject: Re: [Glade-users] Global variables
To: paskari007 at yahoo.ca
Cc: glade-users at lists.ximian.com
Received: Thursday, November 13, 2008, 6:02 PM

[...]
The issue arises from the fact that glade puts all the callbacks into one
file, and it is INCREDIBLY long, I would much prefer to break it up into
multiple files, but the global variables, declared in the init() function,
are presenting a barrier.

  Of course you would, thats one of the reasons we deprecated code
generation years ago and have dropped it all together :)

Please use either GtkBuilder or libglade for now, you will find that
you can organize your code however you want, and building the
interface and connecting your signals will only be a few lines
of code before you call gtk_main().

For now there is no released stable version of glade with support
for GtkBuilder, but I will start releasing candidates very soon, and
you should be able to easily convert your glade file at that time.

Cheers,
                       -Tristan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20081113/8ba2e501/attachment-0001.html 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]