Home | Trees | Index | Help |
|
---|
Package wx :: Class StdDialogButtonSizer |
|
object
--+ |Object
--+ |Sizer
--+ |BoxSizer
--+ | StdDialogButtonSizer
A special sizer that knows how to order and position standard buttons
in order to conform to the current platform's standards. You simply
need to add each wx.Button
to the sizer, and be sure to create the
buttons using the standard ID's. Then call Realize
and the sizer
will take care of the rest.
Method Summary | |
---|---|
BoxSizer |
Constructor for a wx.BoxSizer. |
Use this to add the buttons to this sizer. | |
wxButton | GetAffirmativeButton(self)
|
wxButton | GetApplyButton(self)
|
wxButton | GetCancelButton(self)
|
wxButton | GetHelpButton(self)
|
wxButton | GetNegativeButton(self)
|
This funciton needs to be called after all the buttons have been added to the sizer. | |
SetAffirmativeButton(self,
button)
| |
SetCancelButton(self,
button)
| |
SetNegativeButton(self,
button)
|
Property Summary | |
---|---|
AffirmativeButton : See GetAffirmativeButton and SetAffirmativeButton | |
ApplyButton : See GetApplyButton | |
CancelButton : See GetCancelButton and SetCancelButton | |
HelpButton : See GetHelpButton | |
NegativeButton : See GetNegativeButton and SetNegativeButton | |
thisown : The membership flag |
Method Details |
---|
__init__(self)
|
AddButton(self, button)Use this to add the buttons to this sizer. Do not use the
|
Realize(self)This funciton needs to be called after all the buttons have been added to the sizer. It will reorder them and position them in a platform specifc manner. |
Property Details |
---|
AffirmativeButtonSee
|
ApplyButtonSee
|
CancelButtonSee
|
HelpButtonSee
|
NegativeButtonSee
|
thisownThe membership flag |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:10:08 2007 | http://epydoc.sf.net |