Re: Derived widget in libglademm
- From: Murray Cumming <murrayc murrayc com>
- To: Philipp Klaus Krause <pkk spth de>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Derived widget in libglademm
- Date: Sun, 02 Sep 2007 00:09:28 +0200
On Sat, 2007-09-01 at 23:43 +0200, Philipp Klaus Krause wrote:
> Murray Cumming schrieb:
> > Can we see the implementation of the constructor. I wonder if it calls
> > the base constructor with the da parameter.
> Display::Display(BaseObjectType *da, Glib::RefPtr<Gnome::Glade::Xml>&
> refGlade)// : Gtk::DrawingArea(da) causes runtime error.
Nothing much will work if you comment that out. In particular, it can't
hook in your default signal handler.
> When I try to call the base constructor I get the following runtime error:
> (ttedit:12863): GtkGLExt-CRITICAL **: gtk_widget_set_gl_capability:
> assertion `!GTK_WIDGET_REALIZED (widget)' failed
> and on_realize() isn't called.
I don't think this has anything to do with Glade or GtkDrawingArea. I
guess that is something to do with the other parts of your code.
murrayc murrayc com
] [Thread Prev