Phoenix Logo

phoenix_title wx.lib.agw.genericmessagedialog.StdDialogButtonSizer

wxWidgets standard dialog button sizer.


class_hierarchy Class Hierarchy

Inheritance diagram for class StdDialogButtonSizer:

super_classes Known Superclasses

wx.BoxSizer


method_summary 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.

api 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.