wrapping GObject class



Hey,

I started to wrap the Xfce4 libraries and I have a question about
some basics.

While browsing the Glibmm/Gtkmm sources I noticed that the wrapper
code never calls the public constructor functions (just the internal
gobject init and finalize functions). For example, if a GObject derived
class provides a public constructor function to initialize certain
features of that class, do I need to rewrite that function within
my own C++ class constructor?

I have a GObject class with a pblic constructor function which takes
an argument list. This argument list is used within the C constructor
function to add buttons to a GtkDialog.

Right now my best idea is to rewrite that code in my wrapper class.


Jens

-- 
Jens Luedicke
web: http://perldude.de



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