Creating custom GTK+ widget using C++ -- Ctor/Dtor not called


I am trying to create a custom GTK+ widget using GTK+ 2.4.8 called from C++. I find that the constructor and destructor of my widget is never called. So...

1. Is this expected behaviour?
2. What is the usual solution to such a problem (apart from using gtkmm)?
3. Any other issues I need to watch out for when using C++ with GTK+?


-- Agnel

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