RE: Question about GtkButton->event_window.
- From: Owen Taylor <otaylor redhat com>
- To: Tom Liu <tom liu flextrade com>
- Cc: "'Tristan Van Berkom'" <vantr touchtunes com>, gtk-app-devel-list gnome org
- Subject: RE: Question about GtkButton->event_window.
- Date: Thu, 19 Feb 2004 18:02:41 -0500
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]