[glade--] Custom Widgets using glademm
- From: "Damon Oberholster" <damon websurfer co za>
- To: glademm-list gnome org
- Subject: [glade--] Custom Widgets using glademm
- Date: Mon, 10 Jan 2005 16:57:25 +0200
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.
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
_____________________________________________________________________
For super low premiums, click here http://www.dialdirect.co.za/quote
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]