[Glade-users] How to add code for a treeview



On Fri, 2004-09-03 at 12:30, Mario Carugno wrote:
Hi there, suposse i design an interface with a treeview inside.
Treeviews needs some extra code in order to work, such as define a
model, an iterator and other things...
Now, since the treeview is coded by glade into interface.c and that
file can't be modified by hand... where can i put the code to complete
the treeview's logic ?

You put that code after the code that creates the dialog.
If you are using Glade's generated code that would be after the call to
create_windowXXX().
If you are using libglade it would be after the glade_xml_new() call.

Damon






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