[Glade-users] Global variables



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




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