[Glade-users] Initialzation code without touching interfaces.c

Jason LaPenta wrote:


I'm new to glade. I'm using it to build an
application that uses clist. The list needs some
stuff put in it at the beginning. I tried to
connect the "show" signal, but the object is
shown before the signal is connected.. ( not very
useful )

so I'm looking for a way to do widget init stuff
without editing the files that glade overwrites
when the user interface is updated.

You can add the items after creating the window.


 window = create_window1 ();
 clist = lookup_widget (window1, "clist1");
 ... add items here ...


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