wx.lib.agw.genericmessagedialog.StdDialogButtonSizer¶wxWidgets standard dialog button sizer.
Methods Summary¶__init__ |
Default class constructor. |
AddButton |
Add a button to the sizer. |
Realize |
Realizes the sizer depending on the platform. |
SetAffirmativeButton |
Sets the affirmative button. |
SetCancelButton |
Sets the cancel button. |
SetNegativeButton |
Sets the negative button. |
Class API¶StdDialogButtonSizer(wx.BoxSizer)¶wxWidgets standard dialog button sizer.
__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. |
|---|