Re: [gtkmm] Derived widgets and C object constructor



Murray Cumming Comneon com wrote:

I don't know why you need to do
  new MyDialog( gtk_dialog_new() );
but I would try to avoid it.


That was just an example. What I'm really trying to do is making my own variant of libglademm. But after reading your response, I see that there is some magic going on with Glade::Xml overriding libglade's lookup_type() virtual function...

Hopefully, I'll be able to figure how to accomplish the same in my app.

Tnx!

--
Christer Palm




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