[glade--] Custom Widgets using glademm
"Damon Oberholster" <[email protected]> Mon, 10 Jan 2005 16:57:25 +0200
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
Hi I have previously used gtk+ with glade to successfully load custom widgets. I am now using gtkmm and am not sure quite how to covert.=20 Thus far, I did not think it neccessary to use glademm because I'm not generating source from glade, simply using the XML file. I noticed now tho, that when using custom widgets in glade one must specify a "widget creation function". With gtk+ I had to put my function within an "extern 'C'" and then use a "__declspec (dllexport) widget_creation_func()" for libglade to find it. Now I'm using classes (due to converting to gtkmm) and my creation function is inside a class. My question is basically: How do I get libglademm to locate my creation function if it's inside a class? Should I try use glademm? Would that make any difference? Thanks Damon Oberholster=20 _____________________________________________________________________ For super low premiums, click here http://www.dialdirect.co.za/quote