[Glade-users] How add new widget to glade pallete?
Ishan Chattopadhyaya
ishanchattopadhyaya@hclinfinet.com
Sun, 22 Aug 2004 01:45:47 -0700
> Now I'm thinking how add those widgets into Glade??
Once i tried to mess with this. I could compile a version of glade-2.0.0
that had the GtkSheet widget (from the gtkextra package) into the Palette.
The code was compiled on win32.
The steps:
1) Compile the .c files into a dynamic library and also add a function, say
new_glade_widget() that describes how to create & show the widget.
2) Hack the glade2 code and load up the dynamic lib created above and call
the new_glade_widget (). Thus add the widget to the palette
The code i am refering to above is at:
http://wingtk.sf.net/ishan/wglade.html or http://wingtk.sf.net/wglade.html
(I cannot remember which one is the complete one).
Regds,
Ishan