Re: Gtk::Builder, Gtk::Buildable and Gtk widgets question.
- From: Krzesimir Nowak <qdlacz gmail com>
- To: Germán Diago <germandiago gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtk::Builder, Gtk::Buildable and Gtk widgets question.
- Date: Sat, 26 Jun 2010 17:21:14 +0200
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
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]