"Ronald Bultje" <[EMAIL PROTECTED]> writes:
> Hi Scott,
>
> >I use a drawing area inside of a frame for my SDL/GTK application.
>
> I personally use an eventbox because the only goal of an eventbox is
> to have a X-window associated with it - which is all you'd need. The
> eventbox is the "most simple" widget for this - isn't a drawing box
> far too complicated for this goal?
> Might make a difference of 0,00000001% in performance ;-).
Not that it matters at all, but actually, GtkDrawingArea is
a simpler widget than GtkEventBox. GtkEventBox is a _container_
with a window, so has code for handling a child widget.
GtkDrawingArea, on the other hand, is just a widget with a
window that the app can draw on.
Regards,
Owen
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list