Re: [gtkmm] Custom widget example



>> that's a very complicated example. a much better one would be the ones
>> in libs/gtkmmext, for example the BarController. this has an internal
>> DrawingArea widget which it scribbles on in its expose handler.
>
>I am trying not to use the DrawingArea because the GTK+ widgets don't use
>it. But I'm not sure what extra things DrawingArea gives.

it provides a Drawable for the widget, which in turn is a reflection
of having an actual Gdk::Window.

if you inherit from a GtkWidget you have no Drawable/Gdk::Window.




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