Re: Gnome GTK: buttons and menus in window title bar
Tim Roberts <[email protected]> Thu, 4 Mar 2021 09:34:38 -0800
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Organization | Providenza & Boekelheide, Inc. |
| Message-ID | <[email protected]> |
[email protected] wrote: > > Modern Gnome / GTK applications tend to put buttons and menus into the > title bar of the applications windows. Is there a way to deal with > this with wxPython? When you say "deal with this", do you mean "duplicate this effect"? That's called the "non-client" area. This is not always a good idea. It's never wise to surprise your users, and it can make it hard to drag windows around. You can draw stuff in the non-client area using the wx.EVT_NC_PAINT event, or you can turn off the title bar and take over all of the window space as client space. That means you'll need to present the minimize/maximize/close buttons yourself. -- Tim Roberts, [email protected] Providenza & Boekelheide, Inc. -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/b91f0c82-1014-d232-06db-9e8c873d82b3%40probo.com.
smime.p7s
(application/pkcs7-signature, 3.3 KB) - not displayed