Re: Reverse-wrapping gtkmm widgets to gtk+ (for glade3)
- From: Alexander Brinkman <a brinkman marin nl>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: Reverse-wrapping gtkmm widgets to gtk+ (for glade3)
- Date: Mon, 20 Nov 2006 15:04:56 +0100
On Sun, 2006-11-19 at 23:42 +0100, Alexander Brinkman wrote:
> > I added a call to Glib::wrap_register() to fix this, and now it seems to
> > work - see the attachment. This is analogous to what happens when you
> > use an extra wrapper library. For instance, I am using gtksourceviewmm
> > (which extends GtkTextView) in Glom with libglade in the same way, and
> > the init() function of gtksourceviewmm does this for us.
> >
> > I'll have to think about how this might be done automatically when using
> > a custom GType, but I don't think it's too inconvenient now. If it works
> > without problems then we should add a section the gtkmm book about it.
Ok, for a libglade point of view it seems to be working now. From a
Glade3 point of view, unfortunatly, not. My custom widgets are not
instantiated by Glade.
Should it be possible, after initialisation, to do a
g_object_new( custom_widget_gtype, NULL ) call and get a Gtkmm custom
widget? Because that does not seem to be working right now...
Brgds,
Alexander Brinkman.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]