Is it possible to make an OS X sheet window (that's one of those modal dialogs that slides down from under the menubar of a parent window) in wxPython?
I've googled and gone through the wxPython uber-demo, but turned up empty-handed so far.
Thanks,
- Joe
Hi Cody,
Hello,
Is it possible to make an OS X sheet window (that's one of those modal dialogs that slides down from under the menubar of a parent window) in wxPython?
I've googled and gone through the wxPython uber-demo, but turned up empty-handed so far.
IIRC some effects classes for doing this have been added for wxWidgets 2.9.
Currently you would have to use a wxPanel and try to animate showing it yourself.
Sheets are different from effects. They're a totally separate dialog type in OS X. The key to implementing sheets is to get wxWidgets to support the idea of "window modal" dialogs, as opposed to "app modal" dialogs, which modal wxDialogs currently are. (i.e. when a window modal dialog pops up, only the window it belongs to gets disabled while the dialog is displayed, not all app windows) IMHO app modal dialogs don't really make sense anymore, as they're a relic of the old Windows behavior, which even Windows has abandoned. (Native dialogs in wx are actually window modal, only wxDialog-derived dialogs exhibit app-modal behavior by default)
I've made a start at sheet support but haven't gotten very far on it, due to more pressing issues eating up what time I have to work on wx.
Thanks,
Kevin
···
On Oct 23, 2008, at 8:56 PM, Cody Precord wrote:
On Oct 23, 2008, at 10:50 PM, Joe Strout wrote:
Cody
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users