[gtk-list] Re: gtk_container_check_resize performance
- From: Peter Mattis <petm scam XCF Berkeley EDU>
- To: gtk-list redhat com
- Subject: [gtk-list] Re: gtk_container_check_resize performance
- Date: Sun, 11 May 1997 12:02:17 -0700
Raph Levien writes:
>BTW, can anyone explain to me the rationale for why a widget should or
>should not have its own window? It is obvious why a viewport should be a
>window (a cheap call to XMoveResizeWindow gets the window scrolled), but
>far less clear why a button needs to be a window. For the time being, I'm
>using ifdefs so I can configure the html container to have its own window
>or not. So far, I can't see any difference, but when I start heavily
>nesting them (because that's how tables are going to work), it will
>probably become more significant.
Events. Events are generated (by X) on windows, so any widget which
wants to handle anything other than the basic exposure events needs to
create a window. In the instance of a button widget, it needs to be
able to get mouse press and release and enter/leave notify events.
Peter
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]