[Glade-users] Global variables

Tristan Van Berkom tristan.van.berkom at gmail.com
Thu Nov 13 13:02:43 EST 2008


[...]
> 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


More information about the Glade-users mailing list