Re: Reverse-wrapping gtkmm widgets to gtk+ (for glade3)



Alexander Brinkman schrieb:
> Only thing I walked into was that Glade3 doesn't seem to support
> gtkm__CustomObject_mywidget names. It translates it to
> gtkmm___custom_object_mywidget. So I also had to create a
> gtkmm___custom_object_mywidget_get_type() call which returns the correct
> GType.

yep. I'm also doing this.

at the moment, glade3 loads my widgets and pretends to create them with
the new type (new class name in "Properties" window), but it appearently
still uses the base type (if i derive a widget from DrawingArea and do
s'thing in it's on_expose_event(), it won't draw in glade's design mode)

will examinate.


> Brgds,
>   Alexander Brinkman.


  --o
-- 
Oliver Nittka
ESEM Grünau GmbH & Co. KG
Dornierstraße 6, 88677 Markdorf/Germany
phone: +49 7544 9583-25, fax: +49 7544 9583-60



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