On Sat, 2010-06-26 at 13:41 +0200, Germán Diago wrote:
> Hello. I have a class I want to construct from a Gtk::Builder file.
> The class is a dialog. I want my c++ widget to preserve the is-a
> relation to Gtk::Dialog, so I did like this:
>
>
> class PreferencesDialog : public Gtk::Dialog {
>
> };
>
> The question is if there is a constructor getting a builder file.
Please read a chapter about Glade and Gtk::Builder in gtkmm tutorial:
http://library.gnome.org/devel/gtkmm-tutorial/unstable/chapter-builder.html
> I want to derive my widget from dialog. I tried to reparent the vbox
> from the builder file dialog, and to remove the one from the c++
> widget, but it segfaults and I don't know why.
> Any help here? Thanks for your time.
Frankly speaking I don't know what do you want to achieve here.
Krzesimir
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list