python - WxPython: Cross-Platform Way to Conform Ok/Cancel Button Order -
I'm learning wxPython so most of the libraries and classes are new to me.
Creating priority dialogue class but it is not the best way to ensure that the OK / cancel (or save / close) buttons are in the right order for the platform. The purpose of this program is to both genome and Windows To run on, so I want to make sure the buttons are in the right order for each platform.
What wxPython does the functionality that gives me the if the platform system () == 'Linux' like the hack?
Appearance can change a dialog only when you use the stock dialog (like wx.FileDialog) If you create your own layout, then you will be on each platform.
wx.Dialog has an CreateStdDialogButtonSizer method that with a standard button wx.StdDialogButtonSizer where you can see the difference in layout on different platforms, but you do not have to use it.
Comments
Post a Comment