Module GenericMessageDialog :: Class StdDialogButtonSizer
[hide private]
[frames] | no frames]

Class StdDialogButtonSizer

source code

     object --+            
              |            
wx._core.Object --+        
                  |        
     wx._core.Sizer --+    
                      |    
      wx._core.BoxSizer --+
                          |
                         StdDialogButtonSizer

wxWidgets standard dialog button sizer.

Instance Methods [hide private]
 
__init__(self)
Default class constructor.
source code
 
AddButton(self, mybutton)
Add a button to the sizer.
source code
 
SetAffirmativeButton(self, button)
Sets the affirmative button.
source code
 
SetNegativeButton(self, button)
Sets the negative button.
source code
 
SetCancelButton(self, button)
Sets the cancel button.
source code
 
Realize(self)
Realizes the sizer depending on the Platform.
source code

Inherited from wx._core.BoxSizer: GetOrientation, SetOrientation

Inherited from wx._core.Sizer: Add, AddF, AddItem, AddMany, AddSizer, AddSpacer, AddStretchSpacer, AddWindow, CalcMin, Clear, ComputeFittingClientSize, ComputeFittingWindowSize, DeleteWindows, Detach, Fit, FitInside, GetChildren, GetContainingWindow, GetItem, GetMinSize, GetMinSizeTuple, GetPosition, GetPositionTuple, GetSize, GetSizeTuple, Hide, Insert, InsertF, InsertItem, InsertSizer, InsertSpacer, InsertStretchSpacer, InsertWindow, IsShown, Layout, Prepend, PrependF, PrependItem, PrependSizer, PrependSpacer, PrependStretchSpacer, PrependWindow, RecalcSizes, Remove, RemovePos, RemoveSizer, RemoveWindow, Replace, SetContainingWindow, SetDimension, SetItemMinSize, SetMinSize, SetSizeHints, SetVirtualSizeHints, Show, ShowItems, __del__, __swig_destroy__

Inherited from wx._core.Sizer (private): _ReplaceItem, _ReplaceSizer, _ReplaceWin, _SetItemMinSize, _setOORInfo

Inherited from wx._core.Object: Destroy, GetClassName, IsSameAs, __repr__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from wx._core.BoxSizer: Orientation, thisown

Inherited from wx._core.Sizer: Children, ContainingWindow, MinSize, Position, Size

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Default class constructor.

Overrides: object.__init__

AddButton(self, mybutton)

source code 

Add a button to the sizer.

Parameters:
  • mybutton - the button to add.