wx.lib.agw.genericmessagedialog.StdDialogButtonSizer¶
wxWidgets standard dialog button sizer.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Add a button to the sizer. |
|
Realizes the sizer depending on the platform. |
|
Sets the affirmative button. |
|
Sets the cancel button. |
|
Sets the negative button. |
Class API¶
- class StdDialogButtonSizer(wx.BoxSizer)¶
wxWidgets standard dialog button sizer.
Methods¶
- __init__(self)¶
Default class constructor.
- AddButton(self, mybutton)¶
Add a button to the sizer.
- Parameters:
mybutton – the button to add.
- Realize(self)¶
Realizes the sizer depending on the platform.
- SetAffirmativeButton(self, button)¶
Sets the affirmative button.
- Parameters:
button – the button to set as affirmative one.
- SetCancelButton(self, button)¶
Sets the cancel button.
- Parameters:
button – the button to set as cancel one.
- SetNegativeButton(self, button)¶
Sets the negative button.
- Parameters:
button – the button to set as negative one.