RE: Question about GtkButton->event_window.



On Thu, 2004-02-19 at 17:55, Tom Liu wrote:
The thing I don't understand is that GtkButton has a input window which
is a GdkWindow, why they still need to draw on their parent window? Is
this for better performance?

The event window is input-only; which means invisible.

Drawing on the parent window makes things look better because the
button can have an arbitrary shape and even be alpha-blended into
the background.

Regards,
                                                Owen





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