Re: custom widget



Another question:

how would I include child widgets inside my custom widget? I see that a Gdk::Window is used there (not a Gtk::Window). But, set_parent() only accepts descendants of Gtk::Widget.

So, my general question is: how would I use a Gtk::Widget in a 'child widget' manner, so as to attach to the Gdk::Window inside my custom widget to it as a parent, and then draw the widget inside the Gdk::Window?


Akos



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