1 # This file was created automatically by SWIG 1.3.29. 
   2 # Don't modify this file, modify the SWIG interface instead. 
   6 new_instancemethod 
= new
.instancemethod
 
   7 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1): 
   8     if (name 
== "thisown"): return self
.this
.own(value
) 
  10         if type(value
).__name
__ == 'PySwigObject': 
  11             self
.__dict
__[name
] = value
 
  13     method 
= class_type
.__swig
_setmethods
__.get(name
,None) 
  14     if method
: return method(self
,value
) 
  15     if (not static
) or hasattr(self
,name
): 
  16         self
.__dict
__[name
] = value
 
  18         raise AttributeError("You cannot add attributes to %s" % self
) 
  20 def _swig_setattr(self
,class_type
,name
,value
): 
  21     return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0) 
  23 def _swig_getattr(self
,class_type
,name
): 
  24     if (name 
== "thisown"): return self
.this
.own() 
  25     method 
= class_type
.__swig
_getmethods
__.get(name
,None) 
  26     if method
: return method(self
) 
  27     raise AttributeError,name
 
  30     try: strthis 
= "proxy of " + self
.this
.__repr
__() 
  32     return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,) 
  36     _object 
= types
.ObjectType
 
  38 except AttributeError: 
  44 def _swig_setattr_nondynamic_method(set): 
  45     def set_attr(self
,name
,value
): 
  46         if (name 
== "thisown"): return self
.this
.own(value
) 
  47         if hasattr(self
,name
) or (name 
== "this"): 
  50             raise AttributeError("You cannot add attributes to %s" % self
) 
  56 #--------------------------------------------------------------------------- 
  58 BU_LEFT 
= _controls_
.BU_LEFT
 
  59 BU_TOP 
= _controls_
.BU_TOP
 
  60 BU_RIGHT 
= _controls_
.BU_RIGHT
 
  61 BU_BOTTOM 
= _controls_
.BU_BOTTOM
 
  62 BU_ALIGN_MASK 
= _controls_
.BU_ALIGN_MASK
 
  63 BU_EXACTFIT 
= _controls_
.BU_EXACTFIT
 
  64 BU_AUTODRAW 
= _controls_
.BU_AUTODRAW
 
  65 class Button(_core
.Control
): 
  67     A button is a control that contains a text string, and is one of the most 
  68     common elements of a GUI.  It may be placed on a dialog box or panel, or 
  69     indeed almost any other window. 
  71     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
  73     def __init__(self
, *args
, **kwargs
):  
  75         __init__(self, Window parent, int id=-1, String label=EmptyString,  
  76             Point pos=DefaultPosition, Size size=DefaultSize,  
  77             long style=0, Validator validator=DefaultValidator,  
  78             String name=ButtonNameStr) -> Button 
  80         Create and show a button.  The preferred way to create standard 
  81         buttons is to use a standard ID and an empty label.  In this case 
  82         wxWigets will automatically use a stock label that coresponds to the 
  83         ID given.  In additon, the button will be decorated with stock icons 
  86         _controls_
.Button_swiginit(self
,_controls_
.new_Button(*args
, **kwargs
)) 
  87         self
._setOORInfo
(self
) 
  89     def Create(*args
, **kwargs
): 
  91         Create(self, Window parent, int id=-1, String label=EmptyString,  
  92             Point pos=DefaultPosition, Size size=DefaultSize,  
  93             long style=0, Validator validator=DefaultValidator,  
  94             String name=ButtonNameStr) -> bool 
  96         Acutally create the GUI Button for 2-phase creation. 
  98         return _controls_
.Button_Create(*args
, **kwargs
) 
 100     def SetDefault(*args
, **kwargs
): 
 102         SetDefault(self) -> Window 
 104         This sets the button to be the default item for the panel or dialog box. 
 106         return _controls_
.Button_SetDefault(*args
, **kwargs
) 
 108     def GetDefaultSize(*args
, **kwargs
): 
 110         GetDefaultSize() -> Size 
 112         Returns the default button size for this platform. 
 114         return _controls_
.Button_GetDefaultSize(*args
, **kwargs
) 
 116     GetDefaultSize 
= staticmethod(GetDefaultSize
) 
 117     def GetClassDefaultAttributes(*args
, **kwargs
): 
 119         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 121         Get the default attributes for this class.  This is useful if you want 
 122         to use the same font or colour in your own control as in a standard 
 123         control -- which is a much better idea than hard coding specific 
 124         colours or fonts which might look completely out of place on the 
 125         user's system, especially if it uses themes. 
 127         The variant parameter is only relevant under Mac currently and is 
 128         ignore under other platforms. Under Mac, it will change the size of 
 129         the returned font. See `wx.Window.SetWindowVariant` for more about 
 132         return _controls_
.Button_GetClassDefaultAttributes(*args
, **kwargs
) 
 134     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
 135 _controls_
.Button_swigregister(Button
) 
 136 cvar 
= _controls_
.cvar
 
 137 ButtonNameStr 
= cvar
.ButtonNameStr
 
 139 def PreButton(*args
, **kwargs
): 
 141     PreButton() -> Button 
 143     Precreate a Button for 2-phase creation. 
 145     val 
= _controls_
.new_PreButton(*args
, **kwargs
) 
 148 def Button_GetDefaultSize(*args
): 
 150     Button_GetDefaultSize() -> Size 
 152     Returns the default button size for this platform. 
 154   return _controls_
.Button_GetDefaultSize(*args
) 
 156 def Button_GetClassDefaultAttributes(*args
, **kwargs
): 
 158     Button_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 160     Get the default attributes for this class.  This is useful if you want 
 161     to use the same font or colour in your own control as in a standard 
 162     control -- which is a much better idea than hard coding specific 
 163     colours or fonts which might look completely out of place on the 
 164     user's system, especially if it uses themes. 
 166     The variant parameter is only relevant under Mac currently and is 
 167     ignore under other platforms. Under Mac, it will change the size of 
 168     the returned font. See `wx.Window.SetWindowVariant` for more about 
 171   return _controls_
.Button_GetClassDefaultAttributes(*args
, **kwargs
) 
 173 class BitmapButton(Button
): 
 175     A Button that contains a bitmap.  A bitmap button can be supplied with a 
 176     single bitmap, and wxWidgets will draw all button states using this bitmap. If 
 177     the application needs more control, additional bitmaps for the selected state, 
 178     unpressed focused state, and greyed-out state may be supplied. 
 180     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 181     __repr__ 
= _swig_repr
 
 182     def __init__(self
, *args
, **kwargs
):  
 184         __init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,  
 185             Point pos=DefaultPosition, Size size=DefaultSize,  
 186             long style=BU_AUTODRAW, Validator validator=DefaultValidator,  
 187             String name=ButtonNameStr) -> BitmapButton 
 189         Create and show a button with a bitmap for the label. 
 191         _controls_
.BitmapButton_swiginit(self
,_controls_
.new_BitmapButton(*args
, **kwargs
)) 
 192         self
._setOORInfo
(self
) 
 194     def Create(*args
, **kwargs
): 
 196         Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,  
 197             Point pos=DefaultPosition, Size size=DefaultSize,  
 198             long style=BU_AUTODRAW, Validator validator=DefaultValidator,  
 199             String name=ButtonNameStr) -> bool 
 201         Acutally create the GUI BitmapButton for 2-phase creation. 
 203         return _controls_
.BitmapButton_Create(*args
, **kwargs
) 
 205     def GetBitmapLabel(*args
, **kwargs
): 
 207         GetBitmapLabel(self) -> Bitmap 
 209         Returns the label bitmap (the one passed to the constructor). 
 211         return _controls_
.BitmapButton_GetBitmapLabel(*args
, **kwargs
) 
 213     def GetBitmapDisabled(*args
, **kwargs
): 
 215         GetBitmapDisabled(self) -> Bitmap 
 217         Returns the bitmap for the disabled state. 
 219         return _controls_
.BitmapButton_GetBitmapDisabled(*args
, **kwargs
) 
 221     def GetBitmapFocus(*args
, **kwargs
): 
 223         GetBitmapFocus(self) -> Bitmap 
 225         Returns the bitmap for the focused state. 
 227         return _controls_
.BitmapButton_GetBitmapFocus(*args
, **kwargs
) 
 229     def GetBitmapSelected(*args
, **kwargs
): 
 231         GetBitmapSelected(self) -> Bitmap 
 233         Returns the bitmap for the selected state. 
 235         return _controls_
.BitmapButton_GetBitmapSelected(*args
, **kwargs
) 
 237     def GetBitmapHover(*args
, **kwargs
): 
 239         GetBitmapHover(self) -> Bitmap 
 241         Returns the bitmap used when the mouse is over the button, may be invalid. 
 243         return _controls_
.BitmapButton_GetBitmapHover(*args
, **kwargs
) 
 245     def SetBitmapDisabled(*args
, **kwargs
): 
 247         SetBitmapDisabled(self, Bitmap bitmap) 
 249         Sets the bitmap for the disabled button appearance. 
 251         return _controls_
.BitmapButton_SetBitmapDisabled(*args
, **kwargs
) 
 253     def SetBitmapFocus(*args
, **kwargs
): 
 255         SetBitmapFocus(self, Bitmap bitmap) 
 257         Sets the bitmap for the button appearance when it has the keyboard focus. 
 259         return _controls_
.BitmapButton_SetBitmapFocus(*args
, **kwargs
) 
 261     def SetBitmapSelected(*args
, **kwargs
): 
 263         SetBitmapSelected(self, Bitmap bitmap) 
 265         Sets the bitmap for the selected (depressed) button appearance. 
 267         return _controls_
.BitmapButton_SetBitmapSelected(*args
, **kwargs
) 
 269     def SetBitmapLabel(*args
, **kwargs
): 
 271         SetBitmapLabel(self, Bitmap bitmap) 
 273         Sets the bitmap label for the button.  This is the bitmap used for the 
 274         unselected state, and for all other states if no other bitmaps are provided. 
 276         return _controls_
.BitmapButton_SetBitmapLabel(*args
, **kwargs
) 
 278     def SetBitmapHover(*args
, **kwargs
): 
 280         SetBitmapHover(self, Bitmap hover) 
 282         Sets the bitmap to be shown when the mouse is over the button.  This function 
 283         is new since wxWidgets version 2.7.0 and the hover bitmap is currently only 
 286         return _controls_
.BitmapButton_SetBitmapHover(*args
, **kwargs
) 
 288     def SetMargins(*args
, **kwargs
): 
 289         """SetMargins(self, int x, int y)""" 
 290         return _controls_
.BitmapButton_SetMargins(*args
, **kwargs
) 
 292     def GetMarginX(*args
, **kwargs
): 
 293         """GetMarginX(self) -> int""" 
 294         return _controls_
.BitmapButton_GetMarginX(*args
, **kwargs
) 
 296     def GetMarginY(*args
, **kwargs
): 
 297         """GetMarginY(self) -> int""" 
 298         return _controls_
.BitmapButton_GetMarginY(*args
, **kwargs
) 
 300     BitmapDisabled 
= property(GetBitmapDisabled
,SetBitmapDisabled
,doc
="See `GetBitmapDisabled` and `SetBitmapDisabled`")  
 301     BitmapFocus 
= property(GetBitmapFocus
,SetBitmapFocus
,doc
="See `GetBitmapFocus` and `SetBitmapFocus`")  
 302     BitmapHover 
= property(GetBitmapHover
,SetBitmapHover
,doc
="See `GetBitmapHover` and `SetBitmapHover`")  
 303     BitmapLabel 
= property(GetBitmapLabel
,SetBitmapLabel
,doc
="See `GetBitmapLabel` and `SetBitmapLabel`")  
 304     BitmapSelected 
= property(GetBitmapSelected
,SetBitmapSelected
,doc
="See `GetBitmapSelected` and `SetBitmapSelected`")  
 305     MarginX 
= property(GetMarginX
,doc
="See `GetMarginX`")  
 306     MarginY 
= property(GetMarginY
,doc
="See `GetMarginY`")  
 307 _controls_
.BitmapButton_swigregister(BitmapButton
) 
 309 def PreBitmapButton(*args
, **kwargs
): 
 311     PreBitmapButton() -> BitmapButton 
 313     Precreate a BitmapButton for 2-phase creation. 
 315     val 
= _controls_
.new_PreBitmapButton(*args
, **kwargs
) 
 318 #--------------------------------------------------------------------------- 
 320 CHK_2STATE 
= _controls_
.CHK_2STATE
 
 321 CHK_3STATE 
= _controls_
.CHK_3STATE
 
 322 CHK_ALLOW_3RD_STATE_FOR_USER 
= _controls_
.CHK_ALLOW_3RD_STATE_FOR_USER
 
 323 CHK_UNCHECKED 
= _controls_
.CHK_UNCHECKED
 
 324 CHK_CHECKED 
= _controls_
.CHK_CHECKED
 
 325 CHK_UNDETERMINED 
= _controls_
.CHK_UNDETERMINED
 
 326 class CheckBox(_core
.Control
): 
 328     A checkbox is a labelled box which by default is either on (the 
 329     checkmark is visible) or off (no checkmark). Optionally (When the 
 330     wx.CHK_3STATE style flag is set) it can have a third state, called the 
 331     mixed or undetermined state. Often this is used as a "Does Not 
 334     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 335     __repr__ 
= _swig_repr
 
 336     def __init__(self
, *args
, **kwargs
):  
 338         __init__(self, Window parent, int id=-1, String label=EmptyString,  
 339             Point pos=DefaultPosition, Size size=DefaultSize,  
 340             long style=0, Validator validator=DefaultValidator,  
 341             String name=CheckBoxNameStr) -> CheckBox 
 343         Creates and shows a CheckBox control 
 345         _controls_
.CheckBox_swiginit(self
,_controls_
.new_CheckBox(*args
, **kwargs
)) 
 346         self
._setOORInfo
(self
) 
 348     def Create(*args
, **kwargs
): 
 350         Create(self, Window parent, int id=-1, String label=EmptyString,  
 351             Point pos=DefaultPosition, Size size=DefaultSize,  
 352             long style=0, Validator validator=DefaultValidator,  
 353             String name=CheckBoxNameStr) -> bool 
 355         Actually create the GUI CheckBox for 2-phase creation. 
 357         return _controls_
.CheckBox_Create(*args
, **kwargs
) 
 359     def GetValue(*args
, **kwargs
): 
 361         GetValue(self) -> bool 
 363         Gets the state of a 2-state CheckBox.  Returns True if it is checked, 
 366         return _controls_
.CheckBox_GetValue(*args
, **kwargs
) 
 368     def IsChecked(*args
, **kwargs
): 
 370         IsChecked(self) -> bool 
 372         Similar to GetValue, but raises an exception if it is not a 2-state 
 375         return _controls_
.CheckBox_IsChecked(*args
, **kwargs
) 
 377     def SetValue(*args
, **kwargs
): 
 379         SetValue(self, bool state) 
 381         Set the state of a 2-state CheckBox.  Pass True for checked, False for 
 384         return _controls_
.CheckBox_SetValue(*args
, **kwargs
) 
 386     def Get3StateValue(*args
, **kwargs
): 
 388         Get3StateValue(self) -> int 
 390         Returns wx.CHK_UNCHECKED when the CheckBox is unchecked, 
 391         wx.CHK_CHECKED when it is checked and wx.CHK_UNDETERMINED when it's in 
 392         the undetermined state.  Raises an exceptiion when the function is 
 393         used with a 2-state CheckBox. 
 395         return _controls_
.CheckBox_Get3StateValue(*args
, **kwargs
) 
 397     def Set3StateValue(*args
, **kwargs
): 
 399         Set3StateValue(self, int state) 
 401         Sets the CheckBox to the given state.  The state parameter can be one 
 402         of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED (the 
 403         Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an 
 404         exception when the CheckBox is a 2-state checkbox and setting the 
 405         state to wx.CHK_UNDETERMINED. 
 407         return _controls_
.CheckBox_Set3StateValue(*args
, **kwargs
) 
 409     def Is3State(*args
, **kwargs
): 
 411         Is3State(self) -> bool 
 413         Returns whether or not the CheckBox is a 3-state CheckBox. 
 415         return _controls_
.CheckBox_Is3State(*args
, **kwargs
) 
 417     def Is3rdStateAllowedForUser(*args
, **kwargs
): 
 419         Is3rdStateAllowedForUser(self) -> bool 
 421         Returns whether or not the user can set the CheckBox to the third 
 424         return _controls_
.CheckBox_Is3rdStateAllowedForUser(*args
, **kwargs
) 
 426     def GetClassDefaultAttributes(*args
, **kwargs
): 
 428         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 430         Get the default attributes for this class.  This is useful if you want 
 431         to use the same font or colour in your own control as in a standard 
 432         control -- which is a much better idea than hard coding specific 
 433         colours or fonts which might look completely out of place on the 
 434         user's system, especially if it uses themes. 
 436         The variant parameter is only relevant under Mac currently and is 
 437         ignore under other platforms. Under Mac, it will change the size of 
 438         the returned font. See `wx.Window.SetWindowVariant` for more about 
 441         return _controls_
.CheckBox_GetClassDefaultAttributes(*args
, **kwargs
) 
 443     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
 444     ThreeStateValue 
= property(Get3StateValue
,Set3StateValue
,doc
="See `Get3StateValue` and `Set3StateValue`")  
 445     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
 446 _controls_
.CheckBox_swigregister(CheckBox
) 
 447 CheckBoxNameStr 
= cvar
.CheckBoxNameStr
 
 449 def PreCheckBox(*args
, **kwargs
): 
 451     PreCheckBox() -> CheckBox 
 453     Precreate a CheckBox for 2-phase creation. 
 455     val 
= _controls_
.new_PreCheckBox(*args
, **kwargs
) 
 458 def CheckBox_GetClassDefaultAttributes(*args
, **kwargs
): 
 460     CheckBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 462     Get the default attributes for this class.  This is useful if you want 
 463     to use the same font or colour in your own control as in a standard 
 464     control -- which is a much better idea than hard coding specific 
 465     colours or fonts which might look completely out of place on the 
 466     user's system, especially if it uses themes. 
 468     The variant parameter is only relevant under Mac currently and is 
 469     ignore under other platforms. Under Mac, it will change the size of 
 470     the returned font. See `wx.Window.SetWindowVariant` for more about 
 473   return _controls_
.CheckBox_GetClassDefaultAttributes(*args
, **kwargs
) 
 475 #--------------------------------------------------------------------------- 
 477 class Choice(_core
.ControlWithItems
): 
 479     A Choice control is used to select one of a list of strings. 
 480     Unlike a `wx.ListBox`, only the selection is visible until the 
 481     user pulls down the menu of choices. 
 483     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 484     __repr__ 
= _swig_repr
 
 485     def __init__(self
, *args
, **kwargs
):  
 487         __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, 
 488             List choices=EmptyList, long style=0, Validator validator=DefaultValidator, 
 489             String name=ChoiceNameStr) -> Choice 
 491         Create and show a Choice control 
 493         _controls_
.Choice_swiginit(self
,_controls_
.new_Choice(*args
, **kwargs
)) 
 494         self
._setOORInfo
(self
) 
 496     def Create(*args
, **kwargs
): 
 498         Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, 
 499             List choices=EmptyList, long style=0, Validator validator=DefaultValidator, 
 500             String name=ChoiceNameStr) -> bool 
 502         Actually create the GUI Choice control for 2-phase creation 
 504         return _controls_
.Choice_Create(*args
, **kwargs
) 
 506     def GetCurrentSelection(*args
, **kwargs
): 
 508         GetCurrentSelection(self) -> int 
 510         Unlike `GetSelection` which only returns the accepted selection value, 
 511         i.e. the selection in the control once the user closes the dropdown 
 512         list, this function returns the current selection.  That is, while the 
 513         dropdown list is shown, it returns the currently selected item in 
 514         it. When it is not shown, its result is the same as for the other 
 517         return _controls_
.Choice_GetCurrentSelection(*args
, **kwargs
) 
 519     def GetClassDefaultAttributes(*args
, **kwargs
): 
 521         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 523         Get the default attributes for this class.  This is useful if you want 
 524         to use the same font or colour in your own control as in a standard 
 525         control -- which is a much better idea than hard coding specific 
 526         colours or fonts which might look completely out of place on the 
 527         user's system, especially if it uses themes. 
 529         The variant parameter is only relevant under Mac currently and is 
 530         ignore under other platforms. Under Mac, it will change the size of 
 531         the returned font. See `wx.Window.SetWindowVariant` for more about 
 534         return _controls_
.Choice_GetClassDefaultAttributes(*args
, **kwargs
) 
 536     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
 537     CurrentSelection 
= property(GetCurrentSelection
,doc
="See `GetCurrentSelection`")  
 538 _controls_
.Choice_swigregister(Choice
) 
 539 ChoiceNameStr 
= cvar
.ChoiceNameStr
 
 541 def PreChoice(*args
, **kwargs
): 
 543     PreChoice() -> Choice 
 545     Precreate a Choice control for 2-phase creation. 
 547     val 
= _controls_
.new_PreChoice(*args
, **kwargs
) 
 550 def Choice_GetClassDefaultAttributes(*args
, **kwargs
): 
 552     Choice_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 554     Get the default attributes for this class.  This is useful if you want 
 555     to use the same font or colour in your own control as in a standard 
 556     control -- which is a much better idea than hard coding specific 
 557     colours or fonts which might look completely out of place on the 
 558     user's system, especially if it uses themes. 
 560     The variant parameter is only relevant under Mac currently and is 
 561     ignore under other platforms. Under Mac, it will change the size of 
 562     the returned font. See `wx.Window.SetWindowVariant` for more about 
 565   return _controls_
.Choice_GetClassDefaultAttributes(*args
, **kwargs
) 
 567 #--------------------------------------------------------------------------- 
 569 class ComboBox(_core
.Control
,_core
.ItemContainer
): 
 571     A combobox is like a combination of an edit control and a 
 572     listbox. It can be displayed as static list with editable or 
 573     read-only text field; or a drop-down list with text field. 
 575     A combobox permits a single selection only. Combobox items are 
 578     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 579     __repr__ 
= _swig_repr
 
 580     def __init__(self
, *args
, **kwargs
):  
 582         __init__(Window parent, int id=-1, String value=EmptyString, 
 583             Point pos=DefaultPosition, Size size=DefaultSize, 
 584             List choices=EmptyList, long style=0, Validator validator=DefaultValidator, 
 585             String name=ComboBoxNameStr) -> ComboBox 
 587         Constructor, creates and shows a ComboBox control. 
 589         _controls_
.ComboBox_swiginit(self
,_controls_
.new_ComboBox(*args
, **kwargs
)) 
 590         self
._setOORInfo
(self
) 
 592     def Create(*args
, **kwargs
): 
 594         Create(Window parent, int id=-1, String value=EmptyString, 
 595             Point pos=DefaultPosition, Size size=DefaultSize, 
 596             List choices=EmptyList, long style=0, Validator validator=DefaultValidator, 
 597             String name=ChoiceNameStr) -> bool 
 599         Actually create the GUI wxComboBox control for 2-phase creation 
 601         return _controls_
.ComboBox_Create(*args
, **kwargs
) 
 603     def GetValue(*args
, **kwargs
): 
 605         GetValue(self) -> String 
 607         Returns the current value in the combobox text field. 
 609         return _controls_
.ComboBox_GetValue(*args
, **kwargs
) 
 611     def SetValue(*args
, **kwargs
): 
 612         """SetValue(self, String value)""" 
 613         return _controls_
.ComboBox_SetValue(*args
, **kwargs
) 
 615     def Copy(*args
, **kwargs
): 
 619         Copies the selected text to the clipboard. 
 621         return _controls_
.ComboBox_Copy(*args
, **kwargs
) 
 623     def Cut(*args
, **kwargs
): 
 627         Copies the selected text to the clipboard and removes the selection. 
 629         return _controls_
.ComboBox_Cut(*args
, **kwargs
) 
 631     def Paste(*args
, **kwargs
): 
 635         Pastes text from the clipboard to the text field. 
 637         return _controls_
.ComboBox_Paste(*args
, **kwargs
) 
 639     def SetInsertionPoint(*args
, **kwargs
): 
 641         SetInsertionPoint(self, long pos) 
 643         Sets the insertion point in the combobox text field. 
 645         return _controls_
.ComboBox_SetInsertionPoint(*args
, **kwargs
) 
 647     def GetInsertionPoint(*args
, **kwargs
): 
 649         GetInsertionPoint(self) -> long 
 651         Returns the insertion point for the combobox's text field. 
 653         return _controls_
.ComboBox_GetInsertionPoint(*args
, **kwargs
) 
 655     def GetLastPosition(*args
, **kwargs
): 
 657         GetLastPosition(self) -> long 
 659         Returns the last position in the combobox text field. 
 661         return _controls_
.ComboBox_GetLastPosition(*args
, **kwargs
) 
 663     def Replace(*args
, **kwargs
): 
 665         Replace(self, long from, long to, String value) 
 667         Replaces the text between two positions with the given text, in the 
 670         return _controls_
.ComboBox_Replace(*args
, **kwargs
) 
 672     def SetMark(*args
, **kwargs
): 
 674         SetMark(self, long from, long to) 
 676         Selects the text between the two positions in the combobox text field. 
 678         return _controls_
.ComboBox_SetMark(*args
, **kwargs
) 
 680     def GetMark(*args
, **kwargs
): 
 682         GetMark(self) -> (from, to) 
 684         Gets the positions of the begining and ending of the selection mark in 
 685         the combobox text field. 
 687         return _controls_
.ComboBox_GetMark(*args
, **kwargs
) 
 689     def GetCurrentSelection(*args
, **kwargs
): 
 691         GetCurrentSelection(self) -> int 
 693         Unlike `GetSelection` which only returns the accepted selection value, 
 694         i.e. the selection in the control once the user closes the dropdown 
 695         list, this function returns the current selection.  That is, while the 
 696         dropdown list is shown, it returns the currently selected item in 
 697         it. When it is not shown, its result is the same as for the other 
 700         return _controls_
.ComboBox_GetCurrentSelection(*args
, **kwargs
) 
 702     def SetStringSelection(*args
, **kwargs
): 
 704         SetStringSelection(self, String string) -> bool 
 706         Select the item with the specifed string 
 708         return _controls_
.ComboBox_SetStringSelection(*args
, **kwargs
) 
 710     def SetEditable(*args
, **kwargs
): 
 711         """SetEditable(self, bool editable)""" 
 712         return _controls_
.ComboBox_SetEditable(*args
, **kwargs
) 
 714     def SetInsertionPointEnd(*args
, **kwargs
): 
 716         SetInsertionPointEnd(self) 
 718         Sets the insertion point at the end of the combobox text field. 
 720         return _controls_
.ComboBox_SetInsertionPointEnd(*args
, **kwargs
) 
 722     def Remove(*args
, **kwargs
): 
 724         Remove(self, long from, long to) 
 726         Removes the text between the two positions in the combobox text field. 
 728         return _controls_
.ComboBox_Remove(*args
, **kwargs
) 
 730     def IsEditable(*args
, **kwargs
): 
 732         IsEditable(self) -> bool 
 734         Returns True if the combo is ediatable (not read-only.) 
 736         return _controls_
.ComboBox_IsEditable(*args
, **kwargs
) 
 738     def Undo(*args
, **kwargs
): 
 742         Redoes the last undo in the text field. Windows only. 
 744         return _controls_
.ComboBox_Undo(*args
, **kwargs
) 
 746     def Redo(*args
, **kwargs
): 
 750         Undoes the last edit in the text field. Windows only. 
 752         return _controls_
.ComboBox_Redo(*args
, **kwargs
) 
 754     def SelectAll(*args
, **kwargs
): 
 758         Select all the text in the combo's text field. 
 760         return _controls_
.ComboBox_SelectAll(*args
, **kwargs
) 
 762     def CanCopy(*args
, **kwargs
): 
 764         CanCopy(self) -> bool 
 766         Returns True if the combobox is editable and there is a text selection 
 767         to copy to the clipboard.  Only available on Windows. 
 769         return _controls_
.ComboBox_CanCopy(*args
, **kwargs
) 
 771     def CanCut(*args
, **kwargs
): 
 775         Returns True if the combobox is editable and there is a text selection 
 776         to copy to the clipboard.  Only available on Windows. 
 778         return _controls_
.ComboBox_CanCut(*args
, **kwargs
) 
 780     def CanPaste(*args
, **kwargs
): 
 782         CanPaste(self) -> bool 
 784         Returns True if the combobox is editable and there is text on the 
 785         clipboard that can be pasted into the text field. Only available on 
 788         return _controls_
.ComboBox_CanPaste(*args
, **kwargs
) 
 790     def CanUndo(*args
, **kwargs
): 
 792         CanUndo(self) -> bool 
 794         Returns True if the combobox is editable and the last edit can be 
 795         undone.  Only available on Windows. 
 797         return _controls_
.ComboBox_CanUndo(*args
, **kwargs
) 
 799     def CanRedo(*args
, **kwargs
): 
 801         CanRedo(self) -> bool 
 803         Returns True if the combobox is editable and the last undo can be 
 804         redone.  Only available on Windows. 
 806         return _controls_
.ComboBox_CanRedo(*args
, **kwargs
) 
 808     def GetClassDefaultAttributes(*args
, **kwargs
): 
 810         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 812         Get the default attributes for this class.  This is useful if you want 
 813         to use the same font or colour in your own control as in a standard 
 814         control -- which is a much better idea than hard coding specific 
 815         colours or fonts which might look completely out of place on the 
 816         user's system, especially if it uses themes. 
 818         The variant parameter is only relevant under Mac currently and is 
 819         ignore under other platforms. Under Mac, it will change the size of 
 820         the returned font. See `wx.Window.SetWindowVariant` for more about 
 823         return _controls_
.ComboBox_GetClassDefaultAttributes(*args
, **kwargs
) 
 825     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
 826     CurrentSelection 
= property(GetCurrentSelection
,doc
="See `GetCurrentSelection`")  
 827     InsertionPoint 
= property(GetInsertionPoint
,SetInsertionPoint
,doc
="See `GetInsertionPoint` and `SetInsertionPoint`")  
 828     LastPosition 
= property(GetLastPosition
,doc
="See `GetLastPosition`")  
 829     Mark 
= property(GetMark
,SetMark
,doc
="See `GetMark` and `SetMark`")  
 830     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
 831 _controls_
.ComboBox_swigregister(ComboBox
) 
 832 ComboBoxNameStr 
= cvar
.ComboBoxNameStr
 
 834 def PreComboBox(*args
, **kwargs
): 
 836     PreComboBox() -> ComboBox 
 838     Precreate a ComboBox control for 2-phase creation. 
 840     val 
= _controls_
.new_PreComboBox(*args
, **kwargs
) 
 843 def ComboBox_GetClassDefaultAttributes(*args
, **kwargs
): 
 845     ComboBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 847     Get the default attributes for this class.  This is useful if you want 
 848     to use the same font or colour in your own control as in a standard 
 849     control -- which is a much better idea than hard coding specific 
 850     colours or fonts which might look completely out of place on the 
 851     user's system, especially if it uses themes. 
 853     The variant parameter is only relevant under Mac currently and is 
 854     ignore under other platforms. Under Mac, it will change the size of 
 855     the returned font. See `wx.Window.SetWindowVariant` for more about 
 858   return _controls_
.ComboBox_GetClassDefaultAttributes(*args
, **kwargs
) 
 860 #--------------------------------------------------------------------------- 
 862 GA_HORIZONTAL 
= _controls_
.GA_HORIZONTAL
 
 863 GA_VERTICAL 
= _controls_
.GA_VERTICAL
 
 864 GA_SMOOTH 
= _controls_
.GA_SMOOTH
 
 865 GA_PROGRESSBAR 
= 0 # obsolete  
 866 class Gauge(_core
.Control
): 
 867     """Proxy of C++ Gauge class""" 
 868     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 869     __repr__ 
= _swig_repr
 
 870     def __init__(self
, *args
, **kwargs
):  
 872         __init__(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition,  
 873             Size size=DefaultSize, long style=GA_HORIZONTAL,  
 874             Validator validator=DefaultValidator,  
 875             String name=GaugeNameStr) -> Gauge 
 877         _controls_
.Gauge_swiginit(self
,_controls_
.new_Gauge(*args
, **kwargs
)) 
 878         self
._setOORInfo
(self
) 
 880     def Create(*args
, **kwargs
): 
 882         Create(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition,  
 883             Size size=DefaultSize, long style=GA_HORIZONTAL,  
 884             Validator validator=DefaultValidator,  
 885             String name=GaugeNameStr) -> bool 
 887         return _controls_
.Gauge_Create(*args
, **kwargs
) 
 889     def SetRange(*args
, **kwargs
): 
 890         """SetRange(self, int range)""" 
 891         return _controls_
.Gauge_SetRange(*args
, **kwargs
) 
 893     def GetRange(*args
, **kwargs
): 
 894         """GetRange(self) -> int""" 
 895         return _controls_
.Gauge_GetRange(*args
, **kwargs
) 
 897     def SetValue(*args
, **kwargs
): 
 898         """SetValue(self, int pos)""" 
 899         return _controls_
.Gauge_SetValue(*args
, **kwargs
) 
 901     def GetValue(*args
, **kwargs
): 
 902         """GetValue(self) -> int""" 
 903         return _controls_
.Gauge_GetValue(*args
, **kwargs
) 
 905     def Pulse(*args
, **kwargs
): 
 907         return _controls_
.Gauge_Pulse(*args
, **kwargs
) 
 909     def IsVertical(*args
, **kwargs
): 
 910         """IsVertical(self) -> bool""" 
 911         return _controls_
.Gauge_IsVertical(*args
, **kwargs
) 
 913     def SetShadowWidth(*args
, **kwargs
): 
 914         """SetShadowWidth(self, int w)""" 
 915         return _controls_
.Gauge_SetShadowWidth(*args
, **kwargs
) 
 917     def GetShadowWidth(*args
, **kwargs
): 
 918         """GetShadowWidth(self) -> int""" 
 919         return _controls_
.Gauge_GetShadowWidth(*args
, **kwargs
) 
 921     def SetBezelFace(*args
, **kwargs
): 
 922         """SetBezelFace(self, int w)""" 
 923         return _controls_
.Gauge_SetBezelFace(*args
, **kwargs
) 
 925     def GetBezelFace(*args
, **kwargs
): 
 926         """GetBezelFace(self) -> int""" 
 927         return _controls_
.Gauge_GetBezelFace(*args
, **kwargs
) 
 929     def GetClassDefaultAttributes(*args
, **kwargs
): 
 931         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 933         Get the default attributes for this class.  This is useful if you want 
 934         to use the same font or colour in your own control as in a standard 
 935         control -- which is a much better idea than hard coding specific 
 936         colours or fonts which might look completely out of place on the 
 937         user's system, especially if it uses themes. 
 939         The variant parameter is only relevant under Mac currently and is 
 940         ignore under other platforms. Under Mac, it will change the size of 
 941         the returned font. See `wx.Window.SetWindowVariant` for more about 
 944         return _controls_
.Gauge_GetClassDefaultAttributes(*args
, **kwargs
) 
 946     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
 947     BezelFace 
= property(GetBezelFace
,SetBezelFace
,doc
="See `GetBezelFace` and `SetBezelFace`")  
 948     Range 
= property(GetRange
,SetRange
,doc
="See `GetRange` and `SetRange`")  
 949     ShadowWidth 
= property(GetShadowWidth
,SetShadowWidth
,doc
="See `GetShadowWidth` and `SetShadowWidth`")  
 950     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
 951 _controls_
.Gauge_swigregister(Gauge
) 
 952 GaugeNameStr 
= cvar
.GaugeNameStr
 
 954 def PreGauge(*args
, **kwargs
): 
 955     """PreGauge() -> Gauge""" 
 956     val 
= _controls_
.new_PreGauge(*args
, **kwargs
) 
 959 def Gauge_GetClassDefaultAttributes(*args
, **kwargs
): 
 961     Gauge_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
 963     Get the default attributes for this class.  This is useful if you want 
 964     to use the same font or colour in your own control as in a standard 
 965     control -- which is a much better idea than hard coding specific 
 966     colours or fonts which might look completely out of place on the 
 967     user's system, especially if it uses themes. 
 969     The variant parameter is only relevant under Mac currently and is 
 970     ignore under other platforms. Under Mac, it will change the size of 
 971     the returned font. See `wx.Window.SetWindowVariant` for more about 
 974   return _controls_
.Gauge_GetClassDefaultAttributes(*args
, **kwargs
) 
 976 #--------------------------------------------------------------------------- 
 978 class StaticBox(_core
.Control
): 
 979     """Proxy of C++ StaticBox class""" 
 980     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
 981     __repr__ 
= _swig_repr
 
 982     def __init__(self
, *args
, **kwargs
):  
 984         __init__(self, Window parent, int id=-1, String label=EmptyString,  
 985             Point pos=DefaultPosition, Size size=DefaultSize,  
 986             long style=0, String name=StaticBoxNameStr) -> StaticBox 
 988         _controls_
.StaticBox_swiginit(self
,_controls_
.new_StaticBox(*args
, **kwargs
)) 
 989         self
._setOORInfo
(self
) 
 991     def Create(*args
, **kwargs
): 
 993         Create(self, Window parent, int id=-1, String label=EmptyString,  
 994             Point pos=DefaultPosition, Size size=DefaultSize,  
 995             long style=0, String name=StaticBoxNameStr) -> bool 
 997         return _controls_
.StaticBox_Create(*args
, **kwargs
) 
 999     def GetClassDefaultAttributes(*args
, **kwargs
): 
1001         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1003         Get the default attributes for this class.  This is useful if you want 
1004         to use the same font or colour in your own control as in a standard 
1005         control -- which is a much better idea than hard coding specific 
1006         colours or fonts which might look completely out of place on the 
1007         user's system, especially if it uses themes. 
1009         The variant parameter is only relevant under Mac currently and is 
1010         ignore under other platforms. Under Mac, it will change the size of 
1011         the returned font. See `wx.Window.SetWindowVariant` for more about 
1014         return _controls_
.StaticBox_GetClassDefaultAttributes(*args
, **kwargs
) 
1016     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
1017 _controls_
.StaticBox_swigregister(StaticBox
) 
1018 StaticBitmapNameStr 
= cvar
.StaticBitmapNameStr
 
1019 StaticBoxNameStr 
= cvar
.StaticBoxNameStr
 
1020 StaticTextNameStr 
= cvar
.StaticTextNameStr
 
1021 StaticLineNameStr 
= cvar
.StaticLineNameStr
 
1023 def PreStaticBox(*args
, **kwargs
): 
1024     """PreStaticBox() -> StaticBox""" 
1025     val 
= _controls_
.new_PreStaticBox(*args
, **kwargs
) 
1028 def StaticBox_GetClassDefaultAttributes(*args
, **kwargs
): 
1030     StaticBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1032     Get the default attributes for this class.  This is useful if you want 
1033     to use the same font or colour in your own control as in a standard 
1034     control -- which is a much better idea than hard coding specific 
1035     colours or fonts which might look completely out of place on the 
1036     user's system, especially if it uses themes. 
1038     The variant parameter is only relevant under Mac currently and is 
1039     ignore under other platforms. Under Mac, it will change the size of 
1040     the returned font. See `wx.Window.SetWindowVariant` for more about 
1043   return _controls_
.StaticBox_GetClassDefaultAttributes(*args
, **kwargs
) 
1045 #--------------------------------------------------------------------------- 
1047 class StaticLine(_core
.Control
): 
1048     """Proxy of C++ StaticLine class""" 
1049     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1050     __repr__ 
= _swig_repr
 
1051     def __init__(self
, *args
, **kwargs
):  
1053         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
1054             Size size=DefaultSize, long style=LI_HORIZONTAL,  
1055             String name=StaticLineNameStr) -> StaticLine 
1057         _controls_
.StaticLine_swiginit(self
,_controls_
.new_StaticLine(*args
, **kwargs
)) 
1058         self
._setOORInfo
(self
) 
1060     def Create(*args
, **kwargs
): 
1062         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
1063             Size size=DefaultSize, long style=LI_HORIZONTAL,  
1064             String name=StaticLineNameStr) -> bool 
1066         return _controls_
.StaticLine_Create(*args
, **kwargs
) 
1068     def IsVertical(*args
, **kwargs
): 
1069         """IsVertical(self) -> bool""" 
1070         return _controls_
.StaticLine_IsVertical(*args
, **kwargs
) 
1072     def GetDefaultSize(*args
, **kwargs
): 
1073         """GetDefaultSize() -> int""" 
1074         return _controls_
.StaticLine_GetDefaultSize(*args
, **kwargs
) 
1076     GetDefaultSize 
= staticmethod(GetDefaultSize
) 
1077     def GetClassDefaultAttributes(*args
, **kwargs
): 
1079         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1081         Get the default attributes for this class.  This is useful if you want 
1082         to use the same font or colour in your own control as in a standard 
1083         control -- which is a much better idea than hard coding specific 
1084         colours or fonts which might look completely out of place on the 
1085         user's system, especially if it uses themes. 
1087         The variant parameter is only relevant under Mac currently and is 
1088         ignore under other platforms. Under Mac, it will change the size of 
1089         the returned font. See `wx.Window.SetWindowVariant` for more about 
1092         return _controls_
.StaticLine_GetClassDefaultAttributes(*args
, **kwargs
) 
1094     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
1095 _controls_
.StaticLine_swigregister(StaticLine
) 
1097 def PreStaticLine(*args
, **kwargs
): 
1098     """PreStaticLine() -> StaticLine""" 
1099     val 
= _controls_
.new_PreStaticLine(*args
, **kwargs
) 
1102 def StaticLine_GetDefaultSize(*args
): 
1103   """StaticLine_GetDefaultSize() -> int""" 
1104   return _controls_
.StaticLine_GetDefaultSize(*args
) 
1106 def StaticLine_GetClassDefaultAttributes(*args
, **kwargs
): 
1108     StaticLine_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1110     Get the default attributes for this class.  This is useful if you want 
1111     to use the same font or colour in your own control as in a standard 
1112     control -- which is a much better idea than hard coding specific 
1113     colours or fonts which might look completely out of place on the 
1114     user's system, especially if it uses themes. 
1116     The variant parameter is only relevant under Mac currently and is 
1117     ignore under other platforms. Under Mac, it will change the size of 
1118     the returned font. See `wx.Window.SetWindowVariant` for more about 
1121   return _controls_
.StaticLine_GetClassDefaultAttributes(*args
, **kwargs
) 
1123 #--------------------------------------------------------------------------- 
1125 ST_NO_AUTORESIZE 
= _controls_
.ST_NO_AUTORESIZE
 
1126 ST_MARKUP 
= _controls_
.ST_MARKUP
 
1127 ST_ELLIPSIZE_START 
= _controls_
.ST_ELLIPSIZE_START
 
1128 ST_ELLIPSIZE_MIDDLE 
= _controls_
.ST_ELLIPSIZE_MIDDLE
 
1129 ST_ELLIPSIZE_END 
= _controls_
.ST_ELLIPSIZE_END
 
1130 class StaticText(_core
.Control
): 
1131     """Proxy of C++ StaticText class""" 
1132     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1133     __repr__ 
= _swig_repr
 
1134     def __init__(self
, *args
, **kwargs
):  
1136         __init__(self, Window parent, int id=-1, String label=EmptyString,  
1137             Point pos=DefaultPosition, Size size=DefaultSize,  
1138             long style=0, String name=StaticTextNameStr) -> StaticText 
1140         _controls_
.StaticText_swiginit(self
,_controls_
.new_StaticText(*args
, **kwargs
)) 
1141         self
._setOORInfo
(self
) 
1143     def Create(*args
, **kwargs
): 
1145         Create(self, Window parent, int id=-1, String label=EmptyString,  
1146             Point pos=DefaultPosition, Size size=DefaultSize,  
1147             long style=0, String name=StaticTextNameStr) -> bool 
1149         return _controls_
.StaticText_Create(*args
, **kwargs
) 
1151     def Wrap(*args
, **kwargs
): 
1153         Wrap(self, int width) 
1155         This functions wraps the control's label so that each of its lines 
1156         becomes at most ``width`` pixels wide if possible (the lines are 
1157         broken at words boundaries so it might not be the case if words are 
1158         too long). If ``width`` is negative, no wrapping is done. 
1160         return _controls_
.StaticText_Wrap(*args
, **kwargs
) 
1162     def IsEllipsized(*args
, **kwargs
): 
1163         """IsEllipsized(self) -> bool""" 
1164         return _controls_
.StaticText_IsEllipsized(*args
, **kwargs
) 
1166     def RemoveMarkup(*args
, **kwargs
): 
1168         RemoveMarkup(String str) -> String 
1170         Removes the markup accepted by wx.StaticText when wx.ST_MARKUP is 
1171         used, and then returns the cleaned string. 
1174         return _controls_
.StaticText_RemoveMarkup(*args
, **kwargs
) 
1176     RemoveMarkup 
= staticmethod(RemoveMarkup
) 
1177     def EscapeMarkup(*args
, **kwargs
): 
1179         EscapeMarkup(String str) -> String 
1181         Escapes the alls special symbols (<>"'&) present inside the given 
1182         string using the corresponding entities (< > " ' 
1185         return _controls_
.StaticText_EscapeMarkup(*args
, **kwargs
) 
1187     EscapeMarkup 
= staticmethod(EscapeMarkup
) 
1188     def GetClassDefaultAttributes(*args
, **kwargs
): 
1190         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1192         Get the default attributes for this class.  This is useful if you want 
1193         to use the same font or colour in your own control as in a standard 
1194         control -- which is a much better idea than hard coding specific 
1195         colours or fonts which might look completely out of place on the 
1196         user's system, especially if it uses themes. 
1198         The variant parameter is only relevant under Mac currently and is 
1199         ignore under other platforms. Under Mac, it will change the size of 
1200         the returned font. See `wx.Window.SetWindowVariant` for more about 
1203         return _controls_
.StaticText_GetClassDefaultAttributes(*args
, **kwargs
) 
1205     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
1206 _controls_
.StaticText_swigregister(StaticText
) 
1208 def PreStaticText(*args
, **kwargs
): 
1209     """PreStaticText() -> StaticText""" 
1210     val 
= _controls_
.new_PreStaticText(*args
, **kwargs
) 
1213 def StaticText_RemoveMarkup(*args
, **kwargs
): 
1215     StaticText_RemoveMarkup(String str) -> String 
1217     Removes the markup accepted by wx.StaticText when wx.ST_MARKUP is 
1218     used, and then returns the cleaned string. 
1221   return _controls_
.StaticText_RemoveMarkup(*args
, **kwargs
) 
1223 def StaticText_EscapeMarkup(*args
, **kwargs
): 
1225     StaticText_EscapeMarkup(String str) -> String 
1227     Escapes the alls special symbols (<>"'&) present inside the given 
1228     string using the corresponding entities (< > " ' 
1231   return _controls_
.StaticText_EscapeMarkup(*args
, **kwargs
) 
1233 def StaticText_GetClassDefaultAttributes(*args
, **kwargs
): 
1235     StaticText_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1237     Get the default attributes for this class.  This is useful if you want 
1238     to use the same font or colour in your own control as in a standard 
1239     control -- which is a much better idea than hard coding specific 
1240     colours or fonts which might look completely out of place on the 
1241     user's system, especially if it uses themes. 
1243     The variant parameter is only relevant under Mac currently and is 
1244     ignore under other platforms. Under Mac, it will change the size of 
1245     the returned font. See `wx.Window.SetWindowVariant` for more about 
1248   return _controls_
.StaticText_GetClassDefaultAttributes(*args
, **kwargs
) 
1250 #--------------------------------------------------------------------------- 
1252 class StaticBitmap(_core
.Control
): 
1253     """Proxy of C++ StaticBitmap class""" 
1254     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1255     __repr__ 
= _swig_repr
 
1256     def __init__(self
, *args
, **kwargs
):  
1258         __init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,  
1259             Point pos=DefaultPosition, Size size=DefaultSize,  
1260             long style=0, String name=StaticBitmapNameStr) -> StaticBitmap 
1262         _controls_
.StaticBitmap_swiginit(self
,_controls_
.new_StaticBitmap(*args
, **kwargs
)) 
1263         self
._setOORInfo
(self
) 
1265     def Create(*args
, **kwargs
): 
1267         Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap,  
1268             Point pos=DefaultPosition, Size size=DefaultSize,  
1269             long style=0, String name=StaticBitmapNameStr) -> bool 
1271         return _controls_
.StaticBitmap_Create(*args
, **kwargs
) 
1273     def GetBitmap(*args
, **kwargs
): 
1274         """GetBitmap(self) -> Bitmap""" 
1275         return _controls_
.StaticBitmap_GetBitmap(*args
, **kwargs
) 
1277     def SetBitmap(*args
, **kwargs
): 
1278         """SetBitmap(self, Bitmap bitmap)""" 
1279         return _controls_
.StaticBitmap_SetBitmap(*args
, **kwargs
) 
1281     def SetIcon(*args
, **kwargs
): 
1282         """SetIcon(self, Icon icon)""" 
1283         return _controls_
.StaticBitmap_SetIcon(*args
, **kwargs
) 
1285     def GetClassDefaultAttributes(*args
, **kwargs
): 
1287         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1289         Get the default attributes for this class.  This is useful if you want 
1290         to use the same font or colour in your own control as in a standard 
1291         control -- which is a much better idea than hard coding specific 
1292         colours or fonts which might look completely out of place on the 
1293         user's system, especially if it uses themes. 
1295         The variant parameter is only relevant under Mac currently and is 
1296         ignore under other platforms. Under Mac, it will change the size of 
1297         the returned font. See `wx.Window.SetWindowVariant` for more about 
1300         return _controls_
.StaticBitmap_GetClassDefaultAttributes(*args
, **kwargs
) 
1302     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
1303 _controls_
.StaticBitmap_swigregister(StaticBitmap
) 
1305 def PreStaticBitmap(*args
, **kwargs
): 
1306     """PreStaticBitmap() -> StaticBitmap""" 
1307     val 
= _controls_
.new_PreStaticBitmap(*args
, **kwargs
) 
1310 def StaticBitmap_GetClassDefaultAttributes(*args
, **kwargs
): 
1312     StaticBitmap_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1314     Get the default attributes for this class.  This is useful if you want 
1315     to use the same font or colour in your own control as in a standard 
1316     control -- which is a much better idea than hard coding specific 
1317     colours or fonts which might look completely out of place on the 
1318     user's system, especially if it uses themes. 
1320     The variant parameter is only relevant under Mac currently and is 
1321     ignore under other platforms. Under Mac, it will change the size of 
1322     the returned font. See `wx.Window.SetWindowVariant` for more about 
1325   return _controls_
.StaticBitmap_GetClassDefaultAttributes(*args
, **kwargs
) 
1327 #--------------------------------------------------------------------------- 
1329 class ListBox(_core
.ControlWithItems
): 
1330     """Proxy of C++ ListBox class""" 
1331     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1332     __repr__ 
= _swig_repr
 
1333     def __init__(self
, *args
, **kwargs
):  
1335         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
1336             Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,  
1337             long style=0, Validator validator=DefaultValidator,  
1338             String name=ListBoxNameStr) -> ListBox 
1340         _controls_
.ListBox_swiginit(self
,_controls_
.new_ListBox(*args
, **kwargs
)) 
1341         self
._setOORInfo
(self
) 
1343     def Create(*args
, **kwargs
): 
1345         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
1346             Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,  
1347             long style=0, Validator validator=DefaultValidator,  
1348             String name=ListBoxNameStr) -> bool 
1350         return _controls_
.ListBox_Create(*args
, **kwargs
) 
1352     def Insert(*args
, **kwargs
): 
1354         Insert(self, String item, int pos, PyObject clientData=None) 
1356         Insert an item into the control before the item at the ``pos`` index, 
1357         optionally associating some data object with the item. 
1359         return _controls_
.ListBox_Insert(*args
, **kwargs
) 
1361     def InsertItems(*args
, **kwargs
): 
1362         """InsertItems(self, wxArrayString items, unsigned int pos)""" 
1363         return _controls_
.ListBox_InsertItems(*args
, **kwargs
) 
1365     def Set(*args
, **kwargs
): 
1366         """Set(self, wxArrayString items)""" 
1367         return _controls_
.ListBox_Set(*args
, **kwargs
) 
1369     def IsSelected(*args
, **kwargs
): 
1370         """IsSelected(self, int n) -> bool""" 
1371         return _controls_
.ListBox_IsSelected(*args
, **kwargs
) 
1373     def SetSelection(*args
, **kwargs
): 
1374         """SetSelection(self, int n, bool select=True)""" 
1375         return _controls_
.ListBox_SetSelection(*args
, **kwargs
) 
1377     def Select(*args
, **kwargs
): 
1381         This is the same as `SetSelection` and exists only because it is 
1382         slightly more natural for controls which support multiple selection. 
1384         return _controls_
.ListBox_Select(*args
, **kwargs
) 
1386     def Deselect(*args
, **kwargs
): 
1387         """Deselect(self, int n)""" 
1388         return _controls_
.ListBox_Deselect(*args
, **kwargs
) 
1390     def DeselectAll(*args
, **kwargs
): 
1391         """DeselectAll(self, int itemToLeaveSelected=-1)""" 
1392         return _controls_
.ListBox_DeselectAll(*args
, **kwargs
) 
1394     def SetStringSelection(*args
, **kwargs
): 
1395         """SetStringSelection(self, String s, bool select=True) -> bool""" 
1396         return _controls_
.ListBox_SetStringSelection(*args
, **kwargs
) 
1398     def GetSelections(*args
, **kwargs
): 
1399         """GetSelections(self) -> PyObject""" 
1400         return _controls_
.ListBox_GetSelections(*args
, **kwargs
) 
1402     def SetFirstItem(*args
, **kwargs
): 
1403         """SetFirstItem(self, int n)""" 
1404         return _controls_
.ListBox_SetFirstItem(*args
, **kwargs
) 
1406     def SetFirstItemStr(*args
, **kwargs
): 
1407         """SetFirstItemStr(self, String s)""" 
1408         return _controls_
.ListBox_SetFirstItemStr(*args
, **kwargs
) 
1410     def EnsureVisible(*args
, **kwargs
): 
1411         """EnsureVisible(self, int n)""" 
1412         return _controls_
.ListBox_EnsureVisible(*args
, **kwargs
) 
1414     def AppendAndEnsureVisible(*args
, **kwargs
): 
1415         """AppendAndEnsureVisible(self, String s)""" 
1416         return _controls_
.ListBox_AppendAndEnsureVisible(*args
, **kwargs
) 
1418     def IsSorted(*args
, **kwargs
): 
1419         """IsSorted(self) -> bool""" 
1420         return _controls_
.ListBox_IsSorted(*args
, **kwargs
) 
1422     def HitTest(*args
, **kwargs
): 
1424         HitTest(self, Point pt) -> int 
1426         Test where the given (in client coords) point lies 
1428         return _controls_
.ListBox_HitTest(*args
, **kwargs
) 
1430     def SetItemForegroundColour(*args
, **kwargs
): 
1431         """SetItemForegroundColour(self, int item, Colour c)""" 
1432         return _controls_
.ListBox_SetItemForegroundColour(*args
, **kwargs
) 
1434     def SetItemBackgroundColour(*args
, **kwargs
): 
1435         """SetItemBackgroundColour(self, int item, Colour c)""" 
1436         return _controls_
.ListBox_SetItemBackgroundColour(*args
, **kwargs
) 
1438     def SetItemFont(*args
, **kwargs
): 
1439         """SetItemFont(self, int item, Font f)""" 
1440         return _controls_
.ListBox_SetItemFont(*args
, **kwargs
) 
1442     def GetClassDefaultAttributes(*args
, **kwargs
): 
1444         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1446         Get the default attributes for this class.  This is useful if you want 
1447         to use the same font or colour in your own control as in a standard 
1448         control -- which is a much better idea than hard coding specific 
1449         colours or fonts which might look completely out of place on the 
1450         user's system, especially if it uses themes. 
1452         The variant parameter is only relevant under Mac currently and is 
1453         ignore under other platforms. Under Mac, it will change the size of 
1454         the returned font. See `wx.Window.SetWindowVariant` for more about 
1457         return _controls_
.ListBox_GetClassDefaultAttributes(*args
, **kwargs
) 
1459     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
1460     Selections 
= property(GetSelections
,doc
="See `GetSelections`")  
1461 _controls_
.ListBox_swigregister(ListBox
) 
1462 ListBoxNameStr 
= cvar
.ListBoxNameStr
 
1464 def PreListBox(*args
, **kwargs
): 
1465     """PreListBox() -> ListBox""" 
1466     val 
= _controls_
.new_PreListBox(*args
, **kwargs
) 
1469 def ListBox_GetClassDefaultAttributes(*args
, **kwargs
): 
1471     ListBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
1473     Get the default attributes for this class.  This is useful if you want 
1474     to use the same font or colour in your own control as in a standard 
1475     control -- which is a much better idea than hard coding specific 
1476     colours or fonts which might look completely out of place on the 
1477     user's system, especially if it uses themes. 
1479     The variant parameter is only relevant under Mac currently and is 
1480     ignore under other platforms. Under Mac, it will change the size of 
1481     the returned font. See `wx.Window.SetWindowVariant` for more about 
1484   return _controls_
.ListBox_GetClassDefaultAttributes(*args
, **kwargs
) 
1486 #--------------------------------------------------------------------------- 
1488 class CheckListBox(ListBox
): 
1489     """Proxy of C++ CheckListBox class""" 
1490     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1491     __repr__ 
= _swig_repr
 
1492     def __init__(self
, *args
, **kwargs
):  
1494         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
1495             Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,  
1496             long style=0, Validator validator=DefaultValidator,  
1497             String name=ListBoxNameStr) -> CheckListBox 
1499         _controls_
.CheckListBox_swiginit(self
,_controls_
.new_CheckListBox(*args
, **kwargs
)) 
1500         self
._setOORInfo
(self
) 
1502     def Create(*args
, **kwargs
): 
1504         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
1505             Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,  
1506             long style=0, Validator validator=DefaultValidator,  
1507             String name=ListBoxNameStr) -> bool 
1509         return _controls_
.CheckListBox_Create(*args
, **kwargs
) 
1511     def IsChecked(*args
, **kwargs
): 
1512         """IsChecked(self, unsigned int index) -> bool""" 
1513         return _controls_
.CheckListBox_IsChecked(*args
, **kwargs
) 
1515     def Check(*args
, **kwargs
): 
1516         """Check(self, unsigned int index, int check=True)""" 
1517         return _controls_
.CheckListBox_Check(*args
, **kwargs
) 
1519     def GetItemHeight(*args
, **kwargs
): 
1520         """GetItemHeight(self) -> int""" 
1521         return _controls_
.CheckListBox_GetItemHeight(*args
, **kwargs
) 
1523     ItemHeight 
= property(GetItemHeight
,doc
="See `GetItemHeight`")  
1524 _controls_
.CheckListBox_swigregister(CheckListBox
) 
1526 def PreCheckListBox(*args
, **kwargs
): 
1527     """PreCheckListBox() -> CheckListBox""" 
1528     val 
= _controls_
.new_PreCheckListBox(*args
, **kwargs
) 
1531 #--------------------------------------------------------------------------- 
1533 TE_NO_VSCROLL 
= _controls_
.TE_NO_VSCROLL
 
1534 TE_AUTO_SCROLL 
= _controls_
.TE_AUTO_SCROLL
 
1535 TE_READONLY 
= _controls_
.TE_READONLY
 
1536 TE_MULTILINE 
= _controls_
.TE_MULTILINE
 
1537 TE_PROCESS_TAB 
= _controls_
.TE_PROCESS_TAB
 
1538 TE_LEFT 
= _controls_
.TE_LEFT
 
1539 TE_CENTER 
= _controls_
.TE_CENTER
 
1540 TE_RIGHT 
= _controls_
.TE_RIGHT
 
1541 TE_CENTRE 
= _controls_
.TE_CENTRE
 
1542 TE_RICH 
= _controls_
.TE_RICH
 
1543 TE_PROCESS_ENTER 
= _controls_
.TE_PROCESS_ENTER
 
1544 TE_PASSWORD 
= _controls_
.TE_PASSWORD
 
1545 TE_AUTO_URL 
= _controls_
.TE_AUTO_URL
 
1546 TE_NOHIDESEL 
= _controls_
.TE_NOHIDESEL
 
1547 TE_DONTWRAP 
= _controls_
.TE_DONTWRAP
 
1548 TE_CHARWRAP 
= _controls_
.TE_CHARWRAP
 
1549 TE_WORDWRAP 
= _controls_
.TE_WORDWRAP
 
1550 TE_BESTWRAP 
= _controls_
.TE_BESTWRAP
 
1551 TE_RICH2 
= _controls_
.TE_RICH2
 
1552 TE_CAPITALIZE 
= _controls_
.TE_CAPITALIZE
 
1553 TE_LINEWRAP 
= TE_CHARWRAP 
 
1554 PROCESS_ENTER 
= TE_PROCESS_ENTER
 
1555 PASSWORD 
= TE_PASSWORD
 
1557 TEXT_ALIGNMENT_DEFAULT 
= _controls_
.TEXT_ALIGNMENT_DEFAULT
 
1558 TEXT_ALIGNMENT_LEFT 
= _controls_
.TEXT_ALIGNMENT_LEFT
 
1559 TEXT_ALIGNMENT_CENTRE 
= _controls_
.TEXT_ALIGNMENT_CENTRE
 
1560 TEXT_ALIGNMENT_CENTER 
= _controls_
.TEXT_ALIGNMENT_CENTER
 
1561 TEXT_ALIGNMENT_RIGHT 
= _controls_
.TEXT_ALIGNMENT_RIGHT
 
1562 TEXT_ALIGNMENT_JUSTIFIED 
= _controls_
.TEXT_ALIGNMENT_JUSTIFIED
 
1563 TEXT_ATTR_TEXT_COLOUR 
= _controls_
.TEXT_ATTR_TEXT_COLOUR
 
1564 TEXT_ATTR_BACKGROUND_COLOUR 
= _controls_
.TEXT_ATTR_BACKGROUND_COLOUR
 
1565 TEXT_ATTR_FONT_FACE 
= _controls_
.TEXT_ATTR_FONT_FACE
 
1566 TEXT_ATTR_FONT_SIZE 
= _controls_
.TEXT_ATTR_FONT_SIZE
 
1567 TEXT_ATTR_FONT_WEIGHT 
= _controls_
.TEXT_ATTR_FONT_WEIGHT
 
1568 TEXT_ATTR_FONT_ITALIC 
= _controls_
.TEXT_ATTR_FONT_ITALIC
 
1569 TEXT_ATTR_FONT_UNDERLINE 
= _controls_
.TEXT_ATTR_FONT_UNDERLINE
 
1570 TEXT_ATTR_FONT 
= _controls_
.TEXT_ATTR_FONT
 
1571 TEXT_ATTR_ALIGNMENT 
= _controls_
.TEXT_ATTR_ALIGNMENT
 
1572 TEXT_ATTR_LEFT_INDENT 
= _controls_
.TEXT_ATTR_LEFT_INDENT
 
1573 TEXT_ATTR_RIGHT_INDENT 
= _controls_
.TEXT_ATTR_RIGHT_INDENT
 
1574 TEXT_ATTR_TABS 
= _controls_
.TEXT_ATTR_TABS
 
1575 TE_HT_UNKNOWN 
= _controls_
.TE_HT_UNKNOWN
 
1576 TE_HT_BEFORE 
= _controls_
.TE_HT_BEFORE
 
1577 TE_HT_ON_TEXT 
= _controls_
.TE_HT_ON_TEXT
 
1578 TE_HT_BELOW 
= _controls_
.TE_HT_BELOW
 
1579 TE_HT_BEYOND 
= _controls_
.TE_HT_BEYOND
 
1580 OutOfRangeTextCoord 
= _controls_
.OutOfRangeTextCoord
 
1581 InvalidTextCoord 
= _controls_
.InvalidTextCoord
 
1582 TEXT_TYPE_ANY 
= _controls_
.TEXT_TYPE_ANY
 
1583 class TextAttr(object): 
1584     """Proxy of C++ TextAttr class""" 
1585     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1586     __repr__ 
= _swig_repr
 
1587     def __init__(self
, *args
, **kwargs
):  
1589         __init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,  
1590             Font font=wxNullFont, int alignment=TEXT_ALIGNMENT_DEFAULT) -> TextAttr 
1592         _controls_
.TextAttr_swiginit(self
,_controls_
.new_TextAttr(*args
, **kwargs
)) 
1593     __swig_destroy__ 
= _controls_
.delete_TextAttr
 
1594     __del__ 
= lambda self 
: None; 
1595     def Init(*args
, **kwargs
): 
1597         return _controls_
.TextAttr_Init(*args
, **kwargs
) 
1599     def Merge(*args
, **kwargs
): 
1600         """Merge(TextAttr base, TextAttr overlay) -> TextAttr""" 
1601         return _controls_
.TextAttr_Merge(*args
, **kwargs
) 
1603     Merge 
= staticmethod(Merge
) 
1604     def SetTextColour(*args
, **kwargs
): 
1605         """SetTextColour(self, Colour colText)""" 
1606         return _controls_
.TextAttr_SetTextColour(*args
, **kwargs
) 
1608     def SetBackgroundColour(*args
, **kwargs
): 
1609         """SetBackgroundColour(self, Colour colBack)""" 
1610         return _controls_
.TextAttr_SetBackgroundColour(*args
, **kwargs
) 
1612     def SetFont(*args
, **kwargs
): 
1613         """SetFont(self, Font font, long flags=TEXT_ATTR_FONT)""" 
1614         return _controls_
.TextAttr_SetFont(*args
, **kwargs
) 
1616     def SetAlignment(*args
, **kwargs
): 
1617         """SetAlignment(self, int alignment)""" 
1618         return _controls_
.TextAttr_SetAlignment(*args
, **kwargs
) 
1620     def SetTabs(*args
, **kwargs
): 
1621         """SetTabs(self, wxArrayInt tabs)""" 
1622         return _controls_
.TextAttr_SetTabs(*args
, **kwargs
) 
1624     def SetLeftIndent(*args
, **kwargs
): 
1625         """SetLeftIndent(self, int indent, int subIndent=0)""" 
1626         return _controls_
.TextAttr_SetLeftIndent(*args
, **kwargs
) 
1628     def SetRightIndent(*args
, **kwargs
): 
1629         """SetRightIndent(self, int indent)""" 
1630         return _controls_
.TextAttr_SetRightIndent(*args
, **kwargs
) 
1632     def SetFlags(*args
, **kwargs
): 
1633         """SetFlags(self, long flags)""" 
1634         return _controls_
.TextAttr_SetFlags(*args
, **kwargs
) 
1636     def HasTextColour(*args
, **kwargs
): 
1637         """HasTextColour(self) -> bool""" 
1638         return _controls_
.TextAttr_HasTextColour(*args
, **kwargs
) 
1640     def HasBackgroundColour(*args
, **kwargs
): 
1641         """HasBackgroundColour(self) -> bool""" 
1642         return _controls_
.TextAttr_HasBackgroundColour(*args
, **kwargs
) 
1644     def HasFont(*args
, **kwargs
): 
1645         """HasFont(self) -> bool""" 
1646         return _controls_
.TextAttr_HasFont(*args
, **kwargs
) 
1648     def HasAlignment(*args
, **kwargs
): 
1649         """HasAlignment(self) -> bool""" 
1650         return _controls_
.TextAttr_HasAlignment(*args
, **kwargs
) 
1652     def HasTabs(*args
, **kwargs
): 
1653         """HasTabs(self) -> bool""" 
1654         return _controls_
.TextAttr_HasTabs(*args
, **kwargs
) 
1656     def HasLeftIndent(*args
, **kwargs
): 
1657         """HasLeftIndent(self) -> bool""" 
1658         return _controls_
.TextAttr_HasLeftIndent(*args
, **kwargs
) 
1660     def HasRightIndent(*args
, **kwargs
): 
1661         """HasRightIndent(self) -> bool""" 
1662         return _controls_
.TextAttr_HasRightIndent(*args
, **kwargs
) 
1664     def HasFlag(*args
, **kwargs
): 
1665         """HasFlag(self, long flag) -> bool""" 
1666         return _controls_
.TextAttr_HasFlag(*args
, **kwargs
) 
1668     def GetTextColour(*args
, **kwargs
): 
1669         """GetTextColour(self) -> Colour""" 
1670         return _controls_
.TextAttr_GetTextColour(*args
, **kwargs
) 
1672     def GetBackgroundColour(*args
, **kwargs
): 
1673         """GetBackgroundColour(self) -> Colour""" 
1674         return _controls_
.TextAttr_GetBackgroundColour(*args
, **kwargs
) 
1676     def GetFont(*args
, **kwargs
): 
1677         """GetFont(self) -> Font""" 
1678         return _controls_
.TextAttr_GetFont(*args
, **kwargs
) 
1680     def GetAlignment(*args
, **kwargs
): 
1681         """GetAlignment(self) -> int""" 
1682         return _controls_
.TextAttr_GetAlignment(*args
, **kwargs
) 
1684     def GetTabs(*args
, **kwargs
): 
1685         """GetTabs(self) -> wxArrayInt""" 
1686         return _controls_
.TextAttr_GetTabs(*args
, **kwargs
) 
1688     def GetLeftIndent(*args
, **kwargs
): 
1689         """GetLeftIndent(self) -> long""" 
1690         return _controls_
.TextAttr_GetLeftIndent(*args
, **kwargs
) 
1692     def GetLeftSubIndent(*args
, **kwargs
): 
1693         """GetLeftSubIndent(self) -> long""" 
1694         return _controls_
.TextAttr_GetLeftSubIndent(*args
, **kwargs
) 
1696     def GetRightIndent(*args
, **kwargs
): 
1697         """GetRightIndent(self) -> long""" 
1698         return _controls_
.TextAttr_GetRightIndent(*args
, **kwargs
) 
1700     def GetFlags(*args
, **kwargs
): 
1701         """GetFlags(self) -> long""" 
1702         return _controls_
.TextAttr_GetFlags(*args
, **kwargs
) 
1704     def IsDefault(*args
, **kwargs
): 
1705         """IsDefault(self) -> bool""" 
1706         return _controls_
.TextAttr_IsDefault(*args
, **kwargs
) 
1708     def Combine(*args
, **kwargs
): 
1709         """Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr""" 
1710         return _controls_
.TextAttr_Combine(*args
, **kwargs
) 
1712     Combine 
= staticmethod(Combine
) 
1713     Alignment 
= property(GetAlignment
,SetAlignment
,doc
="See `GetAlignment` and `SetAlignment`")  
1714     BackgroundColour 
= property(GetBackgroundColour
,SetBackgroundColour
,doc
="See `GetBackgroundColour` and `SetBackgroundColour`")  
1715     Flags 
= property(GetFlags
,SetFlags
,doc
="See `GetFlags` and `SetFlags`")  
1716     Font 
= property(GetFont
,SetFont
,doc
="See `GetFont` and `SetFont`")  
1717     LeftIndent 
= property(GetLeftIndent
,SetLeftIndent
,doc
="See `GetLeftIndent` and `SetLeftIndent`")  
1718     LeftSubIndent 
= property(GetLeftSubIndent
,doc
="See `GetLeftSubIndent`")  
1719     RightIndent 
= property(GetRightIndent
,SetRightIndent
,doc
="See `GetRightIndent` and `SetRightIndent`")  
1720     Tabs 
= property(GetTabs
,SetTabs
,doc
="See `GetTabs` and `SetTabs`")  
1721     TextColour 
= property(GetTextColour
,SetTextColour
,doc
="See `GetTextColour` and `SetTextColour`")  
1722 _controls_
.TextAttr_swigregister(TextAttr
) 
1723 TextCtrlNameStr 
= cvar
.TextCtrlNameStr
 
1725 def TextAttr_Merge(*args
, **kwargs
): 
1726   """TextAttr_Merge(TextAttr base, TextAttr overlay) -> TextAttr""" 
1727   return _controls_
.TextAttr_Merge(*args
, **kwargs
) 
1729 def TextAttr_Combine(*args
, **kwargs
): 
1730   """TextAttr_Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -> TextAttr""" 
1731   return _controls_
.TextAttr_Combine(*args
, **kwargs
) 
1733 class TextCtrl(_core
.Control
): 
1734     """Proxy of C++ TextCtrl class""" 
1735     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
1736     __repr__ 
= _swig_repr
 
1737     def __init__(self
, *args
, **kwargs
):  
1739         __init__(self, Window parent, int id=-1, String value=EmptyString,  
1740             Point pos=DefaultPosition, Size size=DefaultSize,  
1741             long style=0, Validator validator=DefaultValidator,  
1742             String name=TextCtrlNameStr) -> TextCtrl 
1744         _controls_
.TextCtrl_swiginit(self
,_controls_
.new_TextCtrl(*args
, **kwargs
)) 
1745         self
._setOORInfo
(self
) 
1747     def Create(*args
, **kwargs
): 
1749         Create(self, Window parent, int id=-1, String value=EmptyString,  
1750             Point pos=DefaultPosition, Size size=DefaultSize,  
1751             long style=0, Validator validator=DefaultValidator,  
1752             String name=TextCtrlNameStr) -> bool 
1754         return _controls_
.TextCtrl_Create(*args
, **kwargs
) 
1756     def GetValue(*args
, **kwargs
): 
1757         """GetValue(self) -> String""" 
1758         return _controls_
.TextCtrl_GetValue(*args
, **kwargs
) 
1760     def SetValue(*args
, **kwargs
): 
1761         """SetValue(self, String value)""" 
1762         return _controls_
.TextCtrl_SetValue(*args
, **kwargs
) 
1764     def IsEmpty(*args
, **kwargs
): 
1765         """IsEmpty(self) -> bool""" 
1766         return _controls_
.TextCtrl_IsEmpty(*args
, **kwargs
) 
1768     def ChangeValue(*args
, **kwargs
): 
1769         """ChangeValue(self, String value)""" 
1770         return _controls_
.TextCtrl_ChangeValue(*args
, **kwargs
) 
1772     def GetRange(*args
, **kwargs
): 
1773         """GetRange(self, long from, long to) -> String""" 
1774         return _controls_
.TextCtrl_GetRange(*args
, **kwargs
) 
1776     def GetLineLength(*args
, **kwargs
): 
1777         """GetLineLength(self, long lineNo) -> int""" 
1778         return _controls_
.TextCtrl_GetLineLength(*args
, **kwargs
) 
1780     def GetLineText(*args
, **kwargs
): 
1781         """GetLineText(self, long lineNo) -> String""" 
1782         return _controls_
.TextCtrl_GetLineText(*args
, **kwargs
) 
1784     def GetNumberOfLines(*args
, **kwargs
): 
1785         """GetNumberOfLines(self) -> int""" 
1786         return _controls_
.TextCtrl_GetNumberOfLines(*args
, **kwargs
) 
1788     def IsModified(*args
, **kwargs
): 
1789         """IsModified(self) -> bool""" 
1790         return _controls_
.TextCtrl_IsModified(*args
, **kwargs
) 
1792     def IsEditable(*args
, **kwargs
): 
1793         """IsEditable(self) -> bool""" 
1794         return _controls_
.TextCtrl_IsEditable(*args
, **kwargs
) 
1796     def IsSingleLine(*args
, **kwargs
): 
1797         """IsSingleLine(self) -> bool""" 
1798         return _controls_
.TextCtrl_IsSingleLine(*args
, **kwargs
) 
1800     def IsMultiLine(*args
, **kwargs
): 
1801         """IsMultiLine(self) -> bool""" 
1802         return _controls_
.TextCtrl_IsMultiLine(*args
, **kwargs
) 
1804     def GetSelection(*args
, **kwargs
): 
1806         GetSelection() -> (from, to) 
1808         If the return values from and to are the same, there is no selection. 
1810         return _controls_
.TextCtrl_GetSelection(*args
, **kwargs
) 
1812     def GetStringSelection(*args
, **kwargs
): 
1813         """GetStringSelection(self) -> String""" 
1814         return _controls_
.TextCtrl_GetStringSelection(*args
, **kwargs
) 
1816     def Clear(*args
, **kwargs
): 
1818         return _controls_
.TextCtrl_Clear(*args
, **kwargs
) 
1820     def Replace(*args
, **kwargs
): 
1821         """Replace(self, long from, long to, String value)""" 
1822         return _controls_
.TextCtrl_Replace(*args
, **kwargs
) 
1824     def Remove(*args
, **kwargs
): 
1825         """Remove(self, long from, long to)""" 
1826         return _controls_
.TextCtrl_Remove(*args
, **kwargs
) 
1828     def LoadFile(*args
, **kwargs
): 
1829         """LoadFile(self, String file, int fileType=TEXT_TYPE_ANY) -> bool""" 
1830         return _controls_
.TextCtrl_LoadFile(*args
, **kwargs
) 
1832     def SaveFile(*args
, **kwargs
): 
1833         """SaveFile(self, String file=EmptyString, int fileType=TEXT_TYPE_ANY) -> bool""" 
1834         return _controls_
.TextCtrl_SaveFile(*args
, **kwargs
) 
1836     def MarkDirty(*args
, **kwargs
): 
1837         """MarkDirty(self)""" 
1838         return _controls_
.TextCtrl_MarkDirty(*args
, **kwargs
) 
1840     def DiscardEdits(*args
, **kwargs
): 
1841         """DiscardEdits(self)""" 
1842         return _controls_
.TextCtrl_DiscardEdits(*args
, **kwargs
) 
1844     def SetModified(*args
, **kwargs
): 
1845         """SetModified(self, bool modified)""" 
1846         return _controls_
.TextCtrl_SetModified(*args
, **kwargs
) 
1848     def SetMaxLength(*args
, **kwargs
): 
1849         """SetMaxLength(self, unsigned long len)""" 
1850         return _controls_
.TextCtrl_SetMaxLength(*args
, **kwargs
) 
1852     def WriteText(*args
, **kwargs
): 
1853         """WriteText(self, String text)""" 
1854         return _controls_
.TextCtrl_WriteText(*args
, **kwargs
) 
1856     def AppendText(*args
, **kwargs
): 
1857         """AppendText(self, String text)""" 
1858         return _controls_
.TextCtrl_AppendText(*args
, **kwargs
) 
1860     def EmulateKeyPress(*args
, **kwargs
): 
1861         """EmulateKeyPress(self, KeyEvent event) -> bool""" 
1862         return _controls_
.TextCtrl_EmulateKeyPress(*args
, **kwargs
) 
1864     def SetStyle(*args
, **kwargs
): 
1865         """SetStyle(self, long start, long end, TextAttr style) -> bool""" 
1866         return _controls_
.TextCtrl_SetStyle(*args
, **kwargs
) 
1868     def GetStyle(*args
, **kwargs
): 
1869         """GetStyle(self, long position, TextAttr style) -> bool""" 
1870         return _controls_
.TextCtrl_GetStyle(*args
, **kwargs
) 
1872     def SetDefaultStyle(*args
, **kwargs
): 
1873         """SetDefaultStyle(self, TextAttr style) -> bool""" 
1874         return _controls_
.TextCtrl_SetDefaultStyle(*args
, **kwargs
) 
1876     def GetDefaultStyle(*args
, **kwargs
): 
1877         """GetDefaultStyle(self) -> TextAttr""" 
1878         return _controls_
.TextCtrl_GetDefaultStyle(*args
, **kwargs
) 
1880     def XYToPosition(*args
, **kwargs
): 
1881         """XYToPosition(self, long x, long y) -> long""" 
1882         return _controls_
.TextCtrl_XYToPosition(*args
, **kwargs
) 
1884     def PositionToXY(*args
, **kwargs
): 
1885         """PositionToXY(long pos) -> (x, y)""" 
1886         return _controls_
.TextCtrl_PositionToXY(*args
, **kwargs
) 
1888     def ShowPosition(*args
, **kwargs
): 
1889         """ShowPosition(self, long pos)""" 
1890         return _controls_
.TextCtrl_ShowPosition(*args
, **kwargs
) 
1892     def HitTest(*args
, **kwargs
): 
1894         HitTest(Point pt) -> (result, col, row) 
1896         Find the row, col coresponding to the character at the point given in 
1897         pixels. NB: pt is in device coords but is not adjusted for the client 
1898         area origin nor scrolling. 
1900         return _controls_
.TextCtrl_HitTest(*args
, **kwargs
) 
1902     def HitTestPos(*args
, **kwargs
): 
1904         HitTestPos(Point pt) -> (result, position) 
1906         Find the character position in the text coresponding to the point 
1907         given in pixels. NB: pt is in device coords but is not adjusted for 
1908         the client area origin nor scrolling.  
1910         return _controls_
.TextCtrl_HitTestPos(*args
, **kwargs
) 
1912     def Copy(*args
, **kwargs
): 
1914         return _controls_
.TextCtrl_Copy(*args
, **kwargs
) 
1916     def Cut(*args
, **kwargs
): 
1918         return _controls_
.TextCtrl_Cut(*args
, **kwargs
) 
1920     def Paste(*args
, **kwargs
): 
1922         return _controls_
.TextCtrl_Paste(*args
, **kwargs
) 
1924     def CanCopy(*args
, **kwargs
): 
1925         """CanCopy(self) -> bool""" 
1926         return _controls_
.TextCtrl_CanCopy(*args
, **kwargs
) 
1928     def CanCut(*args
, **kwargs
): 
1929         """CanCut(self) -> bool""" 
1930         return _controls_
.TextCtrl_CanCut(*args
, **kwargs
) 
1932     def CanPaste(*args
, **kwargs
): 
1933         """CanPaste(self) -> bool""" 
1934         return _controls_
.TextCtrl_CanPaste(*args
, **kwargs
) 
1936     def Undo(*args
, **kwargs
): 
1938         return _controls_
.TextCtrl_Undo(*args
, **kwargs
) 
1940     def Redo(*args
, **kwargs
): 
1942         return _controls_
.TextCtrl_Redo(*args
, **kwargs
) 
1944     def CanUndo(*args
, **kwargs
): 
1945         """CanUndo(self) -> bool""" 
1946         return _controls_
.TextCtrl_CanUndo(*args
, **kwargs
) 
1948     def CanRedo(*args
, **kwargs
): 
1949         """CanRedo(self) -> bool""" 
1950         return _controls_
.TextCtrl_CanRedo(*args
, **kwargs
) 
1952     def SetInsertionPoint(*args
, **kwargs
): 
1953         """SetInsertionPoint(self, long pos)""" 
1954         return _controls_
.TextCtrl_SetInsertionPoint(*args
, **kwargs
) 
1956     def SetInsertionPointEnd(*args
, **kwargs
): 
1957         """SetInsertionPointEnd(self)""" 
1958         return _controls_
.TextCtrl_SetInsertionPointEnd(*args
, **kwargs
) 
1960     def GetInsertionPoint(*args
, **kwargs
): 
1961         """GetInsertionPoint(self) -> long""" 
1962         return _controls_
.TextCtrl_GetInsertionPoint(*args
, **kwargs
) 
1964     def GetLastPosition(*args
, **kwargs
): 
1965         """GetLastPosition(self) -> long""" 
1966         return _controls_
.TextCtrl_GetLastPosition(*args
, **kwargs
) 
1968     def SetSelection(*args
, **kwargs
): 
1969         """SetSelection(self, long from, long to)""" 
1970         return _controls_
.TextCtrl_SetSelection(*args
, **kwargs
) 
1972     def SelectAll(*args
, **kwargs
): 
1973         """SelectAll(self)""" 
1974         return _controls_
.TextCtrl_SelectAll(*args
, **kwargs
) 
1976     def SetEditable(*args
, **kwargs
): 
1977         """SetEditable(self, bool editable)""" 
1978         return _controls_
.TextCtrl_SetEditable(*args
, **kwargs
) 
1980     def MacCheckSpelling(*args
, **kwargs
): 
1981         """MacCheckSpelling(self, bool check)""" 
1982         return _controls_
.TextCtrl_MacCheckSpelling(*args
, **kwargs
) 
1984     def SendTextUpdatedEvent(*args
, **kwargs
): 
1985         """SendTextUpdatedEvent(self)""" 
1986         return _controls_
.TextCtrl_SendTextUpdatedEvent(*args
, **kwargs
) 
1988     def write(*args
, **kwargs
): 
1989         """write(self, String text)""" 
1990         return _controls_
.TextCtrl_write(*args
, **kwargs
) 
1992     def GetString(*args
, **kwargs
): 
1993         """GetString(self, long from, long to) -> String""" 
1994         return _controls_
.TextCtrl_GetString(*args
, **kwargs
) 
1996     def GetClassDefaultAttributes(*args
, **kwargs
): 
1998         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2000         Get the default attributes for this class.  This is useful if you want 
2001         to use the same font or colour in your own control as in a standard 
2002         control -- which is a much better idea than hard coding specific 
2003         colours or fonts which might look completely out of place on the 
2004         user's system, especially if it uses themes. 
2006         The variant parameter is only relevant under Mac currently and is 
2007         ignore under other platforms. Under Mac, it will change the size of 
2008         the returned font. See `wx.Window.SetWindowVariant` for more about 
2011         return _controls_
.TextCtrl_GetClassDefaultAttributes(*args
, **kwargs
) 
2013     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
2014     DefaultStyle 
= property(GetDefaultStyle
,SetDefaultStyle
,doc
="See `GetDefaultStyle` and `SetDefaultStyle`")  
2015     InsertionPoint 
= property(GetInsertionPoint
,SetInsertionPoint
,doc
="See `GetInsertionPoint` and `SetInsertionPoint`")  
2016     LastPosition 
= property(GetLastPosition
,doc
="See `GetLastPosition`")  
2017     NumberOfLines 
= property(GetNumberOfLines
,doc
="See `GetNumberOfLines`")  
2018     Selection 
= property(GetSelection
,SetSelection
,doc
="See `GetSelection` and `SetSelection`")  
2019     StringSelection 
= property(GetStringSelection
,doc
="See `GetStringSelection`")  
2020     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
2021 _controls_
.TextCtrl_swigregister(TextCtrl
) 
2023 def PreTextCtrl(*args
, **kwargs
): 
2024     """PreTextCtrl() -> TextCtrl""" 
2025     val 
= _controls_
.new_PreTextCtrl(*args
, **kwargs
) 
2028 def TextCtrl_GetClassDefaultAttributes(*args
, **kwargs
): 
2030     TextCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2032     Get the default attributes for this class.  This is useful if you want 
2033     to use the same font or colour in your own control as in a standard 
2034     control -- which is a much better idea than hard coding specific 
2035     colours or fonts which might look completely out of place on the 
2036     user's system, especially if it uses themes. 
2038     The variant parameter is only relevant under Mac currently and is 
2039     ignore under other platforms. Under Mac, it will change the size of 
2040     the returned font. See `wx.Window.SetWindowVariant` for more about 
2043   return _controls_
.TextCtrl_GetClassDefaultAttributes(*args
, **kwargs
) 
2045 wxEVT_COMMAND_TEXT_UPDATED 
= _controls_
.wxEVT_COMMAND_TEXT_UPDATED
 
2046 wxEVT_COMMAND_TEXT_ENTER 
= _controls_
.wxEVT_COMMAND_TEXT_ENTER
 
2047 wxEVT_COMMAND_TEXT_URL 
= _controls_
.wxEVT_COMMAND_TEXT_URL
 
2048 wxEVT_COMMAND_TEXT_MAXLEN 
= _controls_
.wxEVT_COMMAND_TEXT_MAXLEN
 
2049 class TextUrlEvent(_core
.CommandEvent
): 
2050     """Proxy of C++ TextUrlEvent class""" 
2051     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2052     __repr__ 
= _swig_repr
 
2053     def __init__(self
, *args
, **kwargs
):  
2054         """__init__(self, int winid, MouseEvent evtMouse, long start, long end) -> TextUrlEvent""" 
2055         _controls_
.TextUrlEvent_swiginit(self
,_controls_
.new_TextUrlEvent(*args
, **kwargs
)) 
2056     def GetMouseEvent(*args
, **kwargs
): 
2057         """GetMouseEvent(self) -> MouseEvent""" 
2058         return _controls_
.TextUrlEvent_GetMouseEvent(*args
, **kwargs
) 
2060     def GetURLStart(*args
, **kwargs
): 
2061         """GetURLStart(self) -> long""" 
2062         return _controls_
.TextUrlEvent_GetURLStart(*args
, **kwargs
) 
2064     def GetURLEnd(*args
, **kwargs
): 
2065         """GetURLEnd(self) -> long""" 
2066         return _controls_
.TextUrlEvent_GetURLEnd(*args
, **kwargs
) 
2068     MouseEvent 
= property(GetMouseEvent
,doc
="See `GetMouseEvent`")  
2069     URLEnd 
= property(GetURLEnd
,doc
="See `GetURLEnd`")  
2070     URLStart 
= property(GetURLStart
,doc
="See `GetURLStart`")  
2071 _controls_
.TextUrlEvent_swigregister(TextUrlEvent
) 
2073 EVT_TEXT        
= wx
.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED
, 1) 
2074 EVT_TEXT_ENTER  
= wx
.PyEventBinder( wxEVT_COMMAND_TEXT_ENTER
, 1) 
2075 EVT_TEXT_URL    
= wx
.PyEventBinder( wxEVT_COMMAND_TEXT_URL
, 1)  
2076 EVT_TEXT_MAXLEN 
= wx
.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN
, 1) 
2078 #--------------------------------------------------------------------------- 
2080 class ScrollBar(_core
.Control
): 
2081     """Proxy of C++ ScrollBar class""" 
2082     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2083     __repr__ 
= _swig_repr
 
2084     def __init__(self
, *args
, **kwargs
):  
2086         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
2087             Size size=DefaultSize, long style=SB_HORIZONTAL,  
2088             Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> ScrollBar 
2090         _controls_
.ScrollBar_swiginit(self
,_controls_
.new_ScrollBar(*args
, **kwargs
)) 
2091         self
._setOORInfo
(self
) 
2093     def Create(*args
, **kwargs
): 
2095         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
2096             Size size=DefaultSize, long style=SB_HORIZONTAL,  
2097             Validator validator=DefaultValidator, String name=ScrollBarNameStr) -> bool 
2099         Do the 2nd phase and create the GUI control. 
2101         return _controls_
.ScrollBar_Create(*args
, **kwargs
) 
2103     def GetThumbPosition(*args
, **kwargs
): 
2104         """GetThumbPosition(self) -> int""" 
2105         return _controls_
.ScrollBar_GetThumbPosition(*args
, **kwargs
) 
2107     def GetThumbSize(*args
, **kwargs
): 
2108         """GetThumbSize(self) -> int""" 
2109         return _controls_
.ScrollBar_GetThumbSize(*args
, **kwargs
) 
2111     GetThumbLength 
= GetThumbSize 
 
2112     def GetPageSize(*args
, **kwargs
): 
2113         """GetPageSize(self) -> int""" 
2114         return _controls_
.ScrollBar_GetPageSize(*args
, **kwargs
) 
2116     def GetRange(*args
, **kwargs
): 
2117         """GetRange(self) -> int""" 
2118         return _controls_
.ScrollBar_GetRange(*args
, **kwargs
) 
2120     def IsVertical(*args
, **kwargs
): 
2121         """IsVertical(self) -> bool""" 
2122         return _controls_
.ScrollBar_IsVertical(*args
, **kwargs
) 
2124     def SetThumbPosition(*args
, **kwargs
): 
2125         """SetThumbPosition(self, int viewStart)""" 
2126         return _controls_
.ScrollBar_SetThumbPosition(*args
, **kwargs
) 
2128     def GetClassDefaultAttributes(*args
, **kwargs
): 
2130         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2132         Get the default attributes for this class.  This is useful if you want 
2133         to use the same font or colour in your own control as in a standard 
2134         control -- which is a much better idea than hard coding specific 
2135         colours or fonts which might look completely out of place on the 
2136         user's system, especially if it uses themes. 
2138         The variant parameter is only relevant under Mac currently and is 
2139         ignore under other platforms. Under Mac, it will change the size of 
2140         the returned font. See `wx.Window.SetWindowVariant` for more about 
2143         return _controls_
.ScrollBar_GetClassDefaultAttributes(*args
, **kwargs
) 
2145     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
2146     PageSize 
= property(GetPageSize
,doc
="See `GetPageSize`")  
2147     Range 
= property(GetRange
,doc
="See `GetRange`")  
2148     ThumbPosition 
= property(GetThumbPosition
,SetThumbPosition
,doc
="See `GetThumbPosition` and `SetThumbPosition`")  
2149     ThumbSize 
= property(GetThumbSize
,doc
="See `GetThumbSize`")  
2150 _controls_
.ScrollBar_swigregister(ScrollBar
) 
2151 ScrollBarNameStr 
= cvar
.ScrollBarNameStr
 
2153 def PreScrollBar(*args
, **kwargs
): 
2154     """PreScrollBar() -> ScrollBar""" 
2155     val 
= _controls_
.new_PreScrollBar(*args
, **kwargs
) 
2158 def ScrollBar_GetClassDefaultAttributes(*args
, **kwargs
): 
2160     ScrollBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2162     Get the default attributes for this class.  This is useful if you want 
2163     to use the same font or colour in your own control as in a standard 
2164     control -- which is a much better idea than hard coding specific 
2165     colours or fonts which might look completely out of place on the 
2166     user's system, especially if it uses themes. 
2168     The variant parameter is only relevant under Mac currently and is 
2169     ignore under other platforms. Under Mac, it will change the size of 
2170     the returned font. See `wx.Window.SetWindowVariant` for more about 
2173   return _controls_
.ScrollBar_GetClassDefaultAttributes(*args
, **kwargs
) 
2175 #--------------------------------------------------------------------------- 
2177 SP_HORIZONTAL 
= _controls_
.SP_HORIZONTAL
 
2178 SP_VERTICAL 
= _controls_
.SP_VERTICAL
 
2179 SP_ARROW_KEYS 
= _controls_
.SP_ARROW_KEYS
 
2180 SP_WRAP 
= _controls_
.SP_WRAP
 
2181 class SpinButton(_core
.Control
): 
2182     """Proxy of C++ SpinButton class""" 
2183     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2184     __repr__ 
= _swig_repr
 
2185     def __init__(self
, *args
, **kwargs
):  
2187         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
2188             Size size=DefaultSize, long style=SP_HORIZONTAL,  
2189             String name=SPIN_BUTTON_NAME) -> SpinButton 
2191         _controls_
.SpinButton_swiginit(self
,_controls_
.new_SpinButton(*args
, **kwargs
)) 
2192         self
._setOORInfo
(self
) 
2194     def Create(*args
, **kwargs
): 
2196         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
2197             Size size=DefaultSize, long style=SP_HORIZONTAL,  
2198             String name=SPIN_BUTTON_NAME) -> bool 
2200         return _controls_
.SpinButton_Create(*args
, **kwargs
) 
2202     def GetValue(*args
, **kwargs
): 
2203         """GetValue(self) -> int""" 
2204         return _controls_
.SpinButton_GetValue(*args
, **kwargs
) 
2206     def GetMin(*args
, **kwargs
): 
2207         """GetMin(self) -> int""" 
2208         return _controls_
.SpinButton_GetMin(*args
, **kwargs
) 
2210     def GetMax(*args
, **kwargs
): 
2211         """GetMax(self) -> int""" 
2212         return _controls_
.SpinButton_GetMax(*args
, **kwargs
) 
2214     def SetValue(*args
, **kwargs
): 
2215         """SetValue(self, int val)""" 
2216         return _controls_
.SpinButton_SetValue(*args
, **kwargs
) 
2218     def SetMin(*args
, **kwargs
): 
2219         """SetMin(self, int minVal)""" 
2220         return _controls_
.SpinButton_SetMin(*args
, **kwargs
) 
2222     def SetMax(*args
, **kwargs
): 
2223         """SetMax(self, int maxVal)""" 
2224         return _controls_
.SpinButton_SetMax(*args
, **kwargs
) 
2226     def SetRange(*args
, **kwargs
): 
2227         """SetRange(self, int minVal, int maxVal)""" 
2228         return _controls_
.SpinButton_SetRange(*args
, **kwargs
) 
2230     def IsVertical(*args
, **kwargs
): 
2231         """IsVertical(self) -> bool""" 
2232         return _controls_
.SpinButton_IsVertical(*args
, **kwargs
) 
2234     def GetClassDefaultAttributes(*args
, **kwargs
): 
2236         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2238         Get the default attributes for this class.  This is useful if you want 
2239         to use the same font or colour in your own control as in a standard 
2240         control -- which is a much better idea than hard coding specific 
2241         colours or fonts which might look completely out of place on the 
2242         user's system, especially if it uses themes. 
2244         The variant parameter is only relevant under Mac currently and is 
2245         ignore under other platforms. Under Mac, it will change the size of 
2246         the returned font. See `wx.Window.SetWindowVariant` for more about 
2249         return _controls_
.SpinButton_GetClassDefaultAttributes(*args
, **kwargs
) 
2251     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
2252     Max 
= property(GetMax
,SetMax
,doc
="See `GetMax` and `SetMax`")  
2253     Min 
= property(GetMin
,SetMin
,doc
="See `GetMin` and `SetMin`")  
2254     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
2255 _controls_
.SpinButton_swigregister(SpinButton
) 
2256 SPIN_BUTTON_NAME 
= cvar
.SPIN_BUTTON_NAME
 
2257 SpinCtrlNameStr 
= cvar
.SpinCtrlNameStr
 
2259 def PreSpinButton(*args
, **kwargs
): 
2260     """PreSpinButton() -> SpinButton""" 
2261     val 
= _controls_
.new_PreSpinButton(*args
, **kwargs
) 
2264 def SpinButton_GetClassDefaultAttributes(*args
, **kwargs
): 
2266     SpinButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2268     Get the default attributes for this class.  This is useful if you want 
2269     to use the same font or colour in your own control as in a standard 
2270     control -- which is a much better idea than hard coding specific 
2271     colours or fonts which might look completely out of place on the 
2272     user's system, especially if it uses themes. 
2274     The variant parameter is only relevant under Mac currently and is 
2275     ignore under other platforms. Under Mac, it will change the size of 
2276     the returned font. See `wx.Window.SetWindowVariant` for more about 
2279   return _controls_
.SpinButton_GetClassDefaultAttributes(*args
, **kwargs
) 
2281 class SpinCtrl(_core
.Control
): 
2282     """Proxy of C++ SpinCtrl class""" 
2283     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2284     __repr__ 
= _swig_repr
 
2285     def __init__(self
, *args
, **kwargs
):  
2287         __init__(self, Window parent, int id=-1, String value=EmptyString,  
2288             Point pos=DefaultPosition, Size size=DefaultSize,  
2289             long style=SP_ARROW_KEYS, int min=0, int max=100,  
2290             int initial=0, String name=SpinCtrlNameStr) -> SpinCtrl 
2292         _controls_
.SpinCtrl_swiginit(self
,_controls_
.new_SpinCtrl(*args
, **kwargs
)) 
2293         self
._setOORInfo
(self
) 
2295     def Create(*args
, **kwargs
): 
2297         Create(self, Window parent, int id=-1, String value=EmptyString,  
2298             Point pos=DefaultPosition, Size size=DefaultSize,  
2299             long style=SP_ARROW_KEYS, int min=0, int max=100,  
2300             int initial=0, String name=SpinCtrlNameStr) -> bool 
2302         return _controls_
.SpinCtrl_Create(*args
, **kwargs
) 
2304     def GetValue(*args
, **kwargs
): 
2305         """GetValue(self) -> int""" 
2306         return _controls_
.SpinCtrl_GetValue(*args
, **kwargs
) 
2308     def SetValue(*args
, **kwargs
): 
2309         """SetValue(self, int value)""" 
2310         return _controls_
.SpinCtrl_SetValue(*args
, **kwargs
) 
2312     def SetValueString(*args
, **kwargs
): 
2313         """SetValueString(self, String text)""" 
2314         return _controls_
.SpinCtrl_SetValueString(*args
, **kwargs
) 
2316     def SetRange(*args
, **kwargs
): 
2317         """SetRange(self, int minVal, int maxVal)""" 
2318         return _controls_
.SpinCtrl_SetRange(*args
, **kwargs
) 
2320     def GetMin(*args
, **kwargs
): 
2321         """GetMin(self) -> int""" 
2322         return _controls_
.SpinCtrl_GetMin(*args
, **kwargs
) 
2324     def GetMax(*args
, **kwargs
): 
2325         """GetMax(self) -> int""" 
2326         return _controls_
.SpinCtrl_GetMax(*args
, **kwargs
) 
2328     def SetSelection(*args
, **kwargs
): 
2329         """SetSelection(self, long from, long to)""" 
2330         return _controls_
.SpinCtrl_SetSelection(*args
, **kwargs
) 
2332     def GetClassDefaultAttributes(*args
, **kwargs
): 
2334         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2336         Get the default attributes for this class.  This is useful if you want 
2337         to use the same font or colour in your own control as in a standard 
2338         control -- which is a much better idea than hard coding specific 
2339         colours or fonts which might look completely out of place on the 
2340         user's system, especially if it uses themes. 
2342         The variant parameter is only relevant under Mac currently and is 
2343         ignore under other platforms. Under Mac, it will change the size of 
2344         the returned font. See `wx.Window.SetWindowVariant` for more about 
2347         return _controls_
.SpinCtrl_GetClassDefaultAttributes(*args
, **kwargs
) 
2349     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
2350     Max 
= property(GetMax
,doc
="See `GetMax`")  
2351     Min 
= property(GetMin
,doc
="See `GetMin`")  
2352     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
2353 _controls_
.SpinCtrl_swigregister(SpinCtrl
) 
2355 def PreSpinCtrl(*args
, **kwargs
): 
2356     """PreSpinCtrl() -> SpinCtrl""" 
2357     val 
= _controls_
.new_PreSpinCtrl(*args
, **kwargs
) 
2360 def SpinCtrl_GetClassDefaultAttributes(*args
, **kwargs
): 
2362     SpinCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2364     Get the default attributes for this class.  This is useful if you want 
2365     to use the same font or colour in your own control as in a standard 
2366     control -- which is a much better idea than hard coding specific 
2367     colours or fonts which might look completely out of place on the 
2368     user's system, especially if it uses themes. 
2370     The variant parameter is only relevant under Mac currently and is 
2371     ignore under other platforms. Under Mac, it will change the size of 
2372     the returned font. See `wx.Window.SetWindowVariant` for more about 
2375   return _controls_
.SpinCtrl_GetClassDefaultAttributes(*args
, **kwargs
) 
2377 class SpinEvent(_core
.NotifyEvent
): 
2378     """Proxy of C++ SpinEvent class""" 
2379     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2380     __repr__ 
= _swig_repr
 
2381     def __init__(self
, *args
, **kwargs
):  
2382         """__init__(self, EventType commandType=wxEVT_NULL, int winid=0) -> SpinEvent""" 
2383         _controls_
.SpinEvent_swiginit(self
,_controls_
.new_SpinEvent(*args
, **kwargs
)) 
2384     def GetPosition(*args
, **kwargs
): 
2385         """GetPosition(self) -> int""" 
2386         return _controls_
.SpinEvent_GetPosition(*args
, **kwargs
) 
2388     def SetPosition(*args
, **kwargs
): 
2389         """SetPosition(self, int pos)""" 
2390         return _controls_
.SpinEvent_SetPosition(*args
, **kwargs
) 
2392     Position 
= property(GetPosition
,SetPosition
,doc
="See `GetPosition` and `SetPosition`")  
2393 _controls_
.SpinEvent_swigregister(SpinEvent
) 
2395 wxEVT_COMMAND_SPINCTRL_UPDATED 
= _controls_
.wxEVT_COMMAND_SPINCTRL_UPDATED
 
2396 EVT_SPIN_UP   
= wx
.PyEventBinder( wx
.wxEVT_SCROLL_LINEUP
, 1) 
2397 EVT_SPIN_DOWN 
= wx
.PyEventBinder( wx
.wxEVT_SCROLL_LINEDOWN
, 1) 
2398 EVT_SPIN      
= wx
.PyEventBinder( wx
.wxEVT_SCROLL_THUMBTRACK
, 1) 
2399 EVT_SPINCTRL  
= wx
.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED
, 1) 
2401 #--------------------------------------------------------------------------- 
2403 class RadioBox(_core
.Control
): 
2404     """Proxy of C++ RadioBox class""" 
2405     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2406     __repr__ 
= _swig_repr
 
2407     def __init__(self
, *args
, **kwargs
):  
2409         __init__(self, Window parent, int id=-1, String label=EmptyString,  
2410             Point pos=DefaultPosition, Size size=DefaultSize,  
2411             wxArrayString choices=wxPyEmptyStringArray,  
2412             int majorDimension=0, long style=RA_HORIZONTAL,  
2413             Validator validator=DefaultValidator,  
2414             String name=RadioBoxNameStr) -> RadioBox 
2416         if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point'] 
2417         _controls_
.RadioBox_swiginit(self
,_controls_
.new_RadioBox(*args
, **kwargs
)) 
2418         self
._setOORInfo
(self
) 
2420     def Create(*args
, **kwargs
): 
2422         Create(self, Window parent, int id=-1, String label=EmptyString,  
2423             Point pos=DefaultPosition, Size size=DefaultSize,  
2424             wxArrayString choices=wxPyEmptyStringArray,  
2425             int majorDimension=0, long style=RA_HORIZONTAL,  
2426             Validator validator=DefaultValidator,  
2427             String name=RadioBoxNameStr) -> bool 
2429         return _controls_
.RadioBox_Create(*args
, **kwargs
) 
2431     def SetSelection(*args
, **kwargs
): 
2432         """SetSelection(self, int n)""" 
2433         return _controls_
.RadioBox_SetSelection(*args
, **kwargs
) 
2435     def GetSelection(*args
, **kwargs
): 
2436         """GetSelection(self) -> int""" 
2437         return _controls_
.RadioBox_GetSelection(*args
, **kwargs
) 
2439     def GetStringSelection(*args
, **kwargs
): 
2440         """GetStringSelection(self) -> String""" 
2441         return _controls_
.RadioBox_GetStringSelection(*args
, **kwargs
) 
2443     def SetStringSelection(*args
, **kwargs
): 
2444         """SetStringSelection(self, String s) -> bool""" 
2445         return _controls_
.RadioBox_SetStringSelection(*args
, **kwargs
) 
2447     def GetCount(*args
, **kwargs
): 
2448         """GetCount(self) -> size_t""" 
2449         return _controls_
.RadioBox_GetCount(*args
, **kwargs
) 
2451     def FindString(*args
, **kwargs
): 
2452         """FindString(self, String s) -> int""" 
2453         return _controls_
.RadioBox_FindString(*args
, **kwargs
) 
2455     def GetString(*args
, **kwargs
): 
2456         """GetString(self, int n) -> String""" 
2457         return _controls_
.RadioBox_GetString(*args
, **kwargs
) 
2459     def SetString(*args
, **kwargs
): 
2460         """SetString(self, int n, String label)""" 
2461         return _controls_
.RadioBox_SetString(*args
, **kwargs
) 
2463     GetItemLabel 
= GetString 
 
2464     SetItemLabel 
= SetString 
 
2465     def EnableItem(*args
, **kwargs
): 
2466         """EnableItem(self, unsigned int n, bool enable=True)""" 
2467         return _controls_
.RadioBox_EnableItem(*args
, **kwargs
) 
2469     def ShowItem(*args
, **kwargs
): 
2470         """ShowItem(self, unsigned int n, bool show=True)""" 
2471         return _controls_
.RadioBox_ShowItem(*args
, **kwargs
) 
2473     def IsItemEnabled(*args
, **kwargs
): 
2474         """IsItemEnabled(self, unsigned int n) -> bool""" 
2475         return _controls_
.RadioBox_IsItemEnabled(*args
, **kwargs
) 
2477     def IsItemShown(*args
, **kwargs
): 
2478         """IsItemShown(self, unsigned int n) -> bool""" 
2479         return _controls_
.RadioBox_IsItemShown(*args
, **kwargs
) 
2481     def GetColumnCount(*args
, **kwargs
): 
2482         """GetColumnCount(self) -> unsigned int""" 
2483         return _controls_
.RadioBox_GetColumnCount(*args
, **kwargs
) 
2485     def GetRowCount(*args
, **kwargs
): 
2486         """GetRowCount(self) -> unsigned int""" 
2487         return _controls_
.RadioBox_GetRowCount(*args
, **kwargs
) 
2489     def GetNextItem(*args
, **kwargs
): 
2490         """GetNextItem(self, int item, int dir, long style) -> int""" 
2491         return _controls_
.RadioBox_GetNextItem(*args
, **kwargs
) 
2493     def SetItemToolTip(*args
, **kwargs
): 
2494         """SetItemToolTip(self, unsigned int item, String text)""" 
2495         return _controls_
.RadioBox_SetItemToolTip(*args
, **kwargs
) 
2497     def GetItemToolTip(*args
, **kwargs
): 
2498         """GetItemToolTip(self, unsigned int item) -> ToolTip""" 
2499         return _controls_
.RadioBox_GetItemToolTip(*args
, **kwargs
) 
2501     def SetItemHelpText(*args
, **kwargs
): 
2502         """SetItemHelpText(self, unsigned int n, String helpText)""" 
2503         return _controls_
.RadioBox_SetItemHelpText(*args
, **kwargs
) 
2505     def GetItemHelpText(*args
, **kwargs
): 
2506         """GetItemHelpText(self, unsigned int n) -> String""" 
2507         return _controls_
.RadioBox_GetItemHelpText(*args
, **kwargs
) 
2509     def GetClassDefaultAttributes(*args
, **kwargs
): 
2511         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2513         Get the default attributes for this class.  This is useful if you want 
2514         to use the same font or colour in your own control as in a standard 
2515         control -- which is a much better idea than hard coding specific 
2516         colours or fonts which might look completely out of place on the 
2517         user's system, especially if it uses themes. 
2519         The variant parameter is only relevant under Mac currently and is 
2520         ignore under other platforms. Under Mac, it will change the size of 
2521         the returned font. See `wx.Window.SetWindowVariant` for more about 
2524         return _controls_
.RadioBox_GetClassDefaultAttributes(*args
, **kwargs
) 
2526     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
2527     ColumnCount 
= property(GetColumnCount
,doc
="See `GetColumnCount`")  
2528     Count 
= property(GetCount
,doc
="See `GetCount`")  
2529     RowCount 
= property(GetRowCount
,doc
="See `GetRowCount`")  
2530     Selection 
= property(GetSelection
,SetSelection
,doc
="See `GetSelection` and `SetSelection`")  
2531     StringSelection 
= property(GetStringSelection
,SetStringSelection
,doc
="See `GetStringSelection` and `SetStringSelection`")  
2532 _controls_
.RadioBox_swigregister(RadioBox
) 
2533 RadioBoxNameStr 
= cvar
.RadioBoxNameStr
 
2534 RadioButtonNameStr 
= cvar
.RadioButtonNameStr
 
2536 def PreRadioBox(*args
, **kwargs
): 
2537     """PreRadioBox() -> RadioBox""" 
2538     val 
= _controls_
.new_PreRadioBox(*args
, **kwargs
) 
2541 def RadioBox_GetClassDefaultAttributes(*args
, **kwargs
): 
2543     RadioBox_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2545     Get the default attributes for this class.  This is useful if you want 
2546     to use the same font or colour in your own control as in a standard 
2547     control -- which is a much better idea than hard coding specific 
2548     colours or fonts which might look completely out of place on the 
2549     user's system, especially if it uses themes. 
2551     The variant parameter is only relevant under Mac currently and is 
2552     ignore under other platforms. Under Mac, it will change the size of 
2553     the returned font. See `wx.Window.SetWindowVariant` for more about 
2556   return _controls_
.RadioBox_GetClassDefaultAttributes(*args
, **kwargs
) 
2558 #--------------------------------------------------------------------------- 
2560 class RadioButton(_core
.Control
): 
2561     """Proxy of C++ RadioButton class""" 
2562     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2563     __repr__ 
= _swig_repr
 
2564     def __init__(self
, *args
, **kwargs
):  
2566         __init__(self, Window parent, int id=-1, String label=EmptyString,  
2567             Point pos=DefaultPosition, Size size=DefaultSize,  
2568             long style=0, Validator validator=DefaultValidator,  
2569             String name=RadioButtonNameStr) -> RadioButton 
2571         _controls_
.RadioButton_swiginit(self
,_controls_
.new_RadioButton(*args
, **kwargs
)) 
2572         self
._setOORInfo
(self
) 
2574     def Create(*args
, **kwargs
): 
2576         Create(self, Window parent, int id=-1, String label=EmptyString,  
2577             Point pos=DefaultPosition, Size size=DefaultSize,  
2578             long style=0, Validator validator=DefaultValidator,  
2579             String name=RadioButtonNameStr) -> bool 
2581         return _controls_
.RadioButton_Create(*args
, **kwargs
) 
2583     def GetValue(*args
, **kwargs
): 
2584         """GetValue(self) -> bool""" 
2585         return _controls_
.RadioButton_GetValue(*args
, **kwargs
) 
2587     def SetValue(*args
, **kwargs
): 
2588         """SetValue(self, bool value)""" 
2589         return _controls_
.RadioButton_SetValue(*args
, **kwargs
) 
2591     def GetClassDefaultAttributes(*args
, **kwargs
): 
2593         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2595         Get the default attributes for this class.  This is useful if you want 
2596         to use the same font or colour in your own control as in a standard 
2597         control -- which is a much better idea than hard coding specific 
2598         colours or fonts which might look completely out of place on the 
2599         user's system, especially if it uses themes. 
2601         The variant parameter is only relevant under Mac currently and is 
2602         ignore under other platforms. Under Mac, it will change the size of 
2603         the returned font. See `wx.Window.SetWindowVariant` for more about 
2606         return _controls_
.RadioButton_GetClassDefaultAttributes(*args
, **kwargs
) 
2608     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
2609     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
2610 _controls_
.RadioButton_swigregister(RadioButton
) 
2612 def PreRadioButton(*args
, **kwargs
): 
2613     """PreRadioButton() -> RadioButton""" 
2614     val 
= _controls_
.new_PreRadioButton(*args
, **kwargs
) 
2617 def RadioButton_GetClassDefaultAttributes(*args
, **kwargs
): 
2619     RadioButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2621     Get the default attributes for this class.  This is useful if you want 
2622     to use the same font or colour in your own control as in a standard 
2623     control -- which is a much better idea than hard coding specific 
2624     colours or fonts which might look completely out of place on the 
2625     user's system, especially if it uses themes. 
2627     The variant parameter is only relevant under Mac currently and is 
2628     ignore under other platforms. Under Mac, it will change the size of 
2629     the returned font. See `wx.Window.SetWindowVariant` for more about 
2632   return _controls_
.RadioButton_GetClassDefaultAttributes(*args
, **kwargs
) 
2634 #--------------------------------------------------------------------------- 
2636 SL_HORIZONTAL 
= _controls_
.SL_HORIZONTAL
 
2637 SL_VERTICAL 
= _controls_
.SL_VERTICAL
 
2638 SL_TICKS 
= _controls_
.SL_TICKS
 
2639 SL_AUTOTICKS 
= _controls_
.SL_AUTOTICKS
 
2640 SL_LABELS 
= _controls_
.SL_LABELS
 
2641 SL_LEFT 
= _controls_
.SL_LEFT
 
2642 SL_TOP 
= _controls_
.SL_TOP
 
2643 SL_RIGHT 
= _controls_
.SL_RIGHT
 
2644 SL_BOTTOM 
= _controls_
.SL_BOTTOM
 
2645 SL_BOTH 
= _controls_
.SL_BOTH
 
2646 SL_SELRANGE 
= _controls_
.SL_SELRANGE
 
2647 SL_INVERSE 
= _controls_
.SL_INVERSE
 
2648 class Slider(_core
.Control
): 
2649     """Proxy of C++ Slider class""" 
2650     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2651     __repr__ 
= _swig_repr
 
2652     def __init__(self
, *args
, **kwargs
):  
2654         __init__(self, Window parent, int id=-1, int value=0, int minValue=0,  
2655             int maxValue=100, Point pos=DefaultPosition,  
2656             Size size=DefaultSize, long style=SL_HORIZONTAL,  
2657             Validator validator=DefaultValidator,  
2658             String name=SliderNameStr) -> Slider 
2660         if kwargs
.has_key('point'): kwargs
['pos'] = kwargs
['point'];del kwargs
['point'] 
2661         _controls_
.Slider_swiginit(self
,_controls_
.new_Slider(*args
, **kwargs
)) 
2662         self
._setOORInfo
(self
) 
2664     def Create(*args
, **kwargs
): 
2666         Create(self, Window parent, int id=-1, int value=0, int minValue=0,  
2667             int maxValue=100, Point pos=DefaultPosition,  
2668             Size size=DefaultSize, long style=SL_HORIZONTAL,  
2669             Validator validator=DefaultValidator,  
2670             String name=SliderNameStr) -> bool 
2672         return _controls_
.Slider_Create(*args
, **kwargs
) 
2674     def GetValue(*args
, **kwargs
): 
2675         """GetValue(self) -> int""" 
2676         return _controls_
.Slider_GetValue(*args
, **kwargs
) 
2678     def SetValue(*args
, **kwargs
): 
2679         """SetValue(self, int value)""" 
2680         return _controls_
.Slider_SetValue(*args
, **kwargs
) 
2682     def SetRange(*args
, **kwargs
): 
2683         """SetRange(self, int minValue, int maxValue)""" 
2684         return _controls_
.Slider_SetRange(*args
, **kwargs
) 
2686     def GetMin(*args
, **kwargs
): 
2687         """GetMin(self) -> int""" 
2688         return _controls_
.Slider_GetMin(*args
, **kwargs
) 
2690     def GetMax(*args
, **kwargs
): 
2691         """GetMax(self) -> int""" 
2692         return _controls_
.Slider_GetMax(*args
, **kwargs
) 
2694     def SetMin(*args
, **kwargs
): 
2695         """SetMin(self, int minValue)""" 
2696         return _controls_
.Slider_SetMin(*args
, **kwargs
) 
2698     def SetMax(*args
, **kwargs
): 
2699         """SetMax(self, int maxValue)""" 
2700         return _controls_
.Slider_SetMax(*args
, **kwargs
) 
2702     def SetLineSize(*args
, **kwargs
): 
2703         """SetLineSize(self, int lineSize)""" 
2704         return _controls_
.Slider_SetLineSize(*args
, **kwargs
) 
2706     def SetPageSize(*args
, **kwargs
): 
2707         """SetPageSize(self, int pageSize)""" 
2708         return _controls_
.Slider_SetPageSize(*args
, **kwargs
) 
2710     def GetLineSize(*args
, **kwargs
): 
2711         """GetLineSize(self) -> int""" 
2712         return _controls_
.Slider_GetLineSize(*args
, **kwargs
) 
2714     def GetPageSize(*args
, **kwargs
): 
2715         """GetPageSize(self) -> int""" 
2716         return _controls_
.Slider_GetPageSize(*args
, **kwargs
) 
2718     def SetThumbLength(*args
, **kwargs
): 
2719         """SetThumbLength(self, int lenPixels)""" 
2720         return _controls_
.Slider_SetThumbLength(*args
, **kwargs
) 
2722     def GetThumbLength(*args
, **kwargs
): 
2723         """GetThumbLength(self) -> int""" 
2724         return _controls_
.Slider_GetThumbLength(*args
, **kwargs
) 
2726     def SetTickFreq(*args
, **kwargs
): 
2727         """SetTickFreq(self, int n, int pos=1)""" 
2728         return _controls_
.Slider_SetTickFreq(*args
, **kwargs
) 
2730     def GetTickFreq(*args
, **kwargs
): 
2731         """GetTickFreq(self) -> int""" 
2732         return _controls_
.Slider_GetTickFreq(*args
, **kwargs
) 
2734     def ClearTicks(*args
, **kwargs
): 
2735         """ClearTicks(self)""" 
2736         return _controls_
.Slider_ClearTicks(*args
, **kwargs
) 
2738     def SetTick(*args
, **kwargs
): 
2739         """SetTick(self, int tickPos)""" 
2740         return _controls_
.Slider_SetTick(*args
, **kwargs
) 
2742     def ClearSel(*args
, **kwargs
): 
2743         """ClearSel(self)""" 
2744         return _controls_
.Slider_ClearSel(*args
, **kwargs
) 
2746     def GetSelEnd(*args
, **kwargs
): 
2747         """GetSelEnd(self) -> int""" 
2748         return _controls_
.Slider_GetSelEnd(*args
, **kwargs
) 
2750     def GetSelStart(*args
, **kwargs
): 
2751         """GetSelStart(self) -> int""" 
2752         return _controls_
.Slider_GetSelStart(*args
, **kwargs
) 
2754     def SetSelection(*args
, **kwargs
): 
2755         """SetSelection(self, int min, int max)""" 
2756         return _controls_
.Slider_SetSelection(*args
, **kwargs
) 
2758     def GetClassDefaultAttributes(*args
, **kwargs
): 
2760         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2762         Get the default attributes for this class.  This is useful if you want 
2763         to use the same font or colour in your own control as in a standard 
2764         control -- which is a much better idea than hard coding specific 
2765         colours or fonts which might look completely out of place on the 
2766         user's system, especially if it uses themes. 
2768         The variant parameter is only relevant under Mac currently and is 
2769         ignore under other platforms. Under Mac, it will change the size of 
2770         the returned font. See `wx.Window.SetWindowVariant` for more about 
2773         return _controls_
.Slider_GetClassDefaultAttributes(*args
, **kwargs
) 
2775     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
2776     LineSize 
= property(GetLineSize
,SetLineSize
,doc
="See `GetLineSize` and `SetLineSize`")  
2777     Max 
= property(GetMax
,SetMax
,doc
="See `GetMax` and `SetMax`")  
2778     Min 
= property(GetMin
,SetMin
,doc
="See `GetMin` and `SetMin`")  
2779     PageSize 
= property(GetPageSize
,SetPageSize
,doc
="See `GetPageSize` and `SetPageSize`")  
2780     SelEnd 
= property(GetSelEnd
,doc
="See `GetSelEnd`")  
2781     SelStart 
= property(GetSelStart
,doc
="See `GetSelStart`")  
2782     ThumbLength 
= property(GetThumbLength
,SetThumbLength
,doc
="See `GetThumbLength` and `SetThumbLength`")  
2783     TickFreq 
= property(GetTickFreq
,SetTickFreq
,doc
="See `GetTickFreq` and `SetTickFreq`")  
2784     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
2785 _controls_
.Slider_swigregister(Slider
) 
2786 SliderNameStr 
= cvar
.SliderNameStr
 
2788 def PreSlider(*args
, **kwargs
): 
2789     """PreSlider() -> Slider""" 
2790     val 
= _controls_
.new_PreSlider(*args
, **kwargs
) 
2793 def Slider_GetClassDefaultAttributes(*args
, **kwargs
): 
2795     Slider_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2797     Get the default attributes for this class.  This is useful if you want 
2798     to use the same font or colour in your own control as in a standard 
2799     control -- which is a much better idea than hard coding specific 
2800     colours or fonts which might look completely out of place on the 
2801     user's system, especially if it uses themes. 
2803     The variant parameter is only relevant under Mac currently and is 
2804     ignore under other platforms. Under Mac, it will change the size of 
2805     the returned font. See `wx.Window.SetWindowVariant` for more about 
2808   return _controls_
.Slider_GetClassDefaultAttributes(*args
, **kwargs
) 
2810 #--------------------------------------------------------------------------- 
2812 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 
= _controls_
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
 
2813 EVT_TOGGLEBUTTON 
= wx
.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 1) 
2815 class ToggleButton(_core
.Control
): 
2816     """Proxy of C++ ToggleButton class""" 
2817     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2818     __repr__ 
= _swig_repr
 
2819     def __init__(self
, *args
, **kwargs
):  
2821         __init__(self, Window parent, int id=-1, String label=EmptyString,  
2822             Point pos=DefaultPosition, Size size=DefaultSize,  
2823             long style=0, Validator validator=DefaultValidator,  
2824             String name=ToggleButtonNameStr) -> ToggleButton 
2826         _controls_
.ToggleButton_swiginit(self
,_controls_
.new_ToggleButton(*args
, **kwargs
)) 
2827         self
._setOORInfo
(self
) 
2829     def Create(*args
, **kwargs
): 
2831         Create(self, Window parent, int id=-1, String label=EmptyString,  
2832             Point pos=DefaultPosition, Size size=DefaultSize,  
2833             long style=0, Validator validator=DefaultValidator,  
2834             String name=ToggleButtonNameStr) -> bool 
2836         return _controls_
.ToggleButton_Create(*args
, **kwargs
) 
2838     def SetValue(*args
, **kwargs
): 
2839         """SetValue(self, bool value)""" 
2840         return _controls_
.ToggleButton_SetValue(*args
, **kwargs
) 
2842     def GetValue(*args
, **kwargs
): 
2843         """GetValue(self) -> bool""" 
2844         return _controls_
.ToggleButton_GetValue(*args
, **kwargs
) 
2846     def GetClassDefaultAttributes(*args
, **kwargs
): 
2848         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2850         Get the default attributes for this class.  This is useful if you want 
2851         to use the same font or colour in your own control as in a standard 
2852         control -- which is a much better idea than hard coding specific 
2853         colours or fonts which might look completely out of place on the 
2854         user's system, especially if it uses themes. 
2856         The variant parameter is only relevant under Mac currently and is 
2857         ignore under other platforms. Under Mac, it will change the size of 
2858         the returned font. See `wx.Window.SetWindowVariant` for more about 
2861         return _controls_
.ToggleButton_GetClassDefaultAttributes(*args
, **kwargs
) 
2863     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
2864     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
2865 _controls_
.ToggleButton_swigregister(ToggleButton
) 
2866 ToggleButtonNameStr 
= cvar
.ToggleButtonNameStr
 
2868 def PreToggleButton(*args
, **kwargs
): 
2869     """PreToggleButton() -> ToggleButton""" 
2870     val 
= _controls_
.new_PreToggleButton(*args
, **kwargs
) 
2873 def ToggleButton_GetClassDefaultAttributes(*args
, **kwargs
): 
2875     ToggleButton_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
2877     Get the default attributes for this class.  This is useful if you want 
2878     to use the same font or colour in your own control as in a standard 
2879     control -- which is a much better idea than hard coding specific 
2880     colours or fonts which might look completely out of place on the 
2881     user's system, especially if it uses themes. 
2883     The variant parameter is only relevant under Mac currently and is 
2884     ignore under other platforms. Under Mac, it will change the size of 
2885     the returned font. See `wx.Window.SetWindowVariant` for more about 
2888   return _controls_
.ToggleButton_GetClassDefaultAttributes(*args
, **kwargs
) 
2890 #--------------------------------------------------------------------------- 
2892 BK_DEFAULT 
= _controls_
.BK_DEFAULT
 
2893 BK_TOP 
= _controls_
.BK_TOP
 
2894 BK_BOTTOM 
= _controls_
.BK_BOTTOM
 
2895 BK_LEFT 
= _controls_
.BK_LEFT
 
2896 BK_RIGHT 
= _controls_
.BK_RIGHT
 
2897 BK_ALIGN_MASK 
= _controls_
.BK_ALIGN_MASK
 
2898 BK_BUTTONBAR 
= _controls_
.BK_BUTTONBAR
 
2899 BK_HITTEST_NOWHERE 
= _controls_
.BK_HITTEST_NOWHERE
 
2900 BK_HITTEST_ONICON 
= _controls_
.BK_HITTEST_ONICON
 
2901 BK_HITTEST_ONLABEL 
= _controls_
.BK_HITTEST_ONLABEL
 
2902 BK_HITTEST_ONITEM 
= _controls_
.BK_HITTEST_ONITEM
 
2903 BK_HITTEST_ONPAGE 
= _controls_
.BK_HITTEST_ONPAGE
 
2904 class BookCtrlBase(_core
.Control
): 
2905     """Proxy of C++ BookCtrlBase class""" 
2906     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
2907     def __init__(self
): raise AttributeError, "No constructor defined" 
2908     __repr__ 
= _swig_repr
 
2909     def GetPageCount(*args
, **kwargs
): 
2910         """GetPageCount(self) -> size_t""" 
2911         return _controls_
.BookCtrlBase_GetPageCount(*args
, **kwargs
) 
2913     def GetPage(*args
, **kwargs
): 
2914         """GetPage(self, size_t n) -> Window""" 
2915         return _controls_
.BookCtrlBase_GetPage(*args
, **kwargs
) 
2917     def GetCurrentPage(*args
, **kwargs
): 
2918         """GetCurrentPage(self) -> Window""" 
2919         return _controls_
.BookCtrlBase_GetCurrentPage(*args
, **kwargs
) 
2921     def GetSelection(*args
, **kwargs
): 
2922         """GetSelection(self) -> int""" 
2923         return _controls_
.BookCtrlBase_GetSelection(*args
, **kwargs
) 
2925     def SetPageText(*args
, **kwargs
): 
2926         """SetPageText(self, size_t n, String strText) -> bool""" 
2927         return _controls_
.BookCtrlBase_SetPageText(*args
, **kwargs
) 
2929     def GetPageText(*args
, **kwargs
): 
2930         """GetPageText(self, size_t n) -> String""" 
2931         return _controls_
.BookCtrlBase_GetPageText(*args
, **kwargs
) 
2933     def SetImageList(*args
, **kwargs
): 
2934         """SetImageList(self, ImageList imageList)""" 
2935         return _controls_
.BookCtrlBase_SetImageList(*args
, **kwargs
) 
2937     def AssignImageList(*args
, **kwargs
): 
2938         """AssignImageList(self, ImageList imageList)""" 
2939         return _controls_
.BookCtrlBase_AssignImageList(*args
, **kwargs
) 
2941     def GetImageList(*args
, **kwargs
): 
2942         """GetImageList(self) -> ImageList""" 
2943         return _controls_
.BookCtrlBase_GetImageList(*args
, **kwargs
) 
2945     def GetPageImage(*args
, **kwargs
): 
2946         """GetPageImage(self, size_t n) -> int""" 
2947         return _controls_
.BookCtrlBase_GetPageImage(*args
, **kwargs
) 
2949     def SetPageImage(*args
, **kwargs
): 
2950         """SetPageImage(self, size_t n, int imageId) -> bool""" 
2951         return _controls_
.BookCtrlBase_SetPageImage(*args
, **kwargs
) 
2953     def SetPageSize(*args
, **kwargs
): 
2954         """SetPageSize(self, Size size)""" 
2955         return _controls_
.BookCtrlBase_SetPageSize(*args
, **kwargs
) 
2957     def CalcSizeFromPage(*args
, **kwargs
): 
2958         """CalcSizeFromPage(self, Size sizePage) -> Size""" 
2959         return _controls_
.BookCtrlBase_CalcSizeFromPage(*args
, **kwargs
) 
2961     def GetInternalBorder(*args
, **kwargs
): 
2962         """GetInternalBorder(self) -> unsigned int""" 
2963         return _controls_
.BookCtrlBase_GetInternalBorder(*args
, **kwargs
) 
2965     def SetInternalBorder(*args
, **kwargs
): 
2966         """SetInternalBorder(self, unsigned int internalBorder)""" 
2967         return _controls_
.BookCtrlBase_SetInternalBorder(*args
, **kwargs
) 
2969     def IsVertical(*args
, **kwargs
): 
2970         """IsVertical(self) -> bool""" 
2971         return _controls_
.BookCtrlBase_IsVertical(*args
, **kwargs
) 
2973     def SetControlMargin(*args
, **kwargs
): 
2974         """SetControlMargin(self, int margin)""" 
2975         return _controls_
.BookCtrlBase_SetControlMargin(*args
, **kwargs
) 
2977     def GetControlMargin(*args
, **kwargs
): 
2978         """GetControlMargin(self) -> int""" 
2979         return _controls_
.BookCtrlBase_GetControlMargin(*args
, **kwargs
) 
2981     def SetFitToCurrentPage(*args
, **kwargs
): 
2982         """SetFitToCurrentPage(self, bool fit)""" 
2983         return _controls_
.BookCtrlBase_SetFitToCurrentPage(*args
, **kwargs
) 
2985     def GetFitToCurrentPage(*args
, **kwargs
): 
2986         """GetFitToCurrentPage(self) -> bool""" 
2987         return _controls_
.BookCtrlBase_GetFitToCurrentPage(*args
, **kwargs
) 
2989     def GetControlSizer(*args
, **kwargs
): 
2990         """GetControlSizer(self) -> Sizer""" 
2991         return _controls_
.BookCtrlBase_GetControlSizer(*args
, **kwargs
) 
2993     def DeletePage(*args
, **kwargs
): 
2994         """DeletePage(self, size_t n) -> bool""" 
2995         return _controls_
.BookCtrlBase_DeletePage(*args
, **kwargs
) 
2997     def RemovePage(*args
, **kwargs
): 
2998         """RemovePage(self, size_t n) -> bool""" 
2999         return _controls_
.BookCtrlBase_RemovePage(*args
, **kwargs
) 
3001     def DeleteAllPages(*args
, **kwargs
): 
3002         """DeleteAllPages(self) -> bool""" 
3003         return _controls_
.BookCtrlBase_DeleteAllPages(*args
, **kwargs
) 
3005     def AddPage(*args
, **kwargs
): 
3006         """AddPage(self, Window page, String text, bool select=False, int imageId=-1) -> bool""" 
3007         return _controls_
.BookCtrlBase_AddPage(*args
, **kwargs
) 
3009     def InsertPage(*args
, **kwargs
): 
3011         InsertPage(self, size_t n, Window page, String text, bool select=False,  
3012             int imageId=-1) -> bool 
3014         return _controls_
.BookCtrlBase_InsertPage(*args
, **kwargs
) 
3016     def SetSelection(*args
, **kwargs
): 
3017         """SetSelection(self, size_t n) -> int""" 
3018         return _controls_
.BookCtrlBase_SetSelection(*args
, **kwargs
) 
3020     def ChangeSelection(*args
, **kwargs
): 
3021         """ChangeSelection(self, size_t n) -> int""" 
3022         return _controls_
.BookCtrlBase_ChangeSelection(*args
, **kwargs
) 
3024     def AdvanceSelection(*args
, **kwargs
): 
3025         """AdvanceSelection(self, bool forward=True)""" 
3026         return _controls_
.BookCtrlBase_AdvanceSelection(*args
, **kwargs
) 
3028     def HitTest(*args
, **kwargs
): 
3030         HitTest(Point pt) -> (tab, where) 
3032         Returns the page/tab which is hit, and flags indicating where using 
3033         wx.NB_HITTEST flags. 
3035         return _controls_
.BookCtrlBase_HitTest(*args
, **kwargs
) 
3037     def GetClassDefaultAttributes(*args
, **kwargs
): 
3039         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
3041         Get the default attributes for this class.  This is useful if you want 
3042         to use the same font or colour in your own control as in a standard 
3043         control -- which is a much better idea than hard coding specific 
3044         colours or fonts which might look completely out of place on the 
3045         user's system, especially if it uses themes. 
3047         The variant parameter is only relevant under Mac currently and is 
3048         ignore under other platforms. Under Mac, it will change the size of 
3049         the returned font. See `wx.Window.SetWindowVariant` for more about 
3052         return _controls_
.BookCtrlBase_GetClassDefaultAttributes(*args
, **kwargs
) 
3054     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
3055     ControlMargin 
= property(GetControlMargin
,SetControlMargin
,doc
="See `GetControlMargin` and `SetControlMargin`")  
3056     ControlSizer 
= property(GetControlSizer
,doc
="See `GetControlSizer`")  
3057     CurrentPage 
= property(GetCurrentPage
,doc
="See `GetCurrentPage`")  
3058     FitToCurrentPage 
= property(GetFitToCurrentPage
,SetFitToCurrentPage
,doc
="See `GetFitToCurrentPage` and `SetFitToCurrentPage`")  
3059     ImageList 
= property(GetImageList
,SetImageList
,doc
="See `GetImageList` and `SetImageList`")  
3060     InternalBorder 
= property(GetInternalBorder
,SetInternalBorder
,doc
="See `GetInternalBorder` and `SetInternalBorder`")  
3061     Page 
= property(GetPage
,doc
="See `GetPage`")  
3062     PageCount 
= property(GetPageCount
,doc
="See `GetPageCount`")  
3063     PageImage 
= property(GetPageImage
,SetPageImage
,doc
="See `GetPageImage` and `SetPageImage`")  
3064     PageText 
= property(GetPageText
,SetPageText
,doc
="See `GetPageText` and `SetPageText`")  
3065     Selection 
= property(GetSelection
,SetSelection
,doc
="See `GetSelection` and `SetSelection`")  
3066 _controls_
.BookCtrlBase_swigregister(BookCtrlBase
) 
3067 NotebookNameStr 
= cvar
.NotebookNameStr
 
3069 def BookCtrlBase_GetClassDefaultAttributes(*args
, **kwargs
): 
3071     BookCtrlBase_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
3073     Get the default attributes for this class.  This is useful if you want 
3074     to use the same font or colour in your own control as in a standard 
3075     control -- which is a much better idea than hard coding specific 
3076     colours or fonts which might look completely out of place on the 
3077     user's system, especially if it uses themes. 
3079     The variant parameter is only relevant under Mac currently and is 
3080     ignore under other platforms. Under Mac, it will change the size of 
3081     the returned font. See `wx.Window.SetWindowVariant` for more about 
3084   return _controls_
.BookCtrlBase_GetClassDefaultAttributes(*args
, **kwargs
) 
3086 class BookCtrlBaseEvent(_core
.NotifyEvent
): 
3087     """Proxy of C++ BookCtrlBaseEvent class""" 
3088     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3089     __repr__ 
= _swig_repr
 
3090     def __init__(self
, *args
, **kwargs
):  
3092         __init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=-1,  
3093             int nOldSel=-1) -> BookCtrlBaseEvent 
3095         _controls_
.BookCtrlBaseEvent_swiginit(self
,_controls_
.new_BookCtrlBaseEvent(*args
, **kwargs
)) 
3096     def GetSelection(*args
, **kwargs
): 
3098         GetSelection(self) -> int 
3100         Returns item index for a listbox or choice selection event (not valid 
3103         return _controls_
.BookCtrlBaseEvent_GetSelection(*args
, **kwargs
) 
3105     def SetSelection(*args
, **kwargs
): 
3106         """SetSelection(self, int nSel)""" 
3107         return _controls_
.BookCtrlBaseEvent_SetSelection(*args
, **kwargs
) 
3109     def GetOldSelection(*args
, **kwargs
): 
3110         """GetOldSelection(self) -> int""" 
3111         return _controls_
.BookCtrlBaseEvent_GetOldSelection(*args
, **kwargs
) 
3113     def SetOldSelection(*args
, **kwargs
): 
3114         """SetOldSelection(self, int nOldSel)""" 
3115         return _controls_
.BookCtrlBaseEvent_SetOldSelection(*args
, **kwargs
) 
3117     OldSelection 
= property(GetOldSelection
,SetOldSelection
,doc
="See `GetOldSelection` and `SetOldSelection`")  
3118     Selection 
= property(GetSelection
,SetSelection
,doc
="See `GetSelection` and `SetSelection`")  
3119 _controls_
.BookCtrlBaseEvent_swigregister(BookCtrlBaseEvent
) 
3121 #--------------------------------------------------------------------------- 
3123 NB_FIXEDWIDTH 
= _controls_
.NB_FIXEDWIDTH
 
3124 NB_TOP 
= _controls_
.NB_TOP
 
3125 NB_LEFT 
= _controls_
.NB_LEFT
 
3126 NB_RIGHT 
= _controls_
.NB_RIGHT
 
3127 NB_BOTTOM 
= _controls_
.NB_BOTTOM
 
3128 NB_MULTILINE 
= _controls_
.NB_MULTILINE
 
3129 NB_NOPAGETHEME 
= _controls_
.NB_NOPAGETHEME
 
3130 NB_HITTEST_NOWHERE 
= _controls_
.NB_HITTEST_NOWHERE
 
3131 NB_HITTEST_ONICON 
= _controls_
.NB_HITTEST_ONICON
 
3132 NB_HITTEST_ONLABEL 
= _controls_
.NB_HITTEST_ONLABEL
 
3133 NB_HITTEST_ONITEM 
= _controls_
.NB_HITTEST_ONITEM
 
3134 NB_HITTEST_ONPAGE 
= _controls_
.NB_HITTEST_ONPAGE
 
3135 class Notebook(BookCtrlBase
): 
3136     """Proxy of C++ Notebook class""" 
3137     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3138     __repr__ 
= _swig_repr
 
3139     def __init__(self
, *args
, **kwargs
):  
3141         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
3142             Size size=DefaultSize, long style=0, String name=NotebookNameStr) -> Notebook 
3144         _controls_
.Notebook_swiginit(self
,_controls_
.new_Notebook(*args
, **kwargs
)) 
3145         self
._setOORInfo
(self
) 
3147     def Create(*args
, **kwargs
): 
3149         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
3150             Size size=DefaultSize, long style=0, String name=NotebookNameStr) -> bool 
3152         return _controls_
.Notebook_Create(*args
, **kwargs
) 
3154     def GetRowCount(*args
, **kwargs
): 
3155         """GetRowCount(self) -> int""" 
3156         return _controls_
.Notebook_GetRowCount(*args
, **kwargs
) 
3158     def SetPadding(*args
, **kwargs
): 
3159         """SetPadding(self, Size padding)""" 
3160         return _controls_
.Notebook_SetPadding(*args
, **kwargs
) 
3162     def SetTabSize(*args
, **kwargs
): 
3163         """SetTabSize(self, Size sz)""" 
3164         return _controls_
.Notebook_SetTabSize(*args
, **kwargs
) 
3166     def GetThemeBackgroundColour(*args
, **kwargs
): 
3167         """GetThemeBackgroundColour(self) -> Colour""" 
3168         return _controls_
.Notebook_GetThemeBackgroundColour(*args
, **kwargs
) 
3170     def GetClassDefaultAttributes(*args
, **kwargs
): 
3172         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
3174         Get the default attributes for this class.  This is useful if you want 
3175         to use the same font or colour in your own control as in a standard 
3176         control -- which is a much better idea than hard coding specific 
3177         colours or fonts which might look completely out of place on the 
3178         user's system, especially if it uses themes. 
3180         The variant parameter is only relevant under Mac currently and is 
3181         ignore under other platforms. Under Mac, it will change the size of 
3182         the returned font. See `wx.Window.SetWindowVariant` for more about 
3185         return _controls_
.Notebook_GetClassDefaultAttributes(*args
, **kwargs
) 
3187     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
3188     def SendPageChangingEvent(*args
, **kwargs
): 
3189         """SendPageChangingEvent(self, int nPage) -> bool""" 
3190         return _controls_
.Notebook_SendPageChangingEvent(*args
, **kwargs
) 
3192     def SendPageChangedEvent(*args
, **kwargs
): 
3193         """SendPageChangedEvent(self, int nPageOld, int nPageNew=-1)""" 
3194         return _controls_
.Notebook_SendPageChangedEvent(*args
, **kwargs
) 
3196     RowCount 
= property(GetRowCount
,doc
="See `GetRowCount`")  
3197     ThemeBackgroundColour 
= property(GetThemeBackgroundColour
,doc
="See `GetThemeBackgroundColour`")  
3198 _controls_
.Notebook_swigregister(Notebook
) 
3200 def PreNotebook(*args
, **kwargs
): 
3201     """PreNotebook() -> Notebook""" 
3202     val 
= _controls_
.new_PreNotebook(*args
, **kwargs
) 
3205 def Notebook_GetClassDefaultAttributes(*args
, **kwargs
): 
3207     Notebook_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
3209     Get the default attributes for this class.  This is useful if you want 
3210     to use the same font or colour in your own control as in a standard 
3211     control -- which is a much better idea than hard coding specific 
3212     colours or fonts which might look completely out of place on the 
3213     user's system, especially if it uses themes. 
3215     The variant parameter is only relevant under Mac currently and is 
3216     ignore under other platforms. Under Mac, it will change the size of 
3217     the returned font. See `wx.Window.SetWindowVariant` for more about 
3220   return _controls_
.Notebook_GetClassDefaultAttributes(*args
, **kwargs
) 
3222 class NotebookEvent(BookCtrlBaseEvent
): 
3223     """Proxy of C++ NotebookEvent class""" 
3224     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3225     __repr__ 
= _swig_repr
 
3226     def __init__(self
, *args
, **kwargs
):  
3228         __init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=-1,  
3229             int nOldSel=-1) -> NotebookEvent 
3231         _controls_
.NotebookEvent_swiginit(self
,_controls_
.new_NotebookEvent(*args
, **kwargs
)) 
3232 _controls_
.NotebookEvent_swigregister(NotebookEvent
) 
3234 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED 
= _controls_
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
 
3235 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING 
= _controls_
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
 
3237 EVT_NOTEBOOK_PAGE_CHANGED  
= wx
.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 1 ) 
3238 EVT_NOTEBOOK_PAGE_CHANGING 
= wx
.PyEventBinder( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 1 ) 
3240 #---------------------------------------------------------------------------- 
3242 class NotebookPage(wx
.Panel
): 
3244     There is an old (and apparently unsolvable) bug when placing a 
3245     window with a nonstandard background colour in a wx.Notebook on 
3246     wxGTK1, as the notbooks's background colour would always be used 
3247     when the window is refreshed.  The solution is to place a panel in 
3248     the notbook and the coloured window on the panel, sized to cover 
3249     the panel.  This simple class does that for you, just put an 
3250     instance of this in the notebook and make your regular window a 
3251     child of this one and it will handle the resize for you. 
3253     def __init__(self
, parent
, id=-1, 
3254                  pos
=wx
.DefaultPosition
, size
=wx
.DefaultSize
, 
3255                  style
=wx
.TAB_TRAVERSAL
, name
="panel"): 
3256         wx
.Panel
.__init
__(self
, parent
, id, pos
, size
, style
, name
) 
3258         self
.Bind(wx
.EVT_SIZE
, self
.OnSize
) 
3260     def OnSize(self
, evt
): 
3261         if self
.child 
is None: 
3262             children 
= self
.GetChildren() 
3264                 self
.child 
= children
[0] 
3266             self
.child
.SetPosition((0,0)) 
3267             self
.child
.SetSize(self
.GetSize()) 
3270 #--------------------------------------------------------------------------- 
3272 LB_DEFAULT 
= _controls_
.LB_DEFAULT
 
3273 LB_TOP 
= _controls_
.LB_TOP
 
3274 LB_BOTTOM 
= _controls_
.LB_BOTTOM
 
3275 LB_LEFT 
= _controls_
.LB_LEFT
 
3276 LB_RIGHT 
= _controls_
.LB_RIGHT
 
3277 LB_ALIGN_MASK 
= _controls_
.LB_ALIGN_MASK
 
3278 class Listbook(BookCtrlBase
): 
3279     """Proxy of C++ Listbook class""" 
3280     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3281     __repr__ 
= _swig_repr
 
3282     def __init__(self
, *args
, **kwargs
):  
3284         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
3285             Size size=DefaultSize, long style=0, String name=EmptyString) -> Listbook 
3287         _controls_
.Listbook_swiginit(self
,_controls_
.new_Listbook(*args
, **kwargs
)) 
3288         self
._setOORInfo
(self
) 
3290     def Create(*args
, **kwargs
): 
3292         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
3293             Size size=DefaultSize, long style=0, String name=EmptyString) -> bool 
3295         return _controls_
.Listbook_Create(*args
, **kwargs
) 
3297     def GetListView(*args
, **kwargs
): 
3298         """GetListView(self) -> ListView""" 
3299         return _controls_
.Listbook_GetListView(*args
, **kwargs
) 
3301     ListView 
= property(GetListView
,doc
="See `GetListView`")  
3302 _controls_
.Listbook_swigregister(Listbook
) 
3304 def PreListbook(*args
, **kwargs
): 
3305     """PreListbook() -> Listbook""" 
3306     val 
= _controls_
.new_PreListbook(*args
, **kwargs
) 
3309 class ListbookEvent(BookCtrlBaseEvent
): 
3310     """Proxy of C++ ListbookEvent class""" 
3311     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3312     __repr__ 
= _swig_repr
 
3313     def __init__(self
, *args
, **kwargs
):  
3315         __init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=-1,  
3316             int nOldSel=-1) -> ListbookEvent 
3318         _controls_
.ListbookEvent_swiginit(self
,_controls_
.new_ListbookEvent(*args
, **kwargs
)) 
3319 _controls_
.ListbookEvent_swigregister(ListbookEvent
) 
3321 wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED 
= _controls_
.wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
 
3322 wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING 
= _controls_
.wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
 
3323 EVT_LISTBOOK_PAGE_CHANGED  
= wx
.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 1 ) 
3324 EVT_LISTBOOK_PAGE_CHANGING 
= wx
.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 1 ) 
3326 CHB_DEFAULT 
= _controls_
.CHB_DEFAULT
 
3327 CHB_TOP 
= _controls_
.CHB_TOP
 
3328 CHB_BOTTOM 
= _controls_
.CHB_BOTTOM
 
3329 CHB_LEFT 
= _controls_
.CHB_LEFT
 
3330 CHB_RIGHT 
= _controls_
.CHB_RIGHT
 
3331 CHB_ALIGN_MASK 
= _controls_
.CHB_ALIGN_MASK
 
3332 class Choicebook(BookCtrlBase
): 
3333     """Proxy of C++ Choicebook class""" 
3334     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3335     __repr__ 
= _swig_repr
 
3336     def __init__(self
, *args
, **kwargs
):  
3338         __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,  
3339             long style=0, String name=EmptyString) -> Choicebook 
3341         _controls_
.Choicebook_swiginit(self
,_controls_
.new_Choicebook(*args
, **kwargs
)) 
3342         self
._setOORInfo
(self
) 
3344     def Create(*args
, **kwargs
): 
3346         Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,  
3347             long style=0, String name=EmptyString) -> bool 
3349         return _controls_
.Choicebook_Create(*args
, **kwargs
) 
3351     def GetChoiceCtrl(*args
, **kwargs
): 
3352         """GetChoiceCtrl(self) -> Choice""" 
3353         return _controls_
.Choicebook_GetChoiceCtrl(*args
, **kwargs
) 
3355     ChoiceCtrl 
= property(GetChoiceCtrl
,doc
="See `GetChoiceCtrl`")  
3356 _controls_
.Choicebook_swigregister(Choicebook
) 
3358 def PreChoicebook(*args
, **kwargs
): 
3359     """PreChoicebook() -> Choicebook""" 
3360     val 
= _controls_
.new_PreChoicebook(*args
, **kwargs
) 
3363 class ChoicebookEvent(BookCtrlBaseEvent
): 
3364     """Proxy of C++ ChoicebookEvent class""" 
3365     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3366     __repr__ 
= _swig_repr
 
3367     def __init__(self
, *args
, **kwargs
):  
3369         __init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=-1,  
3370             int nOldSel=-1) -> ChoicebookEvent 
3372         _controls_
.ChoicebookEvent_swiginit(self
,_controls_
.new_ChoicebookEvent(*args
, **kwargs
)) 
3373 _controls_
.ChoicebookEvent_swigregister(ChoicebookEvent
) 
3375 wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED 
= _controls_
.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
 
3376 wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING 
= _controls_
.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
 
3377 EVT_CHOICEBOOK_PAGE_CHANGED  
= wx
.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
, 1 ) 
3378 EVT_CHOICEBOOK_PAGE_CHANGING 
= wx
.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
, 1 ) 
3380 #--------------------------------------------------------------------------- 
3382 class Treebook(BookCtrlBase
): 
3383     """Proxy of C++ Treebook class""" 
3384     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3385     __repr__ 
= _swig_repr
 
3386     def __init__(self
, *args
, **kwargs
):  
3388         __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,  
3389             long style=BK_DEFAULT,  
3390             String name=EmptyString) -> Treebook 
3392         _controls_
.Treebook_swiginit(self
,_controls_
.new_Treebook(*args
, **kwargs
)) 
3393         self
._setOORInfo
(self
) 
3395     def Create(*args
, **kwargs
): 
3397         Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,  
3398             long style=BK_DEFAULT,  
3399             String name=EmptyString) -> bool 
3401         return _controls_
.Treebook_Create(*args
, **kwargs
) 
3403     def InsertSubPage(*args
, **kwargs
): 
3405         InsertSubPage(self, size_t pos, Window page, String text, bool select=False,  
3406             int imageId=NOT_FOUND) -> bool 
3408         return _controls_
.Treebook_InsertSubPage(*args
, **kwargs
) 
3410     def AddSubPage(*args
, **kwargs
): 
3411         """AddSubPage(self, Window page, String text, bool select=False, int imageId=NOT_FOUND) -> bool""" 
3412         return _controls_
.Treebook_AddSubPage(*args
, **kwargs
) 
3414     def IsNodeExpanded(*args
, **kwargs
): 
3415         """IsNodeExpanded(self, size_t pos) -> bool""" 
3416         return _controls_
.Treebook_IsNodeExpanded(*args
, **kwargs
) 
3418     def ExpandNode(*args
, **kwargs
): 
3419         """ExpandNode(self, size_t pos, bool expand=True) -> bool""" 
3420         return _controls_
.Treebook_ExpandNode(*args
, **kwargs
) 
3422     def CollapseNode(*args
, **kwargs
): 
3423         """CollapseNode(self, size_t pos) -> bool""" 
3424         return _controls_
.Treebook_CollapseNode(*args
, **kwargs
) 
3426     def GetPageParent(*args
, **kwargs
): 
3427         """GetPageParent(self, size_t pos) -> int""" 
3428         return _controls_
.Treebook_GetPageParent(*args
, **kwargs
) 
3430     def GetTreeCtrl(*args
, **kwargs
): 
3431         """GetTreeCtrl(self) -> TreeCtrl""" 
3432         return _controls_
.Treebook_GetTreeCtrl(*args
, **kwargs
) 
3434     TreeCtrl 
= property(GetTreeCtrl
,doc
="See `GetTreeCtrl`")  
3435 _controls_
.Treebook_swigregister(Treebook
) 
3437 def PreTreebook(*args
, **kwargs
): 
3438     """PreTreebook() -> Treebook""" 
3439     val 
= _controls_
.new_PreTreebook(*args
, **kwargs
) 
3442 class TreebookEvent(BookCtrlBaseEvent
): 
3443     """Proxy of C++ TreebookEvent class""" 
3444     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3445     __repr__ 
= _swig_repr
 
3446     def __init__(self
, *args
, **kwargs
):  
3448         __init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=NOT_FOUND,  
3449             int nOldSel=NOT_FOUND) -> TreebookEvent 
3451         _controls_
.TreebookEvent_swiginit(self
,_controls_
.new_TreebookEvent(*args
, **kwargs
)) 
3452 _controls_
.TreebookEvent_swigregister(TreebookEvent
) 
3454 wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED 
= _controls_
.wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
 
3455 wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING 
= _controls_
.wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
 
3456 wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED 
= _controls_
.wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
 
3457 wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED 
= _controls_
.wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
 
3458 EVT_TREEBOOK_PAGE_CHANGED
= wx
.PyEventBinder( wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
, 1 ) 
3459 EVT_TREEBOOK_PAGE_CHANGING
= wx
.PyEventBinder( wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
, 1) 
3460 EVT_TREEBOOK_NODE_COLLAPSED
= wx
.PyEventBinder( wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
, 1 ) 
3461 EVT_TREEBOOK_NODE_EXPANDED
= wx
.PyEventBinder( wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
, 1 ) 
3463 #--------------------------------------------------------------------------- 
3465 class Toolbook(BookCtrlBase
): 
3466     """Proxy of C++ Toolbook class""" 
3467     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3468     __repr__ 
= _swig_repr
 
3469     def __init__(self
, *args
, **kwargs
):  
3471         __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,  
3472             long style=BK_DEFAULT,  
3473             String name=EmptyString) -> Toolbook 
3475         _controls_
.Toolbook_swiginit(self
,_controls_
.new_Toolbook(*args
, **kwargs
)) 
3476         self
._setOORInfo
(self
) 
3478     def Create(*args
, **kwargs
): 
3480         Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,  
3481             long style=0, String name=wxEmptyString) -> bool 
3483         return _controls_
.Toolbook_Create(*args
, **kwargs
) 
3485     def GetToolBar(*args
, **kwargs
): 
3486         """GetToolBar(self) -> ToolBarBase""" 
3487         return _controls_
.Toolbook_GetToolBar(*args
, **kwargs
) 
3489     def Realize(*args
, **kwargs
): 
3491         return _controls_
.Toolbook_Realize(*args
, **kwargs
) 
3493     ToolBar 
= property(GetToolBar
,doc
="See `GetToolBar`")  
3494 _controls_
.Toolbook_swigregister(Toolbook
) 
3496 def PreToolbook(*args
, **kwargs
): 
3497     """PreToolbook() -> Toolbook""" 
3498     val 
= _controls_
.new_PreToolbook(*args
, **kwargs
) 
3501 class ToolbookEvent(BookCtrlBaseEvent
): 
3502     """Proxy of C++ ToolbookEvent class""" 
3503     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3504     __repr__ 
= _swig_repr
 
3505     def __init__(self
, *args
, **kwargs
):  
3507         __init__(self, EventType commandType=wxEVT_NULL, int id=0, int nSel=NOT_FOUND,  
3508             int nOldSel=NOT_FOUND) -> ToolbookEvent 
3510         _controls_
.ToolbookEvent_swiginit(self
,_controls_
.new_ToolbookEvent(*args
, **kwargs
)) 
3511 _controls_
.ToolbookEvent_swigregister(ToolbookEvent
) 
3513 wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED 
= _controls_
.wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
 
3514 wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING 
= _controls_
.wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
 
3515 EVT_TOOLBOOK_PAGE_CHANGED 
= wx
.PyEventBinder( wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
, 1) 
3516 EVT_TOOLBOOK_PAGE_CHANGING 
= wx
.PyEventBinder( wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
, 1) 
3518 #--------------------------------------------------------------------------- 
3520 TOOL_STYLE_BUTTON 
= _controls_
.TOOL_STYLE_BUTTON
 
3521 TOOL_STYLE_SEPARATOR 
= _controls_
.TOOL_STYLE_SEPARATOR
 
3522 TOOL_STYLE_CONTROL 
= _controls_
.TOOL_STYLE_CONTROL
 
3523 TB_HORIZONTAL 
= _controls_
.TB_HORIZONTAL
 
3524 TB_VERTICAL 
= _controls_
.TB_VERTICAL
 
3525 TB_TOP 
= _controls_
.TB_TOP
 
3526 TB_LEFT 
= _controls_
.TB_LEFT
 
3527 TB_BOTTOM 
= _controls_
.TB_BOTTOM
 
3528 TB_RIGHT 
= _controls_
.TB_RIGHT
 
3529 TB_3DBUTTONS 
= _controls_
.TB_3DBUTTONS
 
3530 TB_FLAT 
= _controls_
.TB_FLAT
 
3531 TB_DOCKABLE 
= _controls_
.TB_DOCKABLE
 
3532 TB_NOICONS 
= _controls_
.TB_NOICONS
 
3533 TB_TEXT 
= _controls_
.TB_TEXT
 
3534 TB_NODIVIDER 
= _controls_
.TB_NODIVIDER
 
3535 TB_NOALIGN 
= _controls_
.TB_NOALIGN
 
3536 TB_HORZ_LAYOUT 
= _controls_
.TB_HORZ_LAYOUT
 
3537 TB_HORZ_TEXT 
= _controls_
.TB_HORZ_TEXT
 
3538 TB_NO_TOOLTIPS 
= _controls_
.TB_NO_TOOLTIPS
 
3539 class ToolBarToolBase(_core
.Object
): 
3540     """Proxy of C++ ToolBarToolBase class""" 
3541     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3542     def __init__(self
): raise AttributeError, "No constructor defined" 
3543     __repr__ 
= _swig_repr
 
3544     def GetId(*args
, **kwargs
): 
3545         """GetId(self) -> int""" 
3546         return _controls_
.ToolBarToolBase_GetId(*args
, **kwargs
) 
3548     def GetControl(*args
, **kwargs
): 
3549         """GetControl(self) -> Control""" 
3550         return _controls_
.ToolBarToolBase_GetControl(*args
, **kwargs
) 
3552     def GetToolBar(*args
, **kwargs
): 
3553         """GetToolBar(self) -> ToolBarBase""" 
3554         return _controls_
.ToolBarToolBase_GetToolBar(*args
, **kwargs
) 
3556     def IsButton(*args
, **kwargs
): 
3557         """IsButton(self) -> int""" 
3558         return _controls_
.ToolBarToolBase_IsButton(*args
, **kwargs
) 
3560     def IsControl(*args
, **kwargs
): 
3561         """IsControl(self) -> int""" 
3562         return _controls_
.ToolBarToolBase_IsControl(*args
, **kwargs
) 
3564     def IsSeparator(*args
, **kwargs
): 
3565         """IsSeparator(self) -> int""" 
3566         return _controls_
.ToolBarToolBase_IsSeparator(*args
, **kwargs
) 
3568     def GetStyle(*args
, **kwargs
): 
3569         """GetStyle(self) -> int""" 
3570         return _controls_
.ToolBarToolBase_GetStyle(*args
, **kwargs
) 
3572     def GetKind(*args
, **kwargs
): 
3573         """GetKind(self) -> int""" 
3574         return _controls_
.ToolBarToolBase_GetKind(*args
, **kwargs
) 
3576     def IsEnabled(*args
, **kwargs
): 
3577         """IsEnabled(self) -> bool""" 
3578         return _controls_
.ToolBarToolBase_IsEnabled(*args
, **kwargs
) 
3580     def IsToggled(*args
, **kwargs
): 
3581         """IsToggled(self) -> bool""" 
3582         return _controls_
.ToolBarToolBase_IsToggled(*args
, **kwargs
) 
3584     def CanBeToggled(*args
, **kwargs
): 
3585         """CanBeToggled(self) -> bool""" 
3586         return _controls_
.ToolBarToolBase_CanBeToggled(*args
, **kwargs
) 
3588     def GetNormalBitmap(*args
, **kwargs
): 
3589         """GetNormalBitmap(self) -> Bitmap""" 
3590         return _controls_
.ToolBarToolBase_GetNormalBitmap(*args
, **kwargs
) 
3592     def GetDisabledBitmap(*args
, **kwargs
): 
3593         """GetDisabledBitmap(self) -> Bitmap""" 
3594         return _controls_
.ToolBarToolBase_GetDisabledBitmap(*args
, **kwargs
) 
3596     def GetBitmap(*args
, **kwargs
): 
3597         """GetBitmap(self) -> Bitmap""" 
3598         return _controls_
.ToolBarToolBase_GetBitmap(*args
, **kwargs
) 
3600     def GetLabel(*args
, **kwargs
): 
3601         """GetLabel(self) -> String""" 
3602         return _controls_
.ToolBarToolBase_GetLabel(*args
, **kwargs
) 
3604     def GetShortHelp(*args
, **kwargs
): 
3605         """GetShortHelp(self) -> String""" 
3606         return _controls_
.ToolBarToolBase_GetShortHelp(*args
, **kwargs
) 
3608     def GetLongHelp(*args
, **kwargs
): 
3609         """GetLongHelp(self) -> String""" 
3610         return _controls_
.ToolBarToolBase_GetLongHelp(*args
, **kwargs
) 
3612     def Enable(*args
, **kwargs
): 
3613         """Enable(self, bool enable) -> bool""" 
3614         return _controls_
.ToolBarToolBase_Enable(*args
, **kwargs
) 
3616     def Toggle(*args
, **kwargs
): 
3618         return _controls_
.ToolBarToolBase_Toggle(*args
, **kwargs
) 
3620     def SetToggle(*args
, **kwargs
): 
3621         """SetToggle(self, bool toggle) -> bool""" 
3622         return _controls_
.ToolBarToolBase_SetToggle(*args
, **kwargs
) 
3624     def SetShortHelp(*args
, **kwargs
): 
3625         """SetShortHelp(self, String help) -> bool""" 
3626         return _controls_
.ToolBarToolBase_SetShortHelp(*args
, **kwargs
) 
3628     def SetLongHelp(*args
, **kwargs
): 
3629         """SetLongHelp(self, String help) -> bool""" 
3630         return _controls_
.ToolBarToolBase_SetLongHelp(*args
, **kwargs
) 
3632     def SetNormalBitmap(*args
, **kwargs
): 
3633         """SetNormalBitmap(self, Bitmap bmp)""" 
3634         return _controls_
.ToolBarToolBase_SetNormalBitmap(*args
, **kwargs
) 
3636     def SetDisabledBitmap(*args
, **kwargs
): 
3637         """SetDisabledBitmap(self, Bitmap bmp)""" 
3638         return _controls_
.ToolBarToolBase_SetDisabledBitmap(*args
, **kwargs
) 
3640     def SetLabel(*args
, **kwargs
): 
3641         """SetLabel(self, String label)""" 
3642         return _controls_
.ToolBarToolBase_SetLabel(*args
, **kwargs
) 
3644     def Detach(*args
, **kwargs
): 
3646         return _controls_
.ToolBarToolBase_Detach(*args
, **kwargs
) 
3648     def Attach(*args
, **kwargs
): 
3649         """Attach(self, ToolBarBase tbar)""" 
3650         return _controls_
.ToolBarToolBase_Attach(*args
, **kwargs
) 
3652     def GetClientData(*args
, **kwargs
): 
3653         """GetClientData(self) -> PyObject""" 
3654         return _controls_
.ToolBarToolBase_GetClientData(*args
, **kwargs
) 
3656     def SetClientData(*args
, **kwargs
): 
3657         """SetClientData(self, PyObject clientData)""" 
3658         return _controls_
.ToolBarToolBase_SetClientData(*args
, **kwargs
) 
3660     GetBitmap1 
= GetNormalBitmap
 
3661     GetBitmap2 
= GetDisabledBitmap
 
3662     SetBitmap1 
= SetNormalBitmap
 
3663     SetBitmap2 
= SetDisabledBitmap
 
3665     Bitmap 
= property(GetBitmap
,doc
="See `GetBitmap`")  
3666     ClientData 
= property(GetClientData
,SetClientData
,doc
="See `GetClientData` and `SetClientData`")  
3667     Control 
= property(GetControl
,doc
="See `GetControl`")  
3668     DisabledBitmap 
= property(GetDisabledBitmap
,SetDisabledBitmap
,doc
="See `GetDisabledBitmap` and `SetDisabledBitmap`")  
3669     Id 
= property(GetId
,doc
="See `GetId`")  
3670     Kind 
= property(GetKind
,doc
="See `GetKind`")  
3671     Label 
= property(GetLabel
,SetLabel
,doc
="See `GetLabel` and `SetLabel`")  
3672     LongHelp 
= property(GetLongHelp
,SetLongHelp
,doc
="See `GetLongHelp` and `SetLongHelp`")  
3673     NormalBitmap 
= property(GetNormalBitmap
,SetNormalBitmap
,doc
="See `GetNormalBitmap` and `SetNormalBitmap`")  
3674     ShortHelp 
= property(GetShortHelp
,SetShortHelp
,doc
="See `GetShortHelp` and `SetShortHelp`")  
3675     Style 
= property(GetStyle
,doc
="See `GetStyle`")  
3676     ToolBar 
= property(GetToolBar
,doc
="See `GetToolBar`")  
3677 _controls_
.ToolBarToolBase_swigregister(ToolBarToolBase
) 
3679 class ToolBarBase(_core
.Control
): 
3680     """Proxy of C++ ToolBarBase class""" 
3681     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
3682     def __init__(self
): raise AttributeError, "No constructor defined" 
3683     __repr__ 
= _swig_repr
 
3684     def DoAddTool(*args
, **kwargs
): 
3686         DoAddTool(self, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap,  
3687             int kind=ITEM_NORMAL, String shortHelp=EmptyString,  
3688             String longHelp=EmptyString,  
3689             PyObject clientData=None) -> ToolBarToolBase 
3691         return _controls_
.ToolBarBase_DoAddTool(*args
, **kwargs
) 
3693     def DoInsertTool(*args
, **kwargs
): 
3695         DoInsertTool(self, size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap,  
3696             int kind=ITEM_NORMAL,  
3697             String shortHelp=EmptyString, String longHelp=EmptyString,  
3698             PyObject clientData=None) -> ToolBarToolBase 
3700         return _controls_
.ToolBarBase_DoInsertTool(*args
, **kwargs
) 
3702     # These match the original Add methods for this class, kept for 
3703     # backwards compatibility with versions < 2.3.3. 
3706     def AddTool(self
, id, bitmap
, 
3707                 pushedBitmap 
= wx
.NullBitmap
, 
3710                 shortHelpString 
= '', 
3711                 longHelpString 
= '') : 
3712         '''Old style method to add a tool to the toolbar.''' 
3713         kind 
= wx
.ITEM_NORMAL
 
3714         if isToggle
: kind 
= wx
.ITEM_CHECK
 
3715         return self
.DoAddTool(id, '', bitmap
, pushedBitmap
, kind
, 
3716                               shortHelpString
, longHelpString
, clientData
) 
3718     def AddSimpleTool(self
, id, bitmap
, 
3719                       shortHelpString 
= '', 
3720                       longHelpString 
= '', 
3722         '''Old style method to add a tool to the toolbar.''' 
3723         kind 
= wx
.ITEM_NORMAL
 
3724         if isToggle
: kind 
= wx
.ITEM_CHECK
 
3725         return self
.DoAddTool(id, '', bitmap
, wx
.NullBitmap
, kind
, 
3726                               shortHelpString
, longHelpString
, None) 
3728     def InsertTool(self
, pos
, id, bitmap
, 
3729                    pushedBitmap 
= wx
.NullBitmap
, 
3732                    shortHelpString 
= '', 
3733                    longHelpString 
= ''): 
3734         '''Old style method to insert a tool in the toolbar.''' 
3735         kind 
= wx
.ITEM_NORMAL
 
3736         if isToggle
: kind 
= wx
.ITEM_CHECK
 
3737         return self
.DoInsertTool(pos
, id, '', bitmap
, pushedBitmap
, kind
, 
3738                                  shortHelpString
, longHelpString
, clientData
) 
3740     def InsertSimpleTool(self
, pos
, id, bitmap
, 
3741                          shortHelpString 
= '', 
3742                          longHelpString 
= '', 
3744         '''Old style method to insert a tool in the toolbar.''' 
3745         kind 
= wx
.ITEM_NORMAL
 
3746         if isToggle
: kind 
= wx
.ITEM_CHECK
 
3747         return self
.DoInsertTool(pos
, id, '', bitmap
, wx
.NullBitmap
, kind
, 
3748                                  shortHelpString
, longHelpString
, None) 
3751     # The following are the new toolbar Add methods starting with 
3752     # 2.3.3.  They are renamed to have 'Label' in the name so as to be 
3753     # able to keep backwards compatibility with using the above 
3754     # methods.  Eventually these should migrate to be the methods used 
3755     # primarily and lose the 'Label' in the name... 
3757     def AddLabelTool(self
, id, label
, bitmap
, 
3758                      bmpDisabled 
= wx
.NullBitmap
, 
3759                      kind 
= wx
.ITEM_NORMAL
, 
3760                      shortHelp 
= '', longHelp 
= '', 
3763         The full AddTool() function. 
3765         If bmpDisabled is wx.NullBitmap, a shadowed version of the normal bitmap 
3766         is created and used as the disabled image. 
3768         return self
.DoAddTool(id, label
, bitmap
, bmpDisabled
, kind
, 
3769                               shortHelp
, longHelp
, clientData
) 
3772     def InsertLabelTool(self
, pos
, id, label
, bitmap
, 
3773                         bmpDisabled 
= wx
.NullBitmap
, 
3774                         kind 
= wx
.ITEM_NORMAL
, 
3775                         shortHelp 
= '', longHelp 
= '', 
3778         Insert the new tool at the given position, if pos == GetToolsCount(), it 
3779         is equivalent to AddTool() 
3781         return self
.DoInsertTool(pos
, id, label
, bitmap
, bmpDisabled
, kind
, 
3782                                  shortHelp
, longHelp
, clientData
) 
3784     def AddCheckLabelTool(self
, id, label
, bitmap
, 
3785                         bmpDisabled 
= wx
.NullBitmap
, 
3786                         shortHelp 
= '', longHelp 
= '', 
3788         '''Add a check tool, i.e. a tool which can be toggled''' 
3789         return self
.DoAddTool(id, label
, bitmap
, bmpDisabled
, wx
.ITEM_CHECK
, 
3790                               shortHelp
, longHelp
, clientData
) 
3792     def AddRadioLabelTool(self
, id, label
, bitmap
, 
3793                           bmpDisabled 
= wx
.NullBitmap
, 
3794                           shortHelp 
= '', longHelp 
= '', 
3797         Add a radio tool, i.e. a tool which can be toggled and releases any 
3798         other toggled radio tools in the same group when it happens 
3800         return self
.DoAddTool(id, label
, bitmap
, bmpDisabled
, wx
.ITEM_RADIO
, 
3801                               shortHelp
, longHelp
, clientData
) 
3804     # For consistency with the backwards compatible methods above, here are 
3805     # some non-'Label' versions of the Check and Radio methods 
3807     def AddCheckTool(self
, id, bitmap
, 
3808                      bmpDisabled 
= wx
.NullBitmap
, 
3809                      shortHelp 
= '', longHelp 
= '', 
3811         '''Add a check tool, i.e. a tool which can be toggled''' 
3812         return self
.DoAddTool(id, '', bitmap
, bmpDisabled
, wx
.ITEM_CHECK
, 
3813                               shortHelp
, longHelp
, clientData
) 
3815     def AddRadioTool(self
, id, bitmap
, 
3816                      bmpDisabled 
= wx
.NullBitmap
, 
3817                      shortHelp 
= '', longHelp 
= '', 
3820         Add a radio tool, i.e. a tool which can be toggled and releases any 
3821         other toggled radio tools in the same group when it happens 
3823         return self
.DoAddTool(id, '', bitmap
, bmpDisabled
, wx
.ITEM_RADIO
, 
3824                               shortHelp
, longHelp
, clientData
) 
3826     def AddToolItem(*args
, **kwargs
): 
3827         """AddToolItem(self, ToolBarToolBase tool) -> ToolBarToolBase""" 
3828         return _controls_
.ToolBarBase_AddToolItem(*args
, **kwargs
) 
3830     def InsertToolItem(*args
, **kwargs
): 
3831         """InsertToolItem(self, size_t pos, ToolBarToolBase tool) -> ToolBarToolBase""" 
3832         return _controls_
.ToolBarBase_InsertToolItem(*args
, **kwargs
) 
3834     def AddControl(*args
, **kwargs
): 
3835         """AddControl(self, Control control, String label=wxEmptyString) -> ToolBarToolBase""" 
3836         return _controls_
.ToolBarBase_AddControl(*args
, **kwargs
) 
3838     def InsertControl(*args
, **kwargs
): 
3839         """InsertControl(self, size_t pos, Control control, String label=wxEmptyString) -> ToolBarToolBase""" 
3840         return _controls_
.ToolBarBase_InsertControl(*args
, **kwargs
) 
3842     def FindControl(*args
, **kwargs
): 
3843         """FindControl(self, int id) -> Control""" 
3844         return _controls_
.ToolBarBase_FindControl(*args
, **kwargs
) 
3846     def AddSeparator(*args
, **kwargs
): 
3847         """AddSeparator(self) -> ToolBarToolBase""" 
3848         return _controls_
.ToolBarBase_AddSeparator(*args
, **kwargs
) 
3850     def InsertSeparator(*args
, **kwargs
): 
3851         """InsertSeparator(self, size_t pos) -> ToolBarToolBase""" 
3852         return _controls_
.ToolBarBase_InsertSeparator(*args
, **kwargs
) 
3854     def RemoveTool(*args
, **kwargs
): 
3855         """RemoveTool(self, int id) -> ToolBarToolBase""" 
3856         return _controls_
.ToolBarBase_RemoveTool(*args
, **kwargs
) 
3858     def DeleteToolByPos(*args
, **kwargs
): 
3859         """DeleteToolByPos(self, size_t pos) -> bool""" 
3860         return _controls_
.ToolBarBase_DeleteToolByPos(*args
, **kwargs
) 
3862     def DeleteTool(*args
, **kwargs
): 
3863         """DeleteTool(self, int id) -> bool""" 
3864         return _controls_
.ToolBarBase_DeleteTool(*args
, **kwargs
) 
3866     def ClearTools(*args
, **kwargs
): 
3867         """ClearTools(self)""" 
3868         return _controls_
.ToolBarBase_ClearTools(*args
, **kwargs
) 
3870     def Realize(*args
, **kwargs
): 
3871         """Realize(self) -> bool""" 
3872         return _controls_
.ToolBarBase_Realize(*args
, **kwargs
) 
3874     def EnableTool(*args
, **kwargs
): 
3875         """EnableTool(self, int id, bool enable)""" 
3876         return _controls_
.ToolBarBase_EnableTool(*args
, **kwargs
) 
3878     def ToggleTool(*args
, **kwargs
): 
3879         """ToggleTool(self, int id, bool toggle)""" 
3880         return _controls_
.ToolBarBase_ToggleTool(*args
, **kwargs
) 
3882     def SetToggle(*args
, **kwargs
): 
3883         """SetToggle(self, int id, bool toggle)""" 
3884         return _controls_
.ToolBarBase_SetToggle(*args
, **kwargs
) 
3886     def GetToolClientData(*args
, **kwargs
): 
3887         """GetToolClientData(self, int id) -> PyObject""" 
3888         return _controls_
.ToolBarBase_GetToolClientData(*args
, **kwargs
) 
3890     def SetToolClientData(*args
, **kwargs
): 
3891         """SetToolClientData(self, int id, PyObject clientData)""" 
3892         return _controls_
.ToolBarBase_SetToolClientData(*args
, **kwargs
) 
3894     def GetToolPos(*args
, **kwargs
): 
3895         """GetToolPos(self, int id) -> int""" 
3896         return _controls_
.ToolBarBase_GetToolPos(*args
, **kwargs
) 
3898     def GetToolState(*args
, **kwargs
): 
3899         """GetToolState(self, int id) -> bool""" 
3900         return _controls_
.ToolBarBase_GetToolState(*args
, **kwargs
) 
3902     def GetToolEnabled(*args
, **kwargs
): 
3903         """GetToolEnabled(self, int id) -> bool""" 
3904         return _controls_
.ToolBarBase_GetToolEnabled(*args
, **kwargs
) 
3906     def SetToolShortHelp(*args
, **kwargs
): 
3907         """SetToolShortHelp(self, int id, String helpString)""" 
3908         return _controls_
.ToolBarBase_SetToolShortHelp(*args
, **kwargs
) 
3910     def GetToolShortHelp(*args
, **kwargs
): 
3911         """GetToolShortHelp(self, int id) -> String""" 
3912         return _controls_
.ToolBarBase_GetToolShortHelp(*args
, **kwargs
) 
3914     def SetToolLongHelp(*args
, **kwargs
): 
3915         """SetToolLongHelp(self, int id, String helpString)""" 
3916         return _controls_
.ToolBarBase_SetToolLongHelp(*args
, **kwargs
) 
3918     def GetToolLongHelp(*args
, **kwargs
): 
3919         """GetToolLongHelp(self, int id) -> String""" 
3920         return _controls_
.ToolBarBase_GetToolLongHelp(*args
, **kwargs
) 
3922     def SetMarginsXY(*args
, **kwargs
): 
3923         """SetMarginsXY(self, int x, int y)""" 
3924         return _controls_
.ToolBarBase_SetMarginsXY(*args
, **kwargs
) 
3926     def SetMargins(*args
, **kwargs
): 
3927         """SetMargins(self, Size size)""" 
3928         return _controls_
.ToolBarBase_SetMargins(*args
, **kwargs
) 
3930     def SetToolPacking(*args
, **kwargs
): 
3931         """SetToolPacking(self, int packing)""" 
3932         return _controls_
.ToolBarBase_SetToolPacking(*args
, **kwargs
) 
3934     def SetToolSeparation(*args
, **kwargs
): 
3935         """SetToolSeparation(self, int separation)""" 
3936         return _controls_
.ToolBarBase_SetToolSeparation(*args
, **kwargs
) 
3938     def GetToolMargins(*args
, **kwargs
): 
3939         """GetToolMargins(self) -> Size""" 
3940         return _controls_
.ToolBarBase_GetToolMargins(*args
, **kwargs
) 
3942     def GetMargins(*args
, **kwargs
): 
3943         """GetMargins(self) -> Size""" 
3944         return _controls_
.ToolBarBase_GetMargins(*args
, **kwargs
) 
3946     def GetToolPacking(*args
, **kwargs
): 
3947         """GetToolPacking(self) -> int""" 
3948         return _controls_
.ToolBarBase_GetToolPacking(*args
, **kwargs
) 
3950     def GetToolSeparation(*args
, **kwargs
): 
3951         """GetToolSeparation(self) -> int""" 
3952         return _controls_
.ToolBarBase_GetToolSeparation(*args
, **kwargs
) 
3954     def SetRows(*args
, **kwargs
): 
3955         """SetRows(self, int nRows)""" 
3956         return _controls_
.ToolBarBase_SetRows(*args
, **kwargs
) 
3958     def SetMaxRowsCols(*args
, **kwargs
): 
3959         """SetMaxRowsCols(self, int rows, int cols)""" 
3960         return _controls_
.ToolBarBase_SetMaxRowsCols(*args
, **kwargs
) 
3962     def GetMaxRows(*args
, **kwargs
): 
3963         """GetMaxRows(self) -> int""" 
3964         return _controls_
.ToolBarBase_GetMaxRows(*args
, **kwargs
) 
3966     def GetMaxCols(*args
, **kwargs
): 
3967         """GetMaxCols(self) -> int""" 
3968         return _controls_
.ToolBarBase_GetMaxCols(*args
, **kwargs
) 
3970     def SetToolBitmapSize(*args
, **kwargs
): 
3971         """SetToolBitmapSize(self, Size size)""" 
3972         return _controls_
.ToolBarBase_SetToolBitmapSize(*args
, **kwargs
) 
3974     def GetToolBitmapSize(*args
, **kwargs
): 
3975         """GetToolBitmapSize(self) -> Size""" 
3976         return _controls_
.ToolBarBase_GetToolBitmapSize(*args
, **kwargs
) 
3978     def GetToolSize(*args
, **kwargs
): 
3979         """GetToolSize(self) -> Size""" 
3980         return _controls_
.ToolBarBase_GetToolSize(*args
, **kwargs
) 
3982     def FindToolForPosition(*args
, **kwargs
): 
3983         """FindToolForPosition(self, int x, int y) -> ToolBarToolBase""" 
3984         return _controls_
.ToolBarBase_FindToolForPosition(*args
, **kwargs
) 
3986     def FindById(*args
, **kwargs
): 
3987         """FindById(self, int toolid) -> ToolBarToolBase""" 
3988         return _controls_
.ToolBarBase_FindById(*args
, **kwargs
) 
3990     def IsVertical(*args
, **kwargs
): 
3991         """IsVertical(self) -> bool""" 
3992         return _controls_
.ToolBarBase_IsVertical(*args
, **kwargs
) 
3994     def GetToolsCount(*args
, **kwargs
): 
3995         """GetToolsCount(self) -> size_t""" 
3996         return _controls_
.ToolBarBase_GetToolsCount(*args
, **kwargs
) 
3998     Margins 
= property(GetMargins
,SetMargins
,doc
="See `GetMargins` and `SetMargins`")  
3999     MaxCols 
= property(GetMaxCols
,doc
="See `GetMaxCols`")  
4000     MaxRows 
= property(GetMaxRows
,doc
="See `GetMaxRows`")  
4001     ToolBitmapSize 
= property(GetToolBitmapSize
,SetToolBitmapSize
,doc
="See `GetToolBitmapSize` and `SetToolBitmapSize`")  
4002     ToolMargins 
= property(GetToolMargins
,doc
="See `GetToolMargins`")  
4003     ToolPacking 
= property(GetToolPacking
,SetToolPacking
,doc
="See `GetToolPacking` and `SetToolPacking`")  
4004     ToolSeparation 
= property(GetToolSeparation
,SetToolSeparation
,doc
="See `GetToolSeparation` and `SetToolSeparation`")  
4005     ToolSize 
= property(GetToolSize
,doc
="See `GetToolSize`")  
4006     ToolsCount 
= property(GetToolsCount
,doc
="See `GetToolsCount`")  
4007 _controls_
.ToolBarBase_swigregister(ToolBarBase
) 
4009 class ToolBar(ToolBarBase
): 
4010     """Proxy of C++ ToolBar class""" 
4011     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4012     __repr__ 
= _swig_repr
 
4013     def __init__(self
, *args
, **kwargs
):  
4015         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
4016             Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL,  
4017             String name=wxPyToolBarNameStr) -> ToolBar 
4019         _controls_
.ToolBar_swiginit(self
,_controls_
.new_ToolBar(*args
, **kwargs
)) 
4020         self
._setOORInfo
(self
) 
4022     def Create(*args
, **kwargs
): 
4024         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
4025             Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL,  
4026             String name=wxPyToolBarNameStr) -> bool 
4028         return _controls_
.ToolBar_Create(*args
, **kwargs
) 
4030     def SetToolNormalBitmap(*args
, **kwargs
): 
4031         """SetToolNormalBitmap(self, int id, Bitmap bitmap)""" 
4032         return _controls_
.ToolBar_SetToolNormalBitmap(*args
, **kwargs
) 
4034     def SetToolDisabledBitmap(*args
, **kwargs
): 
4035         """SetToolDisabledBitmap(self, int id, Bitmap bitmap)""" 
4036         return _controls_
.ToolBar_SetToolDisabledBitmap(*args
, **kwargs
) 
4038     def GetClassDefaultAttributes(*args
, **kwargs
): 
4040         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
4042         Get the default attributes for this class.  This is useful if you want 
4043         to use the same font or colour in your own control as in a standard 
4044         control -- which is a much better idea than hard coding specific 
4045         colours or fonts which might look completely out of place on the 
4046         user's system, especially if it uses themes. 
4048         The variant parameter is only relevant under Mac currently and is 
4049         ignore under other platforms. Under Mac, it will change the size of 
4050         the returned font. See `wx.Window.SetWindowVariant` for more about 
4053         return _controls_
.ToolBar_GetClassDefaultAttributes(*args
, **kwargs
) 
4055     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
4056 _controls_
.ToolBar_swigregister(ToolBar
) 
4058 def PreToolBar(*args
, **kwargs
): 
4059     """PreToolBar() -> ToolBar""" 
4060     val 
= _controls_
.new_PreToolBar(*args
, **kwargs
) 
4063 def ToolBar_GetClassDefaultAttributes(*args
, **kwargs
): 
4065     ToolBar_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
4067     Get the default attributes for this class.  This is useful if you want 
4068     to use the same font or colour in your own control as in a standard 
4069     control -- which is a much better idea than hard coding specific 
4070     colours or fonts which might look completely out of place on the 
4071     user's system, especially if it uses themes. 
4073     The variant parameter is only relevant under Mac currently and is 
4074     ignore under other platforms. Under Mac, it will change the size of 
4075     the returned font. See `wx.Window.SetWindowVariant` for more about 
4078   return _controls_
.ToolBar_GetClassDefaultAttributes(*args
, **kwargs
) 
4080 #--------------------------------------------------------------------------- 
4082 LC_VRULES 
= _controls_
.LC_VRULES
 
4083 LC_HRULES 
= _controls_
.LC_HRULES
 
4084 LC_ICON 
= _controls_
.LC_ICON
 
4085 LC_SMALL_ICON 
= _controls_
.LC_SMALL_ICON
 
4086 LC_LIST 
= _controls_
.LC_LIST
 
4087 LC_REPORT 
= _controls_
.LC_REPORT
 
4088 LC_ALIGN_TOP 
= _controls_
.LC_ALIGN_TOP
 
4089 LC_ALIGN_LEFT 
= _controls_
.LC_ALIGN_LEFT
 
4090 LC_AUTOARRANGE 
= _controls_
.LC_AUTOARRANGE
 
4091 LC_VIRTUAL 
= _controls_
.LC_VIRTUAL
 
4092 LC_EDIT_LABELS 
= _controls_
.LC_EDIT_LABELS
 
4093 LC_NO_HEADER 
= _controls_
.LC_NO_HEADER
 
4094 LC_NO_SORT_HEADER 
= _controls_
.LC_NO_SORT_HEADER
 
4095 LC_SINGLE_SEL 
= _controls_
.LC_SINGLE_SEL
 
4096 LC_SORT_ASCENDING 
= _controls_
.LC_SORT_ASCENDING
 
4097 LC_SORT_DESCENDING 
= _controls_
.LC_SORT_DESCENDING
 
4098 LC_MASK_TYPE 
= _controls_
.LC_MASK_TYPE
 
4099 LC_MASK_ALIGN 
= _controls_
.LC_MASK_ALIGN
 
4100 LC_MASK_SORT 
= _controls_
.LC_MASK_SORT
 
4101 LIST_MASK_STATE 
= _controls_
.LIST_MASK_STATE
 
4102 LIST_MASK_TEXT 
= _controls_
.LIST_MASK_TEXT
 
4103 LIST_MASK_IMAGE 
= _controls_
.LIST_MASK_IMAGE
 
4104 LIST_MASK_DATA 
= _controls_
.LIST_MASK_DATA
 
4105 LIST_SET_ITEM 
= _controls_
.LIST_SET_ITEM
 
4106 LIST_MASK_WIDTH 
= _controls_
.LIST_MASK_WIDTH
 
4107 LIST_MASK_FORMAT 
= _controls_
.LIST_MASK_FORMAT
 
4108 LIST_STATE_DONTCARE 
= _controls_
.LIST_STATE_DONTCARE
 
4109 LIST_STATE_DROPHILITED 
= _controls_
.LIST_STATE_DROPHILITED
 
4110 LIST_STATE_FOCUSED 
= _controls_
.LIST_STATE_FOCUSED
 
4111 LIST_STATE_SELECTED 
= _controls_
.LIST_STATE_SELECTED
 
4112 LIST_STATE_CUT 
= _controls_
.LIST_STATE_CUT
 
4113 LIST_STATE_DISABLED 
= _controls_
.LIST_STATE_DISABLED
 
4114 LIST_STATE_FILTERED 
= _controls_
.LIST_STATE_FILTERED
 
4115 LIST_STATE_INUSE 
= _controls_
.LIST_STATE_INUSE
 
4116 LIST_STATE_PICKED 
= _controls_
.LIST_STATE_PICKED
 
4117 LIST_STATE_SOURCE 
= _controls_
.LIST_STATE_SOURCE
 
4118 LIST_HITTEST_ABOVE 
= _controls_
.LIST_HITTEST_ABOVE
 
4119 LIST_HITTEST_BELOW 
= _controls_
.LIST_HITTEST_BELOW
 
4120 LIST_HITTEST_NOWHERE 
= _controls_
.LIST_HITTEST_NOWHERE
 
4121 LIST_HITTEST_ONITEMICON 
= _controls_
.LIST_HITTEST_ONITEMICON
 
4122 LIST_HITTEST_ONITEMLABEL 
= _controls_
.LIST_HITTEST_ONITEMLABEL
 
4123 LIST_HITTEST_ONITEMRIGHT 
= _controls_
.LIST_HITTEST_ONITEMRIGHT
 
4124 LIST_HITTEST_ONITEMSTATEICON 
= _controls_
.LIST_HITTEST_ONITEMSTATEICON
 
4125 LIST_HITTEST_TOLEFT 
= _controls_
.LIST_HITTEST_TOLEFT
 
4126 LIST_HITTEST_TORIGHT 
= _controls_
.LIST_HITTEST_TORIGHT
 
4127 LIST_HITTEST_ONITEM 
= _controls_
.LIST_HITTEST_ONITEM
 
4128 LIST_GETSUBITEMRECT_WHOLEITEM 
= _controls_
.LIST_GETSUBITEMRECT_WHOLEITEM
 
4129 LIST_NEXT_ABOVE 
= _controls_
.LIST_NEXT_ABOVE
 
4130 LIST_NEXT_ALL 
= _controls_
.LIST_NEXT_ALL
 
4131 LIST_NEXT_BELOW 
= _controls_
.LIST_NEXT_BELOW
 
4132 LIST_NEXT_LEFT 
= _controls_
.LIST_NEXT_LEFT
 
4133 LIST_NEXT_RIGHT 
= _controls_
.LIST_NEXT_RIGHT
 
4134 LIST_ALIGN_DEFAULT 
= _controls_
.LIST_ALIGN_DEFAULT
 
4135 LIST_ALIGN_LEFT 
= _controls_
.LIST_ALIGN_LEFT
 
4136 LIST_ALIGN_TOP 
= _controls_
.LIST_ALIGN_TOP
 
4137 LIST_ALIGN_SNAP_TO_GRID 
= _controls_
.LIST_ALIGN_SNAP_TO_GRID
 
4138 LIST_FORMAT_LEFT 
= _controls_
.LIST_FORMAT_LEFT
 
4139 LIST_FORMAT_RIGHT 
= _controls_
.LIST_FORMAT_RIGHT
 
4140 LIST_FORMAT_CENTRE 
= _controls_
.LIST_FORMAT_CENTRE
 
4141 LIST_FORMAT_CENTER 
= _controls_
.LIST_FORMAT_CENTER
 
4142 LIST_AUTOSIZE 
= _controls_
.LIST_AUTOSIZE
 
4143 LIST_AUTOSIZE_USEHEADER 
= _controls_
.LIST_AUTOSIZE_USEHEADER
 
4144 LIST_RECT_BOUNDS 
= _controls_
.LIST_RECT_BOUNDS
 
4145 LIST_RECT_ICON 
= _controls_
.LIST_RECT_ICON
 
4146 LIST_RECT_LABEL 
= _controls_
.LIST_RECT_LABEL
 
4147 LIST_FIND_UP 
= _controls_
.LIST_FIND_UP
 
4148 LIST_FIND_DOWN 
= _controls_
.LIST_FIND_DOWN
 
4149 LIST_FIND_LEFT 
= _controls_
.LIST_FIND_LEFT
 
4150 LIST_FIND_RIGHT 
= _controls_
.LIST_FIND_RIGHT
 
4151 #--------------------------------------------------------------------------- 
4153 class ListItemAttr(object): 
4154     """Proxy of C++ ListItemAttr class""" 
4155     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4156     __repr__ 
= _swig_repr
 
4157     def __init__(self
, *args
, **kwargs
):  
4159         __init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,  
4160             Font font=wxNullFont) -> ListItemAttr 
4162         _controls_
.ListItemAttr_swiginit(self
,_controls_
.new_ListItemAttr(*args
, **kwargs
)) 
4163     __swig_destroy__ 
= _controls_
.delete_ListItemAttr
 
4164     __del__ 
= lambda self 
: None; 
4165     def SetTextColour(*args
, **kwargs
): 
4166         """SetTextColour(self, Colour colText)""" 
4167         return _controls_
.ListItemAttr_SetTextColour(*args
, **kwargs
) 
4169     def SetBackgroundColour(*args
, **kwargs
): 
4170         """SetBackgroundColour(self, Colour colBack)""" 
4171         return _controls_
.ListItemAttr_SetBackgroundColour(*args
, **kwargs
) 
4173     def SetFont(*args
, **kwargs
): 
4174         """SetFont(self, Font font)""" 
4175         return _controls_
.ListItemAttr_SetFont(*args
, **kwargs
) 
4177     def HasTextColour(*args
, **kwargs
): 
4178         """HasTextColour(self) -> bool""" 
4179         return _controls_
.ListItemAttr_HasTextColour(*args
, **kwargs
) 
4181     def HasBackgroundColour(*args
, **kwargs
): 
4182         """HasBackgroundColour(self) -> bool""" 
4183         return _controls_
.ListItemAttr_HasBackgroundColour(*args
, **kwargs
) 
4185     def HasFont(*args
, **kwargs
): 
4186         """HasFont(self) -> bool""" 
4187         return _controls_
.ListItemAttr_HasFont(*args
, **kwargs
) 
4189     def GetTextColour(*args
, **kwargs
): 
4190         """GetTextColour(self) -> Colour""" 
4191         return _controls_
.ListItemAttr_GetTextColour(*args
, **kwargs
) 
4193     def GetBackgroundColour(*args
, **kwargs
): 
4194         """GetBackgroundColour(self) -> Colour""" 
4195         return _controls_
.ListItemAttr_GetBackgroundColour(*args
, **kwargs
) 
4197     def GetFont(*args
, **kwargs
): 
4198         """GetFont(self) -> Font""" 
4199         return _controls_
.ListItemAttr_GetFont(*args
, **kwargs
) 
4201     def AssignFrom(*args
, **kwargs
): 
4202         """AssignFrom(self, ListItemAttr source)""" 
4203         return _controls_
.ListItemAttr_AssignFrom(*args
, **kwargs
) 
4205     def Destroy(*args
, **kwargs
): 
4207         args
[0].this
.own(False) 
4208         return _controls_
.ListItemAttr_Destroy(*args
, **kwargs
) 
4210     BackgroundColour 
= property(GetBackgroundColour
,SetBackgroundColour
,doc
="See `GetBackgroundColour` and `SetBackgroundColour`")  
4211     Font 
= property(GetFont
,SetFont
,doc
="See `GetFont` and `SetFont`")  
4212     TextColour 
= property(GetTextColour
,SetTextColour
,doc
="See `GetTextColour` and `SetTextColour`")  
4213 _controls_
.ListItemAttr_swigregister(ListItemAttr
) 
4214 ListCtrlNameStr 
= cvar
.ListCtrlNameStr
 
4216 #--------------------------------------------------------------------------- 
4218 class ListItem(_core
.Object
): 
4219     """Proxy of C++ ListItem class""" 
4220     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4221     __repr__ 
= _swig_repr
 
4222     def __init__(self
, *args
, **kwargs
):  
4223         """__init__(self) -> ListItem""" 
4224         _controls_
.ListItem_swiginit(self
,_controls_
.new_ListItem(*args
, **kwargs
)) 
4225     __swig_destroy__ 
= _controls_
.delete_ListItem
 
4226     __del__ 
= lambda self 
: None; 
4227     def Clear(*args
, **kwargs
): 
4229         return _controls_
.ListItem_Clear(*args
, **kwargs
) 
4231     def ClearAttributes(*args
, **kwargs
): 
4232         """ClearAttributes(self)""" 
4233         return _controls_
.ListItem_ClearAttributes(*args
, **kwargs
) 
4235     def SetMask(*args
, **kwargs
): 
4236         """SetMask(self, long mask)""" 
4237         return _controls_
.ListItem_SetMask(*args
, **kwargs
) 
4239     def SetId(*args
, **kwargs
): 
4240         """SetId(self, long id)""" 
4241         return _controls_
.ListItem_SetId(*args
, **kwargs
) 
4243     def SetColumn(*args
, **kwargs
): 
4244         """SetColumn(self, int col)""" 
4245         return _controls_
.ListItem_SetColumn(*args
, **kwargs
) 
4247     def SetState(*args
, **kwargs
): 
4248         """SetState(self, long state)""" 
4249         return _controls_
.ListItem_SetState(*args
, **kwargs
) 
4251     def SetStateMask(*args
, **kwargs
): 
4252         """SetStateMask(self, long stateMask)""" 
4253         return _controls_
.ListItem_SetStateMask(*args
, **kwargs
) 
4255     def SetText(*args
, **kwargs
): 
4256         """SetText(self, String text)""" 
4257         return _controls_
.ListItem_SetText(*args
, **kwargs
) 
4259     def SetImage(*args
, **kwargs
): 
4260         """SetImage(self, int image)""" 
4261         return _controls_
.ListItem_SetImage(*args
, **kwargs
) 
4263     def SetData(*args
, **kwargs
): 
4264         """SetData(self, long data)""" 
4265         return _controls_
.ListItem_SetData(*args
, **kwargs
) 
4267     def SetWidth(*args
, **kwargs
): 
4268         """SetWidth(self, int width)""" 
4269         return _controls_
.ListItem_SetWidth(*args
, **kwargs
) 
4271     def SetAlign(*args
, **kwargs
): 
4272         """SetAlign(self, int align)""" 
4273         return _controls_
.ListItem_SetAlign(*args
, **kwargs
) 
4275     def SetTextColour(*args
, **kwargs
): 
4276         """SetTextColour(self, Colour colText)""" 
4277         return _controls_
.ListItem_SetTextColour(*args
, **kwargs
) 
4279     def SetBackgroundColour(*args
, **kwargs
): 
4280         """SetBackgroundColour(self, Colour colBack)""" 
4281         return _controls_
.ListItem_SetBackgroundColour(*args
, **kwargs
) 
4283     def SetFont(*args
, **kwargs
): 
4284         """SetFont(self, Font font)""" 
4285         return _controls_
.ListItem_SetFont(*args
, **kwargs
) 
4287     def GetMask(*args
, **kwargs
): 
4288         """GetMask(self) -> long""" 
4289         return _controls_
.ListItem_GetMask(*args
, **kwargs
) 
4291     def GetId(*args
, **kwargs
): 
4292         """GetId(self) -> long""" 
4293         return _controls_
.ListItem_GetId(*args
, **kwargs
) 
4295     def GetColumn(*args
, **kwargs
): 
4296         """GetColumn(self) -> int""" 
4297         return _controls_
.ListItem_GetColumn(*args
, **kwargs
) 
4299     def GetState(*args
, **kwargs
): 
4300         """GetState(self) -> long""" 
4301         return _controls_
.ListItem_GetState(*args
, **kwargs
) 
4303     def GetText(*args
, **kwargs
): 
4304         """GetText(self) -> String""" 
4305         return _controls_
.ListItem_GetText(*args
, **kwargs
) 
4307     def GetImage(*args
, **kwargs
): 
4308         """GetImage(self) -> int""" 
4309         return _controls_
.ListItem_GetImage(*args
, **kwargs
) 
4311     def GetData(*args
, **kwargs
): 
4312         """GetData(self) -> long""" 
4313         return _controls_
.ListItem_GetData(*args
, **kwargs
) 
4315     def GetWidth(*args
, **kwargs
): 
4316         """GetWidth(self) -> int""" 
4317         return _controls_
.ListItem_GetWidth(*args
, **kwargs
) 
4319     def GetAlign(*args
, **kwargs
): 
4320         """GetAlign(self) -> int""" 
4321         return _controls_
.ListItem_GetAlign(*args
, **kwargs
) 
4323     def GetAttributes(*args
, **kwargs
): 
4324         """GetAttributes(self) -> ListItemAttr""" 
4325         return _controls_
.ListItem_GetAttributes(*args
, **kwargs
) 
4327     def HasAttributes(*args
, **kwargs
): 
4328         """HasAttributes(self) -> bool""" 
4329         return _controls_
.ListItem_HasAttributes(*args
, **kwargs
) 
4331     def GetTextColour(*args
, **kwargs
): 
4332         """GetTextColour(self) -> Colour""" 
4333         return _controls_
.ListItem_GetTextColour(*args
, **kwargs
) 
4335     def GetBackgroundColour(*args
, **kwargs
): 
4336         """GetBackgroundColour(self) -> Colour""" 
4337         return _controls_
.ListItem_GetBackgroundColour(*args
, **kwargs
) 
4339     def GetFont(*args
, **kwargs
): 
4340         """GetFont(self) -> Font""" 
4341         return _controls_
.ListItem_GetFont(*args
, **kwargs
) 
4343     m_mask 
= property(_controls_
.ListItem_m_mask_get
, _controls_
.ListItem_m_mask_set
) 
4344     m_itemId 
= property(_controls_
.ListItem_m_itemId_get
, _controls_
.ListItem_m_itemId_set
) 
4345     m_col 
= property(_controls_
.ListItem_m_col_get
, _controls_
.ListItem_m_col_set
) 
4346     m_state 
= property(_controls_
.ListItem_m_state_get
, _controls_
.ListItem_m_state_set
) 
4347     m_stateMask 
= property(_controls_
.ListItem_m_stateMask_get
, _controls_
.ListItem_m_stateMask_set
) 
4348     m_text 
= property(_controls_
.ListItem_m_text_get
, _controls_
.ListItem_m_text_set
) 
4349     m_image 
= property(_controls_
.ListItem_m_image_get
, _controls_
.ListItem_m_image_set
) 
4350     m_data 
= property(_controls_
.ListItem_m_data_get
, _controls_
.ListItem_m_data_set
) 
4351     m_format 
= property(_controls_
.ListItem_m_format_get
, _controls_
.ListItem_m_format_set
) 
4352     m_width 
= property(_controls_
.ListItem_m_width_get
, _controls_
.ListItem_m_width_set
) 
4353     Align 
= property(GetAlign
,SetAlign
,doc
="See `GetAlign` and `SetAlign`")  
4354     Attributes 
= property(GetAttributes
,doc
="See `GetAttributes`")  
4355     BackgroundColour 
= property(GetBackgroundColour
,SetBackgroundColour
,doc
="See `GetBackgroundColour` and `SetBackgroundColour`")  
4356     Column 
= property(GetColumn
,SetColumn
,doc
="See `GetColumn` and `SetColumn`")  
4357     Data 
= property(GetData
,SetData
,doc
="See `GetData` and `SetData`")  
4358     Font 
= property(GetFont
,SetFont
,doc
="See `GetFont` and `SetFont`")  
4359     Id 
= property(GetId
,SetId
,doc
="See `GetId` and `SetId`")  
4360     Image 
= property(GetImage
,SetImage
,doc
="See `GetImage` and `SetImage`")  
4361     Mask 
= property(GetMask
,SetMask
,doc
="See `GetMask` and `SetMask`")  
4362     State 
= property(GetState
,SetState
,doc
="See `GetState` and `SetState`")  
4363     Text 
= property(GetText
,SetText
,doc
="See `GetText` and `SetText`")  
4364     TextColour 
= property(GetTextColour
,SetTextColour
,doc
="See `GetTextColour` and `SetTextColour`")  
4365     Width 
= property(GetWidth
,SetWidth
,doc
="See `GetWidth` and `SetWidth`")  
4366 _controls_
.ListItem_swigregister(ListItem
) 
4368 #--------------------------------------------------------------------------- 
4370 class ListEvent(_core
.NotifyEvent
): 
4371     """Proxy of C++ ListEvent class""" 
4372     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4373     __repr__ 
= _swig_repr
 
4374     def __init__(self
, *args
, **kwargs
):  
4375         """__init__(self, EventType commandType=wxEVT_NULL, int id=0) -> ListEvent""" 
4376         _controls_
.ListEvent_swiginit(self
,_controls_
.new_ListEvent(*args
, **kwargs
)) 
4377     m_code 
= property(_controls_
.ListEvent_m_code_get
, _controls_
.ListEvent_m_code_set
) 
4378     m_oldItemIndex 
= property(_controls_
.ListEvent_m_oldItemIndex_get
, _controls_
.ListEvent_m_oldItemIndex_set
) 
4379     m_itemIndex 
= property(_controls_
.ListEvent_m_itemIndex_get
, _controls_
.ListEvent_m_itemIndex_set
) 
4380     m_col 
= property(_controls_
.ListEvent_m_col_get
, _controls_
.ListEvent_m_col_set
) 
4381     m_pointDrag 
= property(_controls_
.ListEvent_m_pointDrag_get
, _controls_
.ListEvent_m_pointDrag_set
) 
4382     m_item 
= property(_controls_
.ListEvent_m_item_get
) 
4383     def GetKeyCode(*args
, **kwargs
): 
4384         """GetKeyCode(self) -> int""" 
4385         return _controls_
.ListEvent_GetKeyCode(*args
, **kwargs
) 
4387     GetCode 
= GetKeyCode 
 
4388     def GetIndex(*args
, **kwargs
): 
4389         """GetIndex(self) -> long""" 
4390         return _controls_
.ListEvent_GetIndex(*args
, **kwargs
) 
4392     def GetColumn(*args
, **kwargs
): 
4393         """GetColumn(self) -> int""" 
4394         return _controls_
.ListEvent_GetColumn(*args
, **kwargs
) 
4396     def GetPoint(*args
, **kwargs
): 
4397         """GetPoint(self) -> Point""" 
4398         return _controls_
.ListEvent_GetPoint(*args
, **kwargs
) 
4400     GetPosition 
= GetPoint 
 
4401     def GetLabel(*args
, **kwargs
): 
4402         """GetLabel(self) -> String""" 
4403         return _controls_
.ListEvent_GetLabel(*args
, **kwargs
) 
4405     def GetText(*args
, **kwargs
): 
4406         """GetText(self) -> String""" 
4407         return _controls_
.ListEvent_GetText(*args
, **kwargs
) 
4409     def GetImage(*args
, **kwargs
): 
4410         """GetImage(self) -> int""" 
4411         return _controls_
.ListEvent_GetImage(*args
, **kwargs
) 
4413     def GetData(*args
, **kwargs
): 
4414         """GetData(self) -> long""" 
4415         return _controls_
.ListEvent_GetData(*args
, **kwargs
) 
4417     def GetMask(*args
, **kwargs
): 
4418         """GetMask(self) -> long""" 
4419         return _controls_
.ListEvent_GetMask(*args
, **kwargs
) 
4421     def GetItem(*args
, **kwargs
): 
4422         """GetItem(self) -> ListItem""" 
4423         return _controls_
.ListEvent_GetItem(*args
, **kwargs
) 
4425     def GetCacheFrom(*args
, **kwargs
): 
4426         """GetCacheFrom(self) -> long""" 
4427         return _controls_
.ListEvent_GetCacheFrom(*args
, **kwargs
) 
4429     def GetCacheTo(*args
, **kwargs
): 
4430         """GetCacheTo(self) -> long""" 
4431         return _controls_
.ListEvent_GetCacheTo(*args
, **kwargs
) 
4433     def IsEditCancelled(*args
, **kwargs
): 
4434         """IsEditCancelled(self) -> bool""" 
4435         return _controls_
.ListEvent_IsEditCancelled(*args
, **kwargs
) 
4437     def SetEditCanceled(*args
, **kwargs
): 
4438         """SetEditCanceled(self, bool editCancelled)""" 
4439         return _controls_
.ListEvent_SetEditCanceled(*args
, **kwargs
) 
4441     CacheFrom 
= property(GetCacheFrom
,doc
="See `GetCacheFrom`")  
4442     CacheTo 
= property(GetCacheTo
,doc
="See `GetCacheTo`")  
4443     Column 
= property(GetColumn
,doc
="See `GetColumn`")  
4444     Data 
= property(GetData
,doc
="See `GetData`")  
4445     Image 
= property(GetImage
,doc
="See `GetImage`")  
4446     Index 
= property(GetIndex
,doc
="See `GetIndex`")  
4447     Item 
= property(GetItem
,doc
="See `GetItem`")  
4448     KeyCode 
= property(GetKeyCode
,doc
="See `GetKeyCode`")  
4449     Label 
= property(GetLabel
,doc
="See `GetLabel`")  
4450     Mask 
= property(GetMask
,doc
="See `GetMask`")  
4451     Point 
= property(GetPoint
,doc
="See `GetPoint`")  
4452     Text 
= property(GetText
,doc
="See `GetText`")  
4453 _controls_
.ListEvent_swigregister(ListEvent
) 
4455 wxEVT_COMMAND_LIST_BEGIN_DRAG 
= _controls_
.wxEVT_COMMAND_LIST_BEGIN_DRAG
 
4456 wxEVT_COMMAND_LIST_BEGIN_RDRAG 
= _controls_
.wxEVT_COMMAND_LIST_BEGIN_RDRAG
 
4457 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT 
= _controls_
.wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
 
4458 wxEVT_COMMAND_LIST_END_LABEL_EDIT 
= _controls_
.wxEVT_COMMAND_LIST_END_LABEL_EDIT
 
4459 wxEVT_COMMAND_LIST_DELETE_ITEM 
= _controls_
.wxEVT_COMMAND_LIST_DELETE_ITEM
 
4460 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS 
= _controls_
.wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
 
4461 wxEVT_COMMAND_LIST_ITEM_SELECTED 
= _controls_
.wxEVT_COMMAND_LIST_ITEM_SELECTED
 
4462 wxEVT_COMMAND_LIST_ITEM_DESELECTED 
= _controls_
.wxEVT_COMMAND_LIST_ITEM_DESELECTED
 
4463 wxEVT_COMMAND_LIST_KEY_DOWN 
= _controls_
.wxEVT_COMMAND_LIST_KEY_DOWN
 
4464 wxEVT_COMMAND_LIST_INSERT_ITEM 
= _controls_
.wxEVT_COMMAND_LIST_INSERT_ITEM
 
4465 wxEVT_COMMAND_LIST_COL_CLICK 
= _controls_
.wxEVT_COMMAND_LIST_COL_CLICK
 
4466 wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK 
= _controls_
.wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
 
4467 wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK 
= _controls_
.wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
 
4468 wxEVT_COMMAND_LIST_ITEM_ACTIVATED 
= _controls_
.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
 
4469 wxEVT_COMMAND_LIST_CACHE_HINT 
= _controls_
.wxEVT_COMMAND_LIST_CACHE_HINT
 
4470 wxEVT_COMMAND_LIST_COL_RIGHT_CLICK 
= _controls_
.wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
 
4471 wxEVT_COMMAND_LIST_COL_BEGIN_DRAG 
= _controls_
.wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
 
4472 wxEVT_COMMAND_LIST_COL_DRAGGING 
= _controls_
.wxEVT_COMMAND_LIST_COL_DRAGGING
 
4473 wxEVT_COMMAND_LIST_COL_END_DRAG 
= _controls_
.wxEVT_COMMAND_LIST_COL_END_DRAG
 
4474 wxEVT_COMMAND_LIST_ITEM_FOCUSED 
= _controls_
.wxEVT_COMMAND_LIST_ITEM_FOCUSED
 
4475 EVT_LIST_BEGIN_DRAG        
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_DRAG       
, 1) 
4476 EVT_LIST_BEGIN_RDRAG       
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_RDRAG      
, 1) 
4477 EVT_LIST_BEGIN_LABEL_EDIT  
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT 
, 1) 
4478 EVT_LIST_END_LABEL_EDIT    
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_END_LABEL_EDIT   
, 1) 
4479 EVT_LIST_DELETE_ITEM       
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ITEM      
, 1) 
4480 EVT_LIST_DELETE_ALL_ITEMS  
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS 
, 1) 
4485 EVT_LIST_ITEM_SELECTED     
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_SELECTED    
, 1) 
4486 EVT_LIST_ITEM_DESELECTED   
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_DESELECTED  
, 1) 
4487 EVT_LIST_KEY_DOWN          
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_KEY_DOWN         
, 1) 
4488 EVT_LIST_INSERT_ITEM       
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_INSERT_ITEM      
, 1) 
4489 EVT_LIST_COL_CLICK         
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_COL_CLICK        
, 1) 
4490 EVT_LIST_ITEM_RIGHT_CLICK  
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK 
, 1) 
4491 EVT_LIST_ITEM_MIDDLE_CLICK 
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 1) 
4492 EVT_LIST_ITEM_ACTIVATED    
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_ACTIVATED   
, 1) 
4493 EVT_LIST_CACHE_HINT        
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_CACHE_HINT       
, 1) 
4494 EVT_LIST_COL_RIGHT_CLICK   
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK  
, 1) 
4495 EVT_LIST_COL_BEGIN_DRAG    
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG   
, 1) 
4496 EVT_LIST_COL_DRAGGING      
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_COL_DRAGGING     
, 1) 
4497 EVT_LIST_COL_END_DRAG      
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_COL_END_DRAG     
, 1) 
4498 EVT_LIST_ITEM_FOCUSED      
= wx
.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED     
, 1) 
4504 #--------------------------------------------------------------------------- 
4506 class ListCtrl(_core
.Control
): 
4507     """Proxy of C++ ListCtrl class""" 
4508     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4509     __repr__ 
= _swig_repr
 
4510     def __init__(self
, *args
, **kwargs
):  
4512         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
4513             Size size=DefaultSize, long style=LC_ICON,  
4514             Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl 
4516         _controls_
.ListCtrl_swiginit(self
,_controls_
.new_ListCtrl(*args
, **kwargs
)) 
4517         self
._setOORInfo
(self
);ListCtrl
._setCallbackInfo
(self
, self
, ListCtrl
) 
4519     def Create(*args
, **kwargs
): 
4521         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
4522             Size size=DefaultSize, long style=LC_ICON,  
4523             Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool 
4525         Do the 2nd phase and create the GUI control. 
4527         return _controls_
.ListCtrl_Create(*args
, **kwargs
) 
4529     def _setCallbackInfo(*args
, **kwargs
): 
4530         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
4531         return _controls_
.ListCtrl__setCallbackInfo(*args
, **kwargs
) 
4533     def GetColumn(*args
, **kwargs
): 
4534         """GetColumn(self, int col) -> ListItem""" 
4535         val 
= _controls_
.ListCtrl_GetColumn(*args
, **kwargs
) 
4536         if val 
is not None: val
.thisown 
= 1 
4539     def SetColumn(*args
, **kwargs
): 
4540         """SetColumn(self, int col, ListItem item) -> bool""" 
4541         return _controls_
.ListCtrl_SetColumn(*args
, **kwargs
) 
4543     def GetColumnWidth(*args
, **kwargs
): 
4544         """GetColumnWidth(self, int col) -> int""" 
4545         return _controls_
.ListCtrl_GetColumnWidth(*args
, **kwargs
) 
4547     def SetColumnWidth(*args
, **kwargs
): 
4548         """SetColumnWidth(self, int col, int width) -> bool""" 
4549         return _controls_
.ListCtrl_SetColumnWidth(*args
, **kwargs
) 
4551     def GetCountPerPage(*args
, **kwargs
): 
4552         """GetCountPerPage(self) -> int""" 
4553         return _controls_
.ListCtrl_GetCountPerPage(*args
, **kwargs
) 
4555     def GetViewRect(*args
, **kwargs
): 
4556         """GetViewRect(self) -> Rect""" 
4557         return _controls_
.ListCtrl_GetViewRect(*args
, **kwargs
) 
4559     def GetEditControl(*args
, **kwargs
): 
4560         """GetEditControl(self) -> TextCtrl""" 
4561         return _controls_
.ListCtrl_GetEditControl(*args
, **kwargs
) 
4563     def GetItem(*args
, **kwargs
): 
4564         """GetItem(self, long itemId, int col=0) -> ListItem""" 
4565         val 
= _controls_
.ListCtrl_GetItem(*args
, **kwargs
) 
4566         if val 
is not None: val
.thisown 
= 1 
4569     def SetItem(*args
, **kwargs
): 
4570         """SetItem(self, ListItem info) -> bool""" 
4571         return _controls_
.ListCtrl_SetItem(*args
, **kwargs
) 
4573     def SetStringItem(*args
, **kwargs
): 
4574         """SetStringItem(self, long index, int col, String label, int imageId=-1) -> long""" 
4575         return _controls_
.ListCtrl_SetStringItem(*args
, **kwargs
) 
4577     def GetItemState(*args
, **kwargs
): 
4578         """GetItemState(self, long item, long stateMask) -> int""" 
4579         return _controls_
.ListCtrl_GetItemState(*args
, **kwargs
) 
4581     def SetItemState(*args
, **kwargs
): 
4582         """SetItemState(self, long item, long state, long stateMask) -> bool""" 
4583         return _controls_
.ListCtrl_SetItemState(*args
, **kwargs
) 
4585     def SetItemImage(*args
, **kwargs
): 
4586         """SetItemImage(self, long item, int image, int selImage=-1) -> bool""" 
4587         return _controls_
.ListCtrl_SetItemImage(*args
, **kwargs
) 
4589     def SetItemColumnImage(*args
, **kwargs
): 
4590         """SetItemColumnImage(self, long item, long column, int image) -> bool""" 
4591         return _controls_
.ListCtrl_SetItemColumnImage(*args
, **kwargs
) 
4593     def GetItemText(*args
, **kwargs
): 
4594         """GetItemText(self, long item) -> String""" 
4595         return _controls_
.ListCtrl_GetItemText(*args
, **kwargs
) 
4597     def SetItemText(*args
, **kwargs
): 
4598         """SetItemText(self, long item, String str)""" 
4599         return _controls_
.ListCtrl_SetItemText(*args
, **kwargs
) 
4601     def GetItemData(*args
, **kwargs
): 
4602         """GetItemData(self, long item) -> long""" 
4603         return _controls_
.ListCtrl_GetItemData(*args
, **kwargs
) 
4605     def SetItemData(*args
, **kwargs
): 
4606         """SetItemData(self, long item, long data) -> bool""" 
4607         return _controls_
.ListCtrl_SetItemData(*args
, **kwargs
) 
4609     def GetItemPosition(*args
, **kwargs
): 
4610         """GetItemPosition(self, long item) -> Point""" 
4611         return _controls_
.ListCtrl_GetItemPosition(*args
, **kwargs
) 
4613     def GetItemRect(*args
, **kwargs
): 
4614         """GetItemRect(self, long item, int code=LIST_RECT_BOUNDS) -> Rect""" 
4615         return _controls_
.ListCtrl_GetItemRect(*args
, **kwargs
) 
4617     def SetItemPosition(*args
, **kwargs
): 
4618         """SetItemPosition(self, long item, Point pos) -> bool""" 
4619         return _controls_
.ListCtrl_SetItemPosition(*args
, **kwargs
) 
4621     def GetItemCount(*args
, **kwargs
): 
4622         """GetItemCount(self) -> int""" 
4623         return _controls_
.ListCtrl_GetItemCount(*args
, **kwargs
) 
4625     def GetColumnCount(*args
, **kwargs
): 
4626         """GetColumnCount(self) -> int""" 
4627         return _controls_
.ListCtrl_GetColumnCount(*args
, **kwargs
) 
4629     def GetItemSpacing(*args
, **kwargs
): 
4630         """GetItemSpacing(self) -> Size""" 
4631         return _controls_
.ListCtrl_GetItemSpacing(*args
, **kwargs
) 
4633     GetItemSpacing 
= wx
._deprecated
(GetItemSpacing
)  
4634     def SetItemSpacing(*args
, **kwargs
): 
4635         """SetItemSpacing(self, int spacing, bool isSmall=False)""" 
4636         return _controls_
.ListCtrl_SetItemSpacing(*args
, **kwargs
) 
4638     SetItemSpacing 
= wx
._deprecated
(SetItemSpacing
)  
4639     def GetSelectedItemCount(*args
, **kwargs
): 
4640         """GetSelectedItemCount(self) -> int""" 
4641         return _controls_
.ListCtrl_GetSelectedItemCount(*args
, **kwargs
) 
4643     def GetTextColour(*args
, **kwargs
): 
4644         """GetTextColour(self) -> Colour""" 
4645         return _controls_
.ListCtrl_GetTextColour(*args
, **kwargs
) 
4647     def SetTextColour(*args
, **kwargs
): 
4648         """SetTextColour(self, Colour col)""" 
4649         return _controls_
.ListCtrl_SetTextColour(*args
, **kwargs
) 
4651     def GetTopItem(*args
, **kwargs
): 
4652         """GetTopItem(self) -> long""" 
4653         return _controls_
.ListCtrl_GetTopItem(*args
, **kwargs
) 
4655     def SetSingleStyle(*args
, **kwargs
): 
4656         """SetSingleStyle(self, long style, bool add=True)""" 
4657         return _controls_
.ListCtrl_SetSingleStyle(*args
, **kwargs
) 
4659     def GetNextItem(*args
, **kwargs
): 
4660         """GetNextItem(self, long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -> long""" 
4661         return _controls_
.ListCtrl_GetNextItem(*args
, **kwargs
) 
4663     def GetImageList(*args
, **kwargs
): 
4664         """GetImageList(self, int which) -> ImageList""" 
4665         return _controls_
.ListCtrl_GetImageList(*args
, **kwargs
) 
4667     def SetImageList(*args
, **kwargs
): 
4668         """SetImageList(self, ImageList imageList, int which)""" 
4669         return _controls_
.ListCtrl_SetImageList(*args
, **kwargs
) 
4671     def AssignImageList(*args
, **kwargs
): 
4672         """AssignImageList(self, ImageList imageList, int which)""" 
4673         return _controls_
.ListCtrl_AssignImageList(*args
, **kwargs
) 
4675     def InReportView(*args
, **kwargs
): 
4676         """InReportView(self) -> bool""" 
4677         return _controls_
.ListCtrl_InReportView(*args
, **kwargs
) 
4679     def IsVirtual(*args
, **kwargs
): 
4680         """IsVirtual(self) -> bool""" 
4681         return _controls_
.ListCtrl_IsVirtual(*args
, **kwargs
) 
4683     def RefreshItem(*args
, **kwargs
): 
4684         """RefreshItem(self, long item)""" 
4685         return _controls_
.ListCtrl_RefreshItem(*args
, **kwargs
) 
4687     def RefreshItems(*args
, **kwargs
): 
4688         """RefreshItems(self, long itemFrom, long itemTo)""" 
4689         return _controls_
.ListCtrl_RefreshItems(*args
, **kwargs
) 
4691     def Arrange(*args
, **kwargs
): 
4692         """Arrange(self, int flag=LIST_ALIGN_DEFAULT) -> bool""" 
4693         return _controls_
.ListCtrl_Arrange(*args
, **kwargs
) 
4695     def DeleteItem(*args
, **kwargs
): 
4696         """DeleteItem(self, long item) -> bool""" 
4697         return _controls_
.ListCtrl_DeleteItem(*args
, **kwargs
) 
4699     def DeleteAllItems(*args
, **kwargs
): 
4700         """DeleteAllItems(self) -> bool""" 
4701         return _controls_
.ListCtrl_DeleteAllItems(*args
, **kwargs
) 
4703     def DeleteColumn(*args
, **kwargs
): 
4704         """DeleteColumn(self, int col) -> bool""" 
4705         return _controls_
.ListCtrl_DeleteColumn(*args
, **kwargs
) 
4707     def DeleteAllColumns(*args
, **kwargs
): 
4708         """DeleteAllColumns(self) -> bool""" 
4709         return _controls_
.ListCtrl_DeleteAllColumns(*args
, **kwargs
) 
4711     def ClearAll(*args
, **kwargs
): 
4712         """ClearAll(self)""" 
4713         return _controls_
.ListCtrl_ClearAll(*args
, **kwargs
) 
4715     def EditLabel(*args
, **kwargs
): 
4716         """EditLabel(self, long item)""" 
4717         return _controls_
.ListCtrl_EditLabel(*args
, **kwargs
) 
4719     def EnsureVisible(*args
, **kwargs
): 
4720         """EnsureVisible(self, long item) -> bool""" 
4721         return _controls_
.ListCtrl_EnsureVisible(*args
, **kwargs
) 
4723     def FindItem(*args
, **kwargs
): 
4724         """FindItem(self, long start, String str, bool partial=False) -> long""" 
4725         return _controls_
.ListCtrl_FindItem(*args
, **kwargs
) 
4727     def FindItemData(*args
, **kwargs
): 
4728         """FindItemData(self, long start, long data) -> long""" 
4729         return _controls_
.ListCtrl_FindItemData(*args
, **kwargs
) 
4731     def FindItemAtPos(*args
, **kwargs
): 
4732         """FindItemAtPos(self, long start, Point pt, int direction) -> long""" 
4733         return _controls_
.ListCtrl_FindItemAtPos(*args
, **kwargs
) 
4735     def HitTest(*args
, **kwargs
): 
4737         HitTest(Point point) -> (item, where) 
4739         Determines which item (if any) is at the specified point, giving 
4740          in the second return value (see wx.LIST_HITTEST flags.) 
4742         return _controls_
.ListCtrl_HitTest(*args
, **kwargs
) 
4744     def HitTestSubItem(*args
, **kwargs
): 
4746         HitTestSubItem(Point point) -> (item, where, subItem) 
4748         Determines which item (if any) is at the specified point, giving  in 
4749         the second return value (see wx.LIST_HITTEST flags) and also the subItem, if 
4752         return _controls_
.ListCtrl_HitTestSubItem(*args
, **kwargs
) 
4754     def InsertItem(*args
, **kwargs
): 
4755         """InsertItem(self, ListItem info) -> long""" 
4756         return _controls_
.ListCtrl_InsertItem(*args
, **kwargs
) 
4758     def InsertStringItem(*args
, **kwargs
): 
4759         """InsertStringItem(self, long index, String label, int imageIndex=-1) -> long""" 
4760         return _controls_
.ListCtrl_InsertStringItem(*args
, **kwargs
) 
4762     def InsertImageItem(*args
, **kwargs
): 
4763         """InsertImageItem(self, long index, int imageIndex) -> long""" 
4764         return _controls_
.ListCtrl_InsertImageItem(*args
, **kwargs
) 
4766     def InsertImageStringItem(*args
, **kwargs
): 
4767         """InsertImageStringItem(self, long index, String label, int imageIndex) -> long""" 
4768         return _controls_
.ListCtrl_InsertImageStringItem(*args
, **kwargs
) 
4770     def InsertColumnItem(*args
, **kwargs
): 
4771         """InsertColumnItem(self, long col, ListItem info) -> long""" 
4772         return _controls_
.ListCtrl_InsertColumnItem(*args
, **kwargs
) 
4774     InsertColumnInfo 
= InsertColumnItem 
 
4775     def InsertColumn(*args
, **kwargs
): 
4777         InsertColumn(self, long col, String heading, int format=LIST_FORMAT_LEFT,  
4778             int width=-1) -> long 
4780         return _controls_
.ListCtrl_InsertColumn(*args
, **kwargs
) 
4782     def SetItemCount(*args
, **kwargs
): 
4783         """SetItemCount(self, long count)""" 
4784         return _controls_
.ListCtrl_SetItemCount(*args
, **kwargs
) 
4786     def ScrollList(*args
, **kwargs
): 
4787         """ScrollList(self, int dx, int dy) -> bool""" 
4788         return _controls_
.ListCtrl_ScrollList(*args
, **kwargs
) 
4790     def SetItemTextColour(*args
, **kwargs
): 
4791         """SetItemTextColour(self, long item, Colour col)""" 
4792         return _controls_
.ListCtrl_SetItemTextColour(*args
, **kwargs
) 
4794     def GetItemTextColour(*args
, **kwargs
): 
4795         """GetItemTextColour(self, long item) -> Colour""" 
4796         return _controls_
.ListCtrl_GetItemTextColour(*args
, **kwargs
) 
4798     def SetItemBackgroundColour(*args
, **kwargs
): 
4799         """SetItemBackgroundColour(self, long item, Colour col)""" 
4800         return _controls_
.ListCtrl_SetItemBackgroundColour(*args
, **kwargs
) 
4802     def GetItemBackgroundColour(*args
, **kwargs
): 
4803         """GetItemBackgroundColour(self, long item) -> Colour""" 
4804         return _controls_
.ListCtrl_GetItemBackgroundColour(*args
, **kwargs
) 
4806     def SetItemFont(*args
, **kwargs
): 
4807         """SetItemFont(self, long item, Font f)""" 
4808         return _controls_
.ListCtrl_SetItemFont(*args
, **kwargs
) 
4810     def GetItemFont(*args
, **kwargs
): 
4811         """GetItemFont(self, long item) -> Font""" 
4812         return _controls_
.ListCtrl_GetItemFont(*args
, **kwargs
) 
4816     def Select(self
, idx
, on
=1): 
4817         '''[de]select an item''' 
4818         if on
: state 
= wx
.LIST_STATE_SELECTED
 
4820         self
.SetItemState(idx
, state
, wx
.LIST_STATE_SELECTED
) 
4822     def Focus(self
, idx
): 
4823         '''Focus and show the given item''' 
4824         self
.SetItemState(idx
, wx
.LIST_STATE_FOCUSED
, wx
.LIST_STATE_FOCUSED
) 
4825         self
.EnsureVisible(idx
) 
4827     def GetFocusedItem(self
): 
4828         '''get the currently focused item or -1 if none''' 
4829         return self
.GetNextItem(-1, wx
.LIST_NEXT_ALL
, wx
.LIST_STATE_FOCUSED
) 
4831     def GetFirstSelected(self
, *args
): 
4832         '''return first selected item, or -1 when none''' 
4833         return self
.GetNextSelected(-1) 
4835     def GetNextSelected(self
, item
): 
4836         '''return subsequent selected items, or -1 when no more''' 
4837         return self
.GetNextItem(item
, wx
.LIST_NEXT_ALL
, wx
.LIST_STATE_SELECTED
) 
4839     def IsSelected(self
, idx
): 
4840         '''return True if the item is selected''' 
4841         return (self
.GetItemState(idx
, wx
.LIST_STATE_SELECTED
) & wx
.LIST_STATE_SELECTED
) != 0 
4843     def SetColumnImage(self
, col
, image
): 
4844         item 
= self
.GetColumn(col
) 
4845         # preserve all other attributes too 
4846         item
.SetMask( wx
.LIST_MASK_STATE |
 
4848                       wx
.LIST_MASK_IMAGE |
 
4851                       wx
.LIST_MASK_WIDTH |
 
4852                       wx
.LIST_MASK_FORMAT 
) 
4853         item
.SetImage(image
) 
4854         self
.SetColumn(col
, item
) 
4856     def ClearColumnImage(self
, col
): 
4857         self
.SetColumnImage(col
, -1) 
4859     def Append(self
, entry
): 
4860         '''Append an item to the list control.  The entry parameter should be a 
4861            sequence with an item for each column''' 
4867             pos 
= self
.GetItemCount() 
4868             self
.InsertStringItem(pos
, cvtfunc(entry
[0])) 
4869             for i 
in range(1, len(entry
)): 
4870                 self
.SetStringItem(pos
, i
, cvtfunc(entry
[i
])) 
4873     def SortItems(*args
, **kwargs
): 
4874         """SortItems(self, PyObject func) -> bool""" 
4875         return _controls_
.ListCtrl_SortItems(*args
, **kwargs
) 
4877     def GetMainWindow(*args
, **kwargs
): 
4878         """GetMainWindow(self) -> Window""" 
4879         return _controls_
.ListCtrl_GetMainWindow(*args
, **kwargs
) 
4881     def GetClassDefaultAttributes(*args
, **kwargs
): 
4883         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
4885         Get the default attributes for this class.  This is useful if you want 
4886         to use the same font or colour in your own control as in a standard 
4887         control -- which is a much better idea than hard coding specific 
4888         colours or fonts which might look completely out of place on the 
4889         user's system, especially if it uses themes. 
4891         The variant parameter is only relevant under Mac currently and is 
4892         ignore under other platforms. Under Mac, it will change the size of 
4893         the returned font. See `wx.Window.SetWindowVariant` for more about 
4896         return _controls_
.ListCtrl_GetClassDefaultAttributes(*args
, **kwargs
) 
4898     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
4899     ColumnCount 
= property(GetColumnCount
,doc
="See `GetColumnCount`")  
4900     CountPerPage 
= property(GetCountPerPage
,doc
="See `GetCountPerPage`")  
4901     EditControl 
= property(GetEditControl
,doc
="See `GetEditControl`")  
4902     FocusedItem 
= property(GetFocusedItem
,doc
="See `GetFocusedItem`")  
4903     ItemCount 
= property(GetItemCount
,SetItemCount
,doc
="See `GetItemCount` and `SetItemCount`")  
4904     MainWindow 
= property(GetMainWindow
,doc
="See `GetMainWindow`")  
4905     SelectedItemCount 
= property(GetSelectedItemCount
,doc
="See `GetSelectedItemCount`")  
4906     TextColour 
= property(GetTextColour
,SetTextColour
,doc
="See `GetTextColour` and `SetTextColour`")  
4907     TopItem 
= property(GetTopItem
,doc
="See `GetTopItem`")  
4908     ViewRect 
= property(GetViewRect
,doc
="See `GetViewRect`")  
4909 _controls_
.ListCtrl_swigregister(ListCtrl
) 
4911 def PreListCtrl(*args
, **kwargs
): 
4912     """PreListCtrl() -> ListCtrl""" 
4913     val 
= _controls_
.new_PreListCtrl(*args
, **kwargs
) 
4916 def ListCtrl_GetClassDefaultAttributes(*args
, **kwargs
): 
4918     ListCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
4920     Get the default attributes for this class.  This is useful if you want 
4921     to use the same font or colour in your own control as in a standard 
4922     control -- which is a much better idea than hard coding specific 
4923     colours or fonts which might look completely out of place on the 
4924     user's system, especially if it uses themes. 
4926     The variant parameter is only relevant under Mac currently and is 
4927     ignore under other platforms. Under Mac, it will change the size of 
4928     the returned font. See `wx.Window.SetWindowVariant` for more about 
4931   return _controls_
.ListCtrl_GetClassDefaultAttributes(*args
, **kwargs
) 
4933 #--------------------------------------------------------------------------- 
4935 class ListView(ListCtrl
): 
4936     """Proxy of C++ ListView class""" 
4937     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
4938     __repr__ 
= _swig_repr
 
4939     def __init__(self
, *args
, **kwargs
):  
4941         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
4942             Size size=DefaultSize, long style=LC_REPORT,  
4943             Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListView 
4945         _controls_
.ListView_swiginit(self
,_controls_
.new_ListView(*args
, **kwargs
)) 
4946         self
._setOORInfo
(self
) 
4948     def Create(*args
, **kwargs
): 
4950         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
4951             Size size=DefaultSize, long style=LC_REPORT,  
4952             Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> bool 
4954         Do the 2nd phase and create the GUI control. 
4956         return _controls_
.ListView_Create(*args
, **kwargs
) 
4958     def Select(*args
, **kwargs
): 
4959         """Select(self, long n, bool on=True)""" 
4960         return _controls_
.ListView_Select(*args
, **kwargs
) 
4962     def Focus(*args
, **kwargs
): 
4963         """Focus(self, long index)""" 
4964         return _controls_
.ListView_Focus(*args
, **kwargs
) 
4966     def GetFocusedItem(*args
, **kwargs
): 
4967         """GetFocusedItem(self) -> long""" 
4968         return _controls_
.ListView_GetFocusedItem(*args
, **kwargs
) 
4970     def GetNextSelected(*args
, **kwargs
): 
4971         """GetNextSelected(self, long item) -> long""" 
4972         return _controls_
.ListView_GetNextSelected(*args
, **kwargs
) 
4974     def GetFirstSelected(*args
, **kwargs
): 
4975         """GetFirstSelected(self) -> long""" 
4976         return _controls_
.ListView_GetFirstSelected(*args
, **kwargs
) 
4978     def IsSelected(*args
, **kwargs
): 
4979         """IsSelected(self, long index) -> bool""" 
4980         return _controls_
.ListView_IsSelected(*args
, **kwargs
) 
4982     def SetColumnImage(*args
, **kwargs
): 
4983         """SetColumnImage(self, int col, int image)""" 
4984         return _controls_
.ListView_SetColumnImage(*args
, **kwargs
) 
4986     def ClearColumnImage(*args
, **kwargs
): 
4987         """ClearColumnImage(self, int col)""" 
4988         return _controls_
.ListView_ClearColumnImage(*args
, **kwargs
) 
4990     FocusedItem 
= property(GetFocusedItem
,doc
="See `GetFocusedItem`")  
4991 _controls_
.ListView_swigregister(ListView
) 
4993 def PreListView(*args
, **kwargs
): 
4994     """PreListView() -> ListView""" 
4995     val 
= _controls_
.new_PreListView(*args
, **kwargs
) 
4998 #--------------------------------------------------------------------------- 
5000 TR_NO_BUTTONS 
= _controls_
.TR_NO_BUTTONS
 
5001 TR_HAS_BUTTONS 
= _controls_
.TR_HAS_BUTTONS
 
5002 TR_NO_LINES 
= _controls_
.TR_NO_LINES
 
5003 TR_LINES_AT_ROOT 
= _controls_
.TR_LINES_AT_ROOT
 
5004 TR_SINGLE 
= _controls_
.TR_SINGLE
 
5005 TR_MULTIPLE 
= _controls_
.TR_MULTIPLE
 
5006 TR_EXTENDED 
= _controls_
.TR_EXTENDED
 
5007 TR_HAS_VARIABLE_ROW_HEIGHT 
= _controls_
.TR_HAS_VARIABLE_ROW_HEIGHT
 
5008 TR_EDIT_LABELS 
= _controls_
.TR_EDIT_LABELS
 
5009 TR_HIDE_ROOT 
= _controls_
.TR_HIDE_ROOT
 
5010 TR_ROW_LINES 
= _controls_
.TR_ROW_LINES
 
5011 TR_FULL_ROW_HIGHLIGHT 
= _controls_
.TR_FULL_ROW_HIGHLIGHT
 
5012 TR_DEFAULT_STYLE 
= _controls_
.TR_DEFAULT_STYLE
 
5013 TR_TWIST_BUTTONS 
= _controls_
.TR_TWIST_BUTTONS
 
5016 wxTR_AQUA_BUTTONS 
= 0 
5018 TreeItemIcon_Normal 
= _controls_
.TreeItemIcon_Normal
 
5019 TreeItemIcon_Selected 
= _controls_
.TreeItemIcon_Selected
 
5020 TreeItemIcon_Expanded 
= _controls_
.TreeItemIcon_Expanded
 
5021 TreeItemIcon_SelectedExpanded 
= _controls_
.TreeItemIcon_SelectedExpanded
 
5022 TreeItemIcon_Max 
= _controls_
.TreeItemIcon_Max
 
5023 TREE_HITTEST_ABOVE 
= _controls_
.TREE_HITTEST_ABOVE
 
5024 TREE_HITTEST_BELOW 
= _controls_
.TREE_HITTEST_BELOW
 
5025 TREE_HITTEST_NOWHERE 
= _controls_
.TREE_HITTEST_NOWHERE
 
5026 TREE_HITTEST_ONITEMBUTTON 
= _controls_
.TREE_HITTEST_ONITEMBUTTON
 
5027 TREE_HITTEST_ONITEMICON 
= _controls_
.TREE_HITTEST_ONITEMICON
 
5028 TREE_HITTEST_ONITEMINDENT 
= _controls_
.TREE_HITTEST_ONITEMINDENT
 
5029 TREE_HITTEST_ONITEMLABEL 
= _controls_
.TREE_HITTEST_ONITEMLABEL
 
5030 TREE_HITTEST_ONITEMRIGHT 
= _controls_
.TREE_HITTEST_ONITEMRIGHT
 
5031 TREE_HITTEST_ONITEMSTATEICON 
= _controls_
.TREE_HITTEST_ONITEMSTATEICON
 
5032 TREE_HITTEST_TOLEFT 
= _controls_
.TREE_HITTEST_TOLEFT
 
5033 TREE_HITTEST_TORIGHT 
= _controls_
.TREE_HITTEST_TORIGHT
 
5034 TREE_HITTEST_ONITEMUPPERPART 
= _controls_
.TREE_HITTEST_ONITEMUPPERPART
 
5035 TREE_HITTEST_ONITEMLOWERPART 
= _controls_
.TREE_HITTEST_ONITEMLOWERPART
 
5036 TREE_HITTEST_ONITEM 
= _controls_
.TREE_HITTEST_ONITEM
 
5037 #--------------------------------------------------------------------------- 
5039 class TreeItemId(object): 
5040     """Proxy of C++ TreeItemId class""" 
5041     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5042     __repr__ 
= _swig_repr
 
5043     def __init__(self
, *args
, **kwargs
):  
5044         """__init__(self) -> TreeItemId""" 
5045         _controls_
.TreeItemId_swiginit(self
,_controls_
.new_TreeItemId(*args
, **kwargs
)) 
5046     __swig_destroy__ 
= _controls_
.delete_TreeItemId
 
5047     __del__ 
= lambda self 
: None; 
5048     def IsOk(*args
, **kwargs
): 
5049         """IsOk(self) -> bool""" 
5050         return _controls_
.TreeItemId_IsOk(*args
, **kwargs
) 
5052     def __eq__(*args
, **kwargs
): 
5053         """__eq__(self, TreeItemId other) -> bool""" 
5054         return _controls_
.TreeItemId___eq__(*args
, **kwargs
) 
5056     def __ne__(*args
, **kwargs
): 
5057         """__ne__(self, TreeItemId other) -> bool""" 
5058         return _controls_
.TreeItemId___ne__(*args
, **kwargs
) 
5060     m_pItem 
= property(_controls_
.TreeItemId_m_pItem_get
, _controls_
.TreeItemId_m_pItem_set
) 
5062     def __nonzero__(self
): return self
.IsOk()  
5063 _controls_
.TreeItemId_swigregister(TreeItemId
) 
5064 TreeCtrlNameStr 
= cvar
.TreeCtrlNameStr
 
5066 class TreeItemData(object): 
5067     """Proxy of C++ TreeItemData class""" 
5068     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5069     __repr__ 
= _swig_repr
 
5070     def __init__(self
, *args
, **kwargs
):  
5071         """__init__(self, PyObject obj=None) -> TreeItemData""" 
5072         _controls_
.TreeItemData_swiginit(self
,_controls_
.new_TreeItemData(*args
, **kwargs
)) 
5073     __swig_destroy__ 
= _controls_
.delete_TreeItemData
 
5074     __del__ 
= lambda self 
: None; 
5075     def GetData(*args
, **kwargs
): 
5076         """GetData(self) -> PyObject""" 
5077         return _controls_
.TreeItemData_GetData(*args
, **kwargs
) 
5079     def SetData(*args
, **kwargs
): 
5080         """SetData(self, PyObject obj)""" 
5081         return _controls_
.TreeItemData_SetData(*args
, **kwargs
) 
5083     def GetId(*args
, **kwargs
): 
5084         """GetId(self) -> TreeItemId""" 
5085         return _controls_
.TreeItemData_GetId(*args
, **kwargs
) 
5087     def SetId(*args
, **kwargs
): 
5088         """SetId(self, TreeItemId id)""" 
5089         return _controls_
.TreeItemData_SetId(*args
, **kwargs
) 
5091     def Destroy(*args
, **kwargs
): 
5093         args
[0].this
.own(False) 
5094         return _controls_
.TreeItemData_Destroy(*args
, **kwargs
) 
5096     Data 
= property(GetData
,SetData
,doc
="See `GetData` and `SetData`")  
5097     Id 
= property(GetId
,SetId
,doc
="See `GetId` and `SetId`")  
5098 _controls_
.TreeItemData_swigregister(TreeItemData
) 
5100 #--------------------------------------------------------------------------- 
5102 wxEVT_COMMAND_TREE_BEGIN_DRAG 
= _controls_
.wxEVT_COMMAND_TREE_BEGIN_DRAG
 
5103 wxEVT_COMMAND_TREE_BEGIN_RDRAG 
= _controls_
.wxEVT_COMMAND_TREE_BEGIN_RDRAG
 
5104 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT 
= _controls_
.wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
 
5105 wxEVT_COMMAND_TREE_END_LABEL_EDIT 
= _controls_
.wxEVT_COMMAND_TREE_END_LABEL_EDIT
 
5106 wxEVT_COMMAND_TREE_DELETE_ITEM 
= _controls_
.wxEVT_COMMAND_TREE_DELETE_ITEM
 
5107 wxEVT_COMMAND_TREE_GET_INFO 
= _controls_
.wxEVT_COMMAND_TREE_GET_INFO
 
5108 wxEVT_COMMAND_TREE_SET_INFO 
= _controls_
.wxEVT_COMMAND_TREE_SET_INFO
 
5109 wxEVT_COMMAND_TREE_ITEM_EXPANDED 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_EXPANDED
 
5110 wxEVT_COMMAND_TREE_ITEM_EXPANDING 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_EXPANDING
 
5111 wxEVT_COMMAND_TREE_ITEM_COLLAPSED 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_COLLAPSED
 
5112 wxEVT_COMMAND_TREE_ITEM_COLLAPSING 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_COLLAPSING
 
5113 wxEVT_COMMAND_TREE_SEL_CHANGED 
= _controls_
.wxEVT_COMMAND_TREE_SEL_CHANGED
 
5114 wxEVT_COMMAND_TREE_SEL_CHANGING 
= _controls_
.wxEVT_COMMAND_TREE_SEL_CHANGING
 
5115 wxEVT_COMMAND_TREE_KEY_DOWN 
= _controls_
.wxEVT_COMMAND_TREE_KEY_DOWN
 
5116 wxEVT_COMMAND_TREE_ITEM_ACTIVATED 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_ACTIVATED
 
5117 wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
 
5118 wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
 
5119 wxEVT_COMMAND_TREE_END_DRAG 
= _controls_
.wxEVT_COMMAND_TREE_END_DRAG
 
5120 wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK 
= _controls_
.wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
 
5121 wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
 
5122 wxEVT_COMMAND_TREE_ITEM_MENU 
= _controls_
.wxEVT_COMMAND_TREE_ITEM_MENU
 
5123 EVT_TREE_BEGIN_DRAG        
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_DRAG       
, 1) 
5124 EVT_TREE_BEGIN_RDRAG       
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_RDRAG      
, 1) 
5125 EVT_TREE_BEGIN_LABEL_EDIT  
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT 
, 1) 
5126 EVT_TREE_END_LABEL_EDIT    
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_END_LABEL_EDIT   
, 1) 
5127 EVT_TREE_DELETE_ITEM       
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_DELETE_ITEM      
, 1) 
5128 EVT_TREE_GET_INFO          
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_GET_INFO         
, 1) 
5129 EVT_TREE_SET_INFO          
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_SET_INFO         
, 1) 
5130 EVT_TREE_ITEM_EXPANDED     
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDED    
, 1) 
5131 EVT_TREE_ITEM_EXPANDING    
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_EXPANDING   
, 1) 
5132 EVT_TREE_ITEM_COLLAPSED    
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSED   
, 1) 
5133 EVT_TREE_ITEM_COLLAPSING   
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_COLLAPSING  
, 1) 
5134 EVT_TREE_SEL_CHANGED       
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGED      
, 1) 
5135 EVT_TREE_SEL_CHANGING      
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_SEL_CHANGING     
, 1) 
5136 EVT_TREE_KEY_DOWN          
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_KEY_DOWN         
, 1) 
5137 EVT_TREE_ITEM_ACTIVATED    
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_ACTIVATED   
, 1) 
5138 EVT_TREE_ITEM_RIGHT_CLICK  
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK 
, 1) 
5139 EVT_TREE_ITEM_MIDDLE_CLICK 
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 1) 
5140 EVT_TREE_END_DRAG          
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG         
, 1) 
5141 EVT_TREE_STATE_IMAGE_CLICK 
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 1) 
5142 EVT_TREE_ITEM_GETTOOLTIP   
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
,   1) 
5143 EVT_TREE_ITEM_MENU         
= wx
.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_MENU
,         1) 
5145 class TreeEvent(_core
.NotifyEvent
): 
5146     """Proxy of C++ TreeEvent class""" 
5147     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5148     __repr__ 
= _swig_repr
 
5149     def __init__(self
, *args
):  
5151         __init__(self, EventType commandType=wxEVT_NULL, int id=0) -> TreeEvent 
5152         __init__(self, EventType commandType, TreeCtrl tree, TreeItemId item=NullTreeItemId) -> TreeEvent 
5154         _controls_
.TreeEvent_swiginit(self
,_controls_
.new_TreeEvent(*args
)) 
5155     def GetItem(*args
, **kwargs
): 
5156         """GetItem(self) -> TreeItemId""" 
5157         return _controls_
.TreeEvent_GetItem(*args
, **kwargs
) 
5159     def SetItem(*args
, **kwargs
): 
5160         """SetItem(self, TreeItemId item)""" 
5161         return _controls_
.TreeEvent_SetItem(*args
, **kwargs
) 
5163     def GetOldItem(*args
, **kwargs
): 
5164         """GetOldItem(self) -> TreeItemId""" 
5165         return _controls_
.TreeEvent_GetOldItem(*args
, **kwargs
) 
5167     def SetOldItem(*args
, **kwargs
): 
5168         """SetOldItem(self, TreeItemId item)""" 
5169         return _controls_
.TreeEvent_SetOldItem(*args
, **kwargs
) 
5171     def GetPoint(*args
, **kwargs
): 
5172         """GetPoint(self) -> Point""" 
5173         return _controls_
.TreeEvent_GetPoint(*args
, **kwargs
) 
5175     def SetPoint(*args
, **kwargs
): 
5176         """SetPoint(self, Point pt)""" 
5177         return _controls_
.TreeEvent_SetPoint(*args
, **kwargs
) 
5179     def GetKeyEvent(*args
, **kwargs
): 
5180         """GetKeyEvent(self) -> KeyEvent""" 
5181         return _controls_
.TreeEvent_GetKeyEvent(*args
, **kwargs
) 
5183     def GetKeyCode(*args
, **kwargs
): 
5184         """GetKeyCode(self) -> int""" 
5185         return _controls_
.TreeEvent_GetKeyCode(*args
, **kwargs
) 
5187     def SetKeyEvent(*args
, **kwargs
): 
5188         """SetKeyEvent(self, KeyEvent evt)""" 
5189         return _controls_
.TreeEvent_SetKeyEvent(*args
, **kwargs
) 
5191     def GetLabel(*args
, **kwargs
): 
5192         """GetLabel(self) -> String""" 
5193         return _controls_
.TreeEvent_GetLabel(*args
, **kwargs
) 
5195     def SetLabel(*args
, **kwargs
): 
5196         """SetLabel(self, String label)""" 
5197         return _controls_
.TreeEvent_SetLabel(*args
, **kwargs
) 
5199     def IsEditCancelled(*args
, **kwargs
): 
5200         """IsEditCancelled(self) -> bool""" 
5201         return _controls_
.TreeEvent_IsEditCancelled(*args
, **kwargs
) 
5203     def SetEditCanceled(*args
, **kwargs
): 
5204         """SetEditCanceled(self, bool editCancelled)""" 
5205         return _controls_
.TreeEvent_SetEditCanceled(*args
, **kwargs
) 
5207     def SetToolTip(*args
, **kwargs
): 
5208         """SetToolTip(self, String toolTip)""" 
5209         return _controls_
.TreeEvent_SetToolTip(*args
, **kwargs
) 
5211     def GetToolTip(*args
, **kwargs
): 
5212         """GetToolTip(self) -> String""" 
5213         return _controls_
.TreeEvent_GetToolTip(*args
, **kwargs
) 
5215     Item 
= property(GetItem
,SetItem
,doc
="See `GetItem` and `SetItem`")  
5216     KeyCode 
= property(GetKeyCode
,doc
="See `GetKeyCode`")  
5217     KeyEvent 
= property(GetKeyEvent
,SetKeyEvent
,doc
="See `GetKeyEvent` and `SetKeyEvent`")  
5218     Label 
= property(GetLabel
,SetLabel
,doc
="See `GetLabel` and `SetLabel`")  
5219     OldItem 
= property(GetOldItem
,SetOldItem
,doc
="See `GetOldItem` and `SetOldItem`")  
5220     Point 
= property(GetPoint
,SetPoint
,doc
="See `GetPoint` and `SetPoint`")  
5221     ToolTip 
= property(GetToolTip
,SetToolTip
,doc
="See `GetToolTip` and `SetToolTip`")  
5222     EditCancelled 
= property(IsEditCancelled
,SetEditCanceled
,doc
="See `IsEditCancelled` and `SetEditCanceled`")  
5223 _controls_
.TreeEvent_swigregister(TreeEvent
) 
5225 #--------------------------------------------------------------------------- 
5227 class TreeCtrl(_core
.Control
): 
5228     """Proxy of C++ TreeCtrl class""" 
5229     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5230     __repr__ 
= _swig_repr
 
5231     def __init__(self
, *args
, **kwargs
):  
5233         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
5234             Size size=DefaultSize, long style=TR_DEFAULT_STYLE,  
5235             Validator validator=DefaultValidator,  
5236             String name=TreeCtrlNameStr) -> TreeCtrl 
5238         _controls_
.TreeCtrl_swiginit(self
,_controls_
.new_TreeCtrl(*args
, **kwargs
)) 
5239         self
._setOORInfo
(self
);TreeCtrl
._setCallbackInfo
(self
, self
, TreeCtrl
) 
5241     def Create(*args
, **kwargs
): 
5243         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
5244             Size size=DefaultSize, long style=TR_DEFAULT_STYLE,  
5245             Validator validator=DefaultValidator,  
5246             String name=TreeCtrlNameStr) -> bool 
5248         Do the 2nd phase and create the GUI control. 
5250         return _controls_
.TreeCtrl_Create(*args
, **kwargs
) 
5252     def _setCallbackInfo(*args
, **kwargs
): 
5253         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5254         return _controls_
.TreeCtrl__setCallbackInfo(*args
, **kwargs
) 
5256     def GetCount(*args
, **kwargs
): 
5257         """GetCount(self) -> unsigned int""" 
5258         return _controls_
.TreeCtrl_GetCount(*args
, **kwargs
) 
5260     def GetIndent(*args
, **kwargs
): 
5261         """GetIndent(self) -> unsigned int""" 
5262         return _controls_
.TreeCtrl_GetIndent(*args
, **kwargs
) 
5264     def SetIndent(*args
, **kwargs
): 
5265         """SetIndent(self, unsigned int indent)""" 
5266         return _controls_
.TreeCtrl_SetIndent(*args
, **kwargs
) 
5268     def GetSpacing(*args
, **kwargs
): 
5269         """GetSpacing(self) -> unsigned int""" 
5270         return _controls_
.TreeCtrl_GetSpacing(*args
, **kwargs
) 
5272     def SetSpacing(*args
, **kwargs
): 
5273         """SetSpacing(self, unsigned int spacing)""" 
5274         return _controls_
.TreeCtrl_SetSpacing(*args
, **kwargs
) 
5276     def GetImageList(*args
, **kwargs
): 
5277         """GetImageList(self) -> ImageList""" 
5278         return _controls_
.TreeCtrl_GetImageList(*args
, **kwargs
) 
5280     def GetStateImageList(*args
, **kwargs
): 
5281         """GetStateImageList(self) -> ImageList""" 
5282         return _controls_
.TreeCtrl_GetStateImageList(*args
, **kwargs
) 
5284     def SetImageList(*args
, **kwargs
): 
5285         """SetImageList(self, ImageList imageList)""" 
5286         return _controls_
.TreeCtrl_SetImageList(*args
, **kwargs
) 
5288     def SetStateImageList(*args
, **kwargs
): 
5289         """SetStateImageList(self, ImageList imageList)""" 
5290         return _controls_
.TreeCtrl_SetStateImageList(*args
, **kwargs
) 
5292     def AssignImageList(*args
, **kwargs
): 
5293         """AssignImageList(self, ImageList imageList)""" 
5294         return _controls_
.TreeCtrl_AssignImageList(*args
, **kwargs
) 
5296     def AssignStateImageList(*args
, **kwargs
): 
5297         """AssignStateImageList(self, ImageList imageList)""" 
5298         return _controls_
.TreeCtrl_AssignStateImageList(*args
, **kwargs
) 
5300     def GetItemText(*args
, **kwargs
): 
5301         """GetItemText(self, TreeItemId item) -> String""" 
5302         return _controls_
.TreeCtrl_GetItemText(*args
, **kwargs
) 
5304     def GetItemImage(*args
, **kwargs
): 
5305         """GetItemImage(self, TreeItemId item, int which=TreeItemIcon_Normal) -> int""" 
5306         return _controls_
.TreeCtrl_GetItemImage(*args
, **kwargs
) 
5308     def GetItemData(*args
, **kwargs
): 
5309         """GetItemData(self, TreeItemId item) -> TreeItemData""" 
5310         return _controls_
.TreeCtrl_GetItemData(*args
, **kwargs
) 
5312     def GetItemPyData(*args
, **kwargs
): 
5313         """GetItemPyData(self, TreeItemId item) -> PyObject""" 
5314         return _controls_
.TreeCtrl_GetItemPyData(*args
, **kwargs
) 
5316     GetPyData 
= GetItemPyData 
 
5317     def GetItemTextColour(*args
, **kwargs
): 
5318         """GetItemTextColour(self, TreeItemId item) -> Colour""" 
5319         return _controls_
.TreeCtrl_GetItemTextColour(*args
, **kwargs
) 
5321     def GetItemBackgroundColour(*args
, **kwargs
): 
5322         """GetItemBackgroundColour(self, TreeItemId item) -> Colour""" 
5323         return _controls_
.TreeCtrl_GetItemBackgroundColour(*args
, **kwargs
) 
5325     def GetItemFont(*args
, **kwargs
): 
5326         """GetItemFont(self, TreeItemId item) -> Font""" 
5327         return _controls_
.TreeCtrl_GetItemFont(*args
, **kwargs
) 
5329     def SetItemText(*args
, **kwargs
): 
5330         """SetItemText(self, TreeItemId item, String text)""" 
5331         return _controls_
.TreeCtrl_SetItemText(*args
, **kwargs
) 
5333     def SetItemImage(*args
, **kwargs
): 
5334         """SetItemImage(self, TreeItemId item, int image, int which=TreeItemIcon_Normal)""" 
5335         return _controls_
.TreeCtrl_SetItemImage(*args
, **kwargs
) 
5337     def SetItemData(*args
, **kwargs
): 
5338         """SetItemData(self, TreeItemId item, TreeItemData data)""" 
5339         return _controls_
.TreeCtrl_SetItemData(*args
, **kwargs
) 
5341     def SetItemPyData(*args
, **kwargs
): 
5342         """SetItemPyData(self, TreeItemId item, PyObject obj)""" 
5343         return _controls_
.TreeCtrl_SetItemPyData(*args
, **kwargs
) 
5345     SetPyData 
= SetItemPyData 
 
5346     def SetItemHasChildren(*args
, **kwargs
): 
5347         """SetItemHasChildren(self, TreeItemId item, bool has=True)""" 
5348         return _controls_
.TreeCtrl_SetItemHasChildren(*args
, **kwargs
) 
5350     def SetItemBold(*args
, **kwargs
): 
5351         """SetItemBold(self, TreeItemId item, bool bold=True)""" 
5352         return _controls_
.TreeCtrl_SetItemBold(*args
, **kwargs
) 
5354     def SetItemDropHighlight(*args
, **kwargs
): 
5355         """SetItemDropHighlight(self, TreeItemId item, bool highlight=True)""" 
5356         return _controls_
.TreeCtrl_SetItemDropHighlight(*args
, **kwargs
) 
5358     def SetItemTextColour(*args
, **kwargs
): 
5359         """SetItemTextColour(self, TreeItemId item, Colour col)""" 
5360         return _controls_
.TreeCtrl_SetItemTextColour(*args
, **kwargs
) 
5362     def SetItemBackgroundColour(*args
, **kwargs
): 
5363         """SetItemBackgroundColour(self, TreeItemId item, Colour col)""" 
5364         return _controls_
.TreeCtrl_SetItemBackgroundColour(*args
, **kwargs
) 
5366     def SetItemFont(*args
, **kwargs
): 
5367         """SetItemFont(self, TreeItemId item, Font font)""" 
5368         return _controls_
.TreeCtrl_SetItemFont(*args
, **kwargs
) 
5370     def IsVisible(*args
, **kwargs
): 
5371         """IsVisible(self, TreeItemId item) -> bool""" 
5372         return _controls_
.TreeCtrl_IsVisible(*args
, **kwargs
) 
5374     def ItemHasChildren(*args
, **kwargs
): 
5375         """ItemHasChildren(self, TreeItemId item) -> bool""" 
5376         return _controls_
.TreeCtrl_ItemHasChildren(*args
, **kwargs
) 
5378     def IsExpanded(*args
, **kwargs
): 
5379         """IsExpanded(self, TreeItemId item) -> bool""" 
5380         return _controls_
.TreeCtrl_IsExpanded(*args
, **kwargs
) 
5382     def IsSelected(*args
, **kwargs
): 
5383         """IsSelected(self, TreeItemId item) -> bool""" 
5384         return _controls_
.TreeCtrl_IsSelected(*args
, **kwargs
) 
5386     def IsBold(*args
, **kwargs
): 
5387         """IsBold(self, TreeItemId item) -> bool""" 
5388         return _controls_
.TreeCtrl_IsBold(*args
, **kwargs
) 
5390     def IsEmpty(*args
, **kwargs
): 
5391         """IsEmpty(self) -> bool""" 
5392         return _controls_
.TreeCtrl_IsEmpty(*args
, **kwargs
) 
5394     def GetChildrenCount(*args
, **kwargs
): 
5395         """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t""" 
5396         return _controls_
.TreeCtrl_GetChildrenCount(*args
, **kwargs
) 
5398     def GetRootItem(*args
, **kwargs
): 
5399         """GetRootItem(self) -> TreeItemId""" 
5400         return _controls_
.TreeCtrl_GetRootItem(*args
, **kwargs
) 
5402     def GetSelection(*args
, **kwargs
): 
5403         """GetSelection(self) -> TreeItemId""" 
5404         return _controls_
.TreeCtrl_GetSelection(*args
, **kwargs
) 
5406     def GetSelections(*args
, **kwargs
): 
5407         """GetSelections(self) -> PyObject""" 
5408         return _controls_
.TreeCtrl_GetSelections(*args
, **kwargs
) 
5410     def GetItemParent(*args
, **kwargs
): 
5411         """GetItemParent(self, TreeItemId item) -> TreeItemId""" 
5412         return _controls_
.TreeCtrl_GetItemParent(*args
, **kwargs
) 
5414     def GetFirstChild(*args
, **kwargs
): 
5415         """GetFirstChild(self, TreeItemId item) -> PyObject""" 
5416         return _controls_
.TreeCtrl_GetFirstChild(*args
, **kwargs
) 
5418     def GetNextChild(*args
, **kwargs
): 
5419         """GetNextChild(self, TreeItemId item, void cookie) -> PyObject""" 
5420         return _controls_
.TreeCtrl_GetNextChild(*args
, **kwargs
) 
5422     def GetLastChild(*args
, **kwargs
): 
5423         """GetLastChild(self, TreeItemId item) -> TreeItemId""" 
5424         return _controls_
.TreeCtrl_GetLastChild(*args
, **kwargs
) 
5426     def GetNextSibling(*args
, **kwargs
): 
5427         """GetNextSibling(self, TreeItemId item) -> TreeItemId""" 
5428         return _controls_
.TreeCtrl_GetNextSibling(*args
, **kwargs
) 
5430     def GetPrevSibling(*args
, **kwargs
): 
5431         """GetPrevSibling(self, TreeItemId item) -> TreeItemId""" 
5432         return _controls_
.TreeCtrl_GetPrevSibling(*args
, **kwargs
) 
5434     def GetFirstVisibleItem(*args
, **kwargs
): 
5435         """GetFirstVisibleItem(self) -> TreeItemId""" 
5436         return _controls_
.TreeCtrl_GetFirstVisibleItem(*args
, **kwargs
) 
5438     def GetNextVisible(*args
, **kwargs
): 
5439         """GetNextVisible(self, TreeItemId item) -> TreeItemId""" 
5440         return _controls_
.TreeCtrl_GetNextVisible(*args
, **kwargs
) 
5442     def GetPrevVisible(*args
, **kwargs
): 
5443         """GetPrevVisible(self, TreeItemId item) -> TreeItemId""" 
5444         return _controls_
.TreeCtrl_GetPrevVisible(*args
, **kwargs
) 
5446     def AddRoot(*args
, **kwargs
): 
5447         """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId""" 
5448         return _controls_
.TreeCtrl_AddRoot(*args
, **kwargs
) 
5450     def PrependItem(*args
, **kwargs
): 
5452         PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,  
5453             TreeItemData data=None) -> TreeItemId 
5455         return _controls_
.TreeCtrl_PrependItem(*args
, **kwargs
) 
5457     def InsertItem(*args
, **kwargs
): 
5459         InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,  
5460             int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId 
5462         return _controls_
.TreeCtrl_InsertItem(*args
, **kwargs
) 
5464     def InsertItemBefore(*args
, **kwargs
): 
5466         InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,  
5467             int selectedImage=-1, TreeItemData data=None) -> TreeItemId 
5469         return _controls_
.TreeCtrl_InsertItemBefore(*args
, **kwargs
) 
5471     def AppendItem(*args
, **kwargs
): 
5473         AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,  
5474             TreeItemData data=None) -> TreeItemId 
5476         return _controls_
.TreeCtrl_AppendItem(*args
, **kwargs
) 
5478     def Delete(*args
, **kwargs
): 
5479         """Delete(self, TreeItemId item)""" 
5480         return _controls_
.TreeCtrl_Delete(*args
, **kwargs
) 
5482     def DeleteChildren(*args
, **kwargs
): 
5483         """DeleteChildren(self, TreeItemId item)""" 
5484         return _controls_
.TreeCtrl_DeleteChildren(*args
, **kwargs
) 
5486     def DeleteAllItems(*args
, **kwargs
): 
5487         """DeleteAllItems(self)""" 
5488         return _controls_
.TreeCtrl_DeleteAllItems(*args
, **kwargs
) 
5490     def Expand(*args
, **kwargs
): 
5491         """Expand(self, TreeItemId item)""" 
5492         return _controls_
.TreeCtrl_Expand(*args
, **kwargs
) 
5494     def ExpandAllChildren(*args
, **kwargs
): 
5495         """ExpandAllChildren(self, TreeItemId item)""" 
5496         return _controls_
.TreeCtrl_ExpandAllChildren(*args
, **kwargs
) 
5498     def ExpandAll(*args
, **kwargs
): 
5499         """ExpandAll(self)""" 
5500         return _controls_
.TreeCtrl_ExpandAll(*args
, **kwargs
) 
5502     def Collapse(*args
, **kwargs
): 
5503         """Collapse(self, TreeItemId item)""" 
5504         return _controls_
.TreeCtrl_Collapse(*args
, **kwargs
) 
5506     def CollapseAllChildren(*args
, **kwargs
): 
5507         """CollapseAllChildren(self, TreeItemId item)""" 
5508         return _controls_
.TreeCtrl_CollapseAllChildren(*args
, **kwargs
) 
5510     def CollapseAll(*args
, **kwargs
): 
5511         """CollapseAll(self)""" 
5512         return _controls_
.TreeCtrl_CollapseAll(*args
, **kwargs
) 
5514     def CollapseAndReset(*args
, **kwargs
): 
5515         """CollapseAndReset(self, TreeItemId item)""" 
5516         return _controls_
.TreeCtrl_CollapseAndReset(*args
, **kwargs
) 
5518     def Toggle(*args
, **kwargs
): 
5519         """Toggle(self, TreeItemId item)""" 
5520         return _controls_
.TreeCtrl_Toggle(*args
, **kwargs
) 
5522     def Unselect(*args
, **kwargs
): 
5523         """Unselect(self)""" 
5524         return _controls_
.TreeCtrl_Unselect(*args
, **kwargs
) 
5526     def UnselectItem(*args
, **kwargs
): 
5527         """UnselectItem(self, TreeItemId item)""" 
5528         return _controls_
.TreeCtrl_UnselectItem(*args
, **kwargs
) 
5530     def UnselectAll(*args
, **kwargs
): 
5531         """UnselectAll(self)""" 
5532         return _controls_
.TreeCtrl_UnselectAll(*args
, **kwargs
) 
5534     def SelectItem(*args
, **kwargs
): 
5535         """SelectItem(self, TreeItemId item, bool select=True)""" 
5536         return _controls_
.TreeCtrl_SelectItem(*args
, **kwargs
) 
5538     def ToggleItemSelection(*args
, **kwargs
): 
5539         """ToggleItemSelection(self, TreeItemId item)""" 
5540         return _controls_
.TreeCtrl_ToggleItemSelection(*args
, **kwargs
) 
5542     def EnsureVisible(*args
, **kwargs
): 
5543         """EnsureVisible(self, TreeItemId item)""" 
5544         return _controls_
.TreeCtrl_EnsureVisible(*args
, **kwargs
) 
5546     def ScrollTo(*args
, **kwargs
): 
5547         """ScrollTo(self, TreeItemId item)""" 
5548         return _controls_
.TreeCtrl_ScrollTo(*args
, **kwargs
) 
5550     def EditLabel(*args
, **kwargs
): 
5551         """EditLabel(self, TreeItemId item)""" 
5552         return _controls_
.TreeCtrl_EditLabel(*args
, **kwargs
) 
5554     def GetEditControl(*args
, **kwargs
): 
5555         """GetEditControl(self) -> TextCtrl""" 
5556         return _controls_
.TreeCtrl_GetEditControl(*args
, **kwargs
) 
5558     def SortChildren(*args
, **kwargs
): 
5559         """SortChildren(self, TreeItemId item)""" 
5560         return _controls_
.TreeCtrl_SortChildren(*args
, **kwargs
) 
5562     def HitTest(*args
, **kwargs
): 
5564         HitTest(Point point) -> (item, where) 
5566         Determine which item (if any) belongs the given point.  The coordinates 
5567         specified are relative to the client area of tree ctrl and the where return 
5568         value is set to a bitmask of wxTREE_HITTEST_xxx constants. 
5571         return _controls_
.TreeCtrl_HitTest(*args
, **kwargs
) 
5573     def GetBoundingRect(*args
, **kwargs
): 
5574         """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject""" 
5575         return _controls_
.TreeCtrl_GetBoundingRect(*args
, **kwargs
) 
5577     def GetClassDefaultAttributes(*args
, **kwargs
): 
5579         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
5581         Get the default attributes for this class.  This is useful if you want 
5582         to use the same font or colour in your own control as in a standard 
5583         control -- which is a much better idea than hard coding specific 
5584         colours or fonts which might look completely out of place on the 
5585         user's system, especially if it uses themes. 
5587         The variant parameter is only relevant under Mac currently and is 
5588         ignore under other platforms. Under Mac, it will change the size of 
5589         the returned font. See `wx.Window.SetWindowVariant` for more about 
5592         return _controls_
.TreeCtrl_GetClassDefaultAttributes(*args
, **kwargs
) 
5594     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
5595     def SetQuickBestSize(*args
, **kwargs
): 
5596         """SetQuickBestSize(self, bool q)""" 
5597         return _controls_
.TreeCtrl_SetQuickBestSize(*args
, **kwargs
) 
5599     def GetQuickBestSize(*args
, **kwargs
): 
5600         """GetQuickBestSize(self) -> bool""" 
5601         return _controls_
.TreeCtrl_GetQuickBestSize(*args
, **kwargs
) 
5603     Count 
= property(GetCount
,doc
="See `GetCount`")  
5604     EditControl 
= property(GetEditControl
,doc
="See `GetEditControl`")  
5605     FirstVisibleItem 
= property(GetFirstVisibleItem
,doc
="See `GetFirstVisibleItem`")  
5606     ImageList 
= property(GetImageList
,SetImageList
,doc
="See `GetImageList` and `SetImageList`")  
5607     Indent 
= property(GetIndent
,SetIndent
,doc
="See `GetIndent` and `SetIndent`")  
5608     QuickBestSize 
= property(GetQuickBestSize
,SetQuickBestSize
,doc
="See `GetQuickBestSize` and `SetQuickBestSize`")  
5609     RootItem 
= property(GetRootItem
,doc
="See `GetRootItem`")  
5610     Selection 
= property(GetSelection
,doc
="See `GetSelection`")  
5611     Selections 
= property(GetSelections
,doc
="See `GetSelections`")  
5612     Spacing 
= property(GetSpacing
,SetSpacing
,doc
="See `GetSpacing` and `SetSpacing`")  
5613     StateImageList 
= property(GetStateImageList
,SetStateImageList
,doc
="See `GetStateImageList` and `SetStateImageList`")  
5614 _controls_
.TreeCtrl_swigregister(TreeCtrl
) 
5616 def PreTreeCtrl(*args
, **kwargs
): 
5617     """PreTreeCtrl() -> TreeCtrl""" 
5618     val 
= _controls_
.new_PreTreeCtrl(*args
, **kwargs
) 
5621 def TreeCtrl_GetClassDefaultAttributes(*args
, **kwargs
): 
5623     TreeCtrl_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
5625     Get the default attributes for this class.  This is useful if you want 
5626     to use the same font or colour in your own control as in a standard 
5627     control -- which is a much better idea than hard coding specific 
5628     colours or fonts which might look completely out of place on the 
5629     user's system, especially if it uses themes. 
5631     The variant parameter is only relevant under Mac currently and is 
5632     ignore under other platforms. Under Mac, it will change the size of 
5633     the returned font. See `wx.Window.SetWindowVariant` for more about 
5636   return _controls_
.TreeCtrl_GetClassDefaultAttributes(*args
, **kwargs
) 
5638 #--------------------------------------------------------------------------- 
5640 DIRCTRL_DIR_ONLY 
= _controls_
.DIRCTRL_DIR_ONLY
 
5641 DIRCTRL_SELECT_FIRST 
= _controls_
.DIRCTRL_SELECT_FIRST
 
5642 DIRCTRL_SHOW_FILTERS 
= _controls_
.DIRCTRL_SHOW_FILTERS
 
5643 DIRCTRL_3D_INTERNAL 
= _controls_
.DIRCTRL_3D_INTERNAL
 
5644 DIRCTRL_EDIT_LABELS 
= _controls_
.DIRCTRL_EDIT_LABELS
 
5645 class GenericDirCtrl(_core
.Control
): 
5646     """Proxy of C++ GenericDirCtrl class""" 
5647     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5648     __repr__ 
= _swig_repr
 
5649     def __init__(self
, *args
, **kwargs
):  
5651         __init__(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr,  
5652             Point pos=DefaultPosition, Size size=DefaultSize,  
5653             long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,  
5654             String filter=EmptyString,  
5655             int defaultFilter=0, String name=TreeCtrlNameStr) -> GenericDirCtrl 
5657         _controls_
.GenericDirCtrl_swiginit(self
,_controls_
.new_GenericDirCtrl(*args
, **kwargs
)) 
5658         self
._setOORInfo
(self
) 
5660     def Create(*args
, **kwargs
): 
5662         Create(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr,  
5663             Point pos=DefaultPosition, Size size=DefaultSize,  
5664             long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER,  
5665             String filter=EmptyString,  
5666             int defaultFilter=0, String name=TreeCtrlNameStr) -> bool 
5668         return _controls_
.GenericDirCtrl_Create(*args
, **kwargs
) 
5670     def ExpandPath(*args
, **kwargs
): 
5671         """ExpandPath(self, String path) -> bool""" 
5672         return _controls_
.GenericDirCtrl_ExpandPath(*args
, **kwargs
) 
5674     def CollapsePath(*args
, **kwargs
): 
5675         """CollapsePath(self, String path) -> bool""" 
5676         return _controls_
.GenericDirCtrl_CollapsePath(*args
, **kwargs
) 
5678     def GetDefaultPath(*args
, **kwargs
): 
5679         """GetDefaultPath(self) -> String""" 
5680         return _controls_
.GenericDirCtrl_GetDefaultPath(*args
, **kwargs
) 
5682     def SetDefaultPath(*args
, **kwargs
): 
5683         """SetDefaultPath(self, String path)""" 
5684         return _controls_
.GenericDirCtrl_SetDefaultPath(*args
, **kwargs
) 
5686     def GetPath(*args
, **kwargs
): 
5687         """GetPath(self) -> String""" 
5688         return _controls_
.GenericDirCtrl_GetPath(*args
, **kwargs
) 
5690     def GetFilePath(*args
, **kwargs
): 
5691         """GetFilePath(self) -> String""" 
5692         return _controls_
.GenericDirCtrl_GetFilePath(*args
, **kwargs
) 
5694     def SetPath(*args
, **kwargs
): 
5695         """SetPath(self, String path)""" 
5696         return _controls_
.GenericDirCtrl_SetPath(*args
, **kwargs
) 
5698     def ShowHidden(*args
, **kwargs
): 
5699         """ShowHidden(self, bool show)""" 
5700         return _controls_
.GenericDirCtrl_ShowHidden(*args
, **kwargs
) 
5702     def GetShowHidden(*args
, **kwargs
): 
5703         """GetShowHidden(self) -> bool""" 
5704         return _controls_
.GenericDirCtrl_GetShowHidden(*args
, **kwargs
) 
5706     def GetFilter(*args
, **kwargs
): 
5707         """GetFilter(self) -> String""" 
5708         return _controls_
.GenericDirCtrl_GetFilter(*args
, **kwargs
) 
5710     def SetFilter(*args
, **kwargs
): 
5711         """SetFilter(self, String filter)""" 
5712         return _controls_
.GenericDirCtrl_SetFilter(*args
, **kwargs
) 
5714     def GetFilterIndex(*args
, **kwargs
): 
5715         """GetFilterIndex(self) -> int""" 
5716         return _controls_
.GenericDirCtrl_GetFilterIndex(*args
, **kwargs
) 
5718     def SetFilterIndex(*args
, **kwargs
): 
5719         """SetFilterIndex(self, int n)""" 
5720         return _controls_
.GenericDirCtrl_SetFilterIndex(*args
, **kwargs
) 
5722     def GetRootId(*args
, **kwargs
): 
5723         """GetRootId(self) -> TreeItemId""" 
5724         return _controls_
.GenericDirCtrl_GetRootId(*args
, **kwargs
) 
5726     def GetTreeCtrl(*args
, **kwargs
): 
5727         """GetTreeCtrl(self) -> TreeCtrl""" 
5728         return _controls_
.GenericDirCtrl_GetTreeCtrl(*args
, **kwargs
) 
5730     def GetFilterListCtrl(*args
, **kwargs
): 
5731         """GetFilterListCtrl(self) -> DirFilterListCtrl""" 
5732         return _controls_
.GenericDirCtrl_GetFilterListCtrl(*args
, **kwargs
) 
5734     def FindChild(*args
, **kwargs
): 
5736         FindChild(wxTreeItemId parentId, wxString path) -> (item, done) 
5738         Find the child that matches the first part of 'path'.  E.g. if a child 
5739         path is "/usr" and 'path' is "/usr/include" then the child for 
5740         /usr is returned.  If the path string has been used (we're at the 
5741         leaf), done is set to True. 
5744         return _controls_
.GenericDirCtrl_FindChild(*args
, **kwargs
) 
5746     def DoResize(*args
, **kwargs
): 
5747         """DoResize(self)""" 
5748         return _controls_
.GenericDirCtrl_DoResize(*args
, **kwargs
) 
5750     def ReCreateTree(*args
, **kwargs
): 
5751         """ReCreateTree(self)""" 
5752         return _controls_
.GenericDirCtrl_ReCreateTree(*args
, **kwargs
) 
5754     DefaultPath 
= property(GetDefaultPath
,SetDefaultPath
,doc
="See `GetDefaultPath` and `SetDefaultPath`")  
5755     FilePath 
= property(GetFilePath
,doc
="See `GetFilePath`")  
5756     Filter 
= property(GetFilter
,SetFilter
,doc
="See `GetFilter` and `SetFilter`")  
5757     FilterIndex 
= property(GetFilterIndex
,SetFilterIndex
,doc
="See `GetFilterIndex` and `SetFilterIndex`")  
5758     FilterListCtrl 
= property(GetFilterListCtrl
,doc
="See `GetFilterListCtrl`")  
5759     Path 
= property(GetPath
,SetPath
,doc
="See `GetPath` and `SetPath`")  
5760     RootId 
= property(GetRootId
,doc
="See `GetRootId`")  
5761     TreeCtrl 
= property(GetTreeCtrl
,doc
="See `GetTreeCtrl`")  
5762 _controls_
.GenericDirCtrl_swigregister(GenericDirCtrl
) 
5763 DirDialogDefaultFolderStr 
= cvar
.DirDialogDefaultFolderStr
 
5765 def PreGenericDirCtrl(*args
, **kwargs
): 
5766     """PreGenericDirCtrl() -> GenericDirCtrl""" 
5767     val 
= _controls_
.new_PreGenericDirCtrl(*args
, **kwargs
) 
5770 class DirFilterListCtrl(Choice
): 
5771     """Proxy of C++ DirFilterListCtrl class""" 
5772     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5773     __repr__ 
= _swig_repr
 
5774     def __init__(self
, *args
, **kwargs
):  
5776         __init__(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,  
5777             Size size=DefaultSize, long style=0) -> DirFilterListCtrl 
5779         _controls_
.DirFilterListCtrl_swiginit(self
,_controls_
.new_DirFilterListCtrl(*args
, **kwargs
)) 
5780         self
._setOORInfo
(self
) 
5782     def Create(*args
, **kwargs
): 
5784         Create(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition,  
5785             Size size=DefaultSize, long style=0) -> bool 
5787         return _controls_
.DirFilterListCtrl_Create(*args
, **kwargs
) 
5789     def FillFilterList(*args
, **kwargs
): 
5790         """FillFilterList(self, String filter, int defaultFilter)""" 
5791         return _controls_
.DirFilterListCtrl_FillFilterList(*args
, **kwargs
) 
5793 _controls_
.DirFilterListCtrl_swigregister(DirFilterListCtrl
) 
5795 def PreDirFilterListCtrl(*args
, **kwargs
): 
5796     """PreDirFilterListCtrl() -> DirFilterListCtrl""" 
5797     val 
= _controls_
.new_PreDirFilterListCtrl(*args
, **kwargs
) 
5800 #--------------------------------------------------------------------------- 
5802 class PyControl(_core
.Control
): 
5803     """Proxy of C++ PyControl class""" 
5804     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
5805     __repr__ 
= _swig_repr
 
5806     def __init__(self
, *args
, **kwargs
):  
5808         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
5809             Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,  
5810             String name=ControlNameStr) -> PyControl 
5812         _controls_
.PyControl_swiginit(self
,_controls_
.new_PyControl(*args
, **kwargs
)) 
5813         self
._setOORInfo
(self
);PyControl
._setCallbackInfo
(self
, self
, PyControl
) 
5815     def _setCallbackInfo(*args
, **kwargs
): 
5816         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
5817         return _controls_
.PyControl__setCallbackInfo(*args
, **kwargs
) 
5819     SetBestSize 
= wx
.Window
.SetInitialSize 
 
5820     def DoEraseBackground(*args
, **kwargs
): 
5821         """DoEraseBackground(self, DC dc) -> bool""" 
5822         return _controls_
.PyControl_DoEraseBackground(*args
, **kwargs
) 
5824     def DoMoveWindow(*args
, **kwargs
): 
5825         """DoMoveWindow(self, int x, int y, int width, int height)""" 
5826         return _controls_
.PyControl_DoMoveWindow(*args
, **kwargs
) 
5828     def DoSetSize(*args
, **kwargs
): 
5829         """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)""" 
5830         return _controls_
.PyControl_DoSetSize(*args
, **kwargs
) 
5832     def DoSetClientSize(*args
, **kwargs
): 
5833         """DoSetClientSize(self, int width, int height)""" 
5834         return _controls_
.PyControl_DoSetClientSize(*args
, **kwargs
) 
5836     def DoSetVirtualSize(*args
, **kwargs
): 
5837         """DoSetVirtualSize(self, int x, int y)""" 
5838         return _controls_
.PyControl_DoSetVirtualSize(*args
, **kwargs
) 
5840     def DoGetSize(*args
, **kwargs
): 
5841         """DoGetSize() -> (width, height)""" 
5842         return _controls_
.PyControl_DoGetSize(*args
, **kwargs
) 
5844     def DoGetClientSize(*args
, **kwargs
): 
5845         """DoGetClientSize() -> (width, height)""" 
5846         return _controls_
.PyControl_DoGetClientSize(*args
, **kwargs
) 
5848     def DoGetPosition(*args
, **kwargs
): 
5849         """DoGetPosition() -> (x,y)""" 
5850         return _controls_
.PyControl_DoGetPosition(*args
, **kwargs
) 
5852     def DoGetVirtualSize(*args
, **kwargs
): 
5853         """DoGetVirtualSize(self) -> Size""" 
5854         return _controls_
.PyControl_DoGetVirtualSize(*args
, **kwargs
) 
5856     def DoGetBestSize(*args
, **kwargs
): 
5857         """DoGetBestSize(self) -> Size""" 
5858         return _controls_
.PyControl_DoGetBestSize(*args
, **kwargs
) 
5860     def GetDefaultAttributes(*args
, **kwargs
): 
5861         """GetDefaultAttributes(self) -> VisualAttributes""" 
5862         return _controls_
.PyControl_GetDefaultAttributes(*args
, **kwargs
) 
5864     def OnInternalIdle(*args
, **kwargs
): 
5865         """OnInternalIdle(self)""" 
5866         return _controls_
.PyControl_OnInternalIdle(*args
, **kwargs
) 
5868     def base_DoMoveWindow(*args
, **kw
): 
5869         return PyScrolledWindow
.DoMoveWindow(*args
, **kw
) 
5870     base_DoMoveWindow 
= wx
._deprecated
(base_DoMoveWindow
, 
5871                                    "Please use PyScrolledWindow.DoMoveWindow instead.") 
5873     def base_DoSetSize(*args
, **kw
): 
5874         return PyScrolledWindow
.DoSetSize(*args
, **kw
) 
5875     base_DoSetSize 
= wx
._deprecated
(base_DoSetSize
, 
5876                                    "Please use PyScrolledWindow.DoSetSize instead.") 
5878     def base_DoSetClientSize(*args
, **kw
): 
5879         return PyScrolledWindow
.DoSetClientSize(*args
, **kw
) 
5880     base_DoSetClientSize 
= wx
._deprecated
(base_DoSetClientSize
, 
5881                                    "Please use PyScrolledWindow.DoSetClientSize instead.") 
5883     def base_DoSetVirtualSize(*args
, **kw
): 
5884         return PyScrolledWindow
.DoSetVirtualSize(*args
, **kw
) 
5885     base_DoSetVirtualSize 
= wx
._deprecated
(base_DoSetVirtualSize
, 
5886                                    "Please use PyScrolledWindow.DoSetVirtualSize instead.") 
5888     def base_DoGetSize(*args
, **kw
): 
5889         return PyScrolledWindow
.DoGetSize(*args
, **kw
) 
5890     base_DoGetSize 
= wx
._deprecated
(base_DoGetSize
, 
5891                                    "Please use PyScrolledWindow.DoGetSize instead.") 
5893     def base_DoGetClientSize(*args
, **kw
): 
5894         return PyScrolledWindow
.DoGetClientSize(*args
, **kw
) 
5895     base_DoGetClientSize 
= wx
._deprecated
(base_DoGetClientSize
, 
5896                                    "Please use PyScrolledWindow.DoGetClientSize instead.") 
5898     def base_DoGetPosition(*args
, **kw
): 
5899         return PyScrolledWindow
.DoGetPosition(*args
, **kw
) 
5900     base_DoGetPosition 
= wx
._deprecated
(base_DoGetPosition
, 
5901                                    "Please use PyScrolledWindow.DoGetPosition instead.") 
5903     def base_DoGetVirtualSize(*args
, **kw
): 
5904         return PyScrolledWindow
.DoGetVirtualSize(*args
, **kw
) 
5905     base_DoGetVirtualSize 
= wx
._deprecated
(base_DoGetVirtualSize
, 
5906                                    "Please use PyScrolledWindow.DoGetVirtualSize instead.") 
5908     def base_DoGetBestSize(*args
, **kw
): 
5909         return PyScrolledWindow
.DoGetBestSize(*args
, **kw
) 
5910     base_DoGetBestSize 
= wx
._deprecated
(base_DoGetBestSize
, 
5911                                    "Please use PyScrolledWindow.DoGetBestSize instead.") 
5913     def base_InitDialog(*args
, **kw
): 
5914         return PyScrolledWindow
.InitDialog(*args
, **kw
) 
5915     base_InitDialog 
= wx
._deprecated
(base_InitDialog
, 
5916                                    "Please use PyScrolledWindow.InitDialog instead.") 
5918     def base_TransferDataToWindow(*args
, **kw
): 
5919         return PyScrolledWindow
.TransferDataToWindow(*args
, **kw
) 
5920     base_TransferDataToWindow 
= wx
._deprecated
(base_TransferDataToWindow
, 
5921                                    "Please use PyScrolledWindow.TransferDataToWindow instead.") 
5923     def base_TransferDataFromWindow(*args
, **kw
): 
5924         return PyScrolledWindow
.TransferDataFromWindow(*args
, **kw
) 
5925     base_TransferDataFromWindow 
= wx
._deprecated
(base_TransferDataFromWindow
, 
5926                                    "Please use PyScrolledWindow.TransferDataFromWindow instead.") 
5928     def base_Validate(*args
, **kw
): 
5929         return PyScrolledWindow
.Validate(*args
, **kw
) 
5930     base_Validate 
= wx
._deprecated
(base_Validate
, 
5931                                    "Please use PyScrolledWindow.Validate instead.") 
5933     def base_AcceptsFocus(*args
, **kw
): 
5934         return PyScrolledWindow
.AcceptsFocus(*args
, **kw
) 
5935     base_AcceptsFocus 
= wx
._deprecated
(base_AcceptsFocus
, 
5936                                    "Please use PyScrolledWindow.AcceptsFocus instead.") 
5938     def base_AcceptsFocusFromKeyboard(*args
, **kw
): 
5939         return PyScrolledWindow
.AcceptsFocusFromKeyboard(*args
, **kw
) 
5940     base_AcceptsFocusFromKeyboard 
= wx
._deprecated
(base_AcceptsFocusFromKeyboard
, 
5941                                    "Please use PyScrolledWindow.AcceptsFocusFromKeyboard instead.") 
5943     def base_GetMaxSize(*args
, **kw
): 
5944         return PyScrolledWindow
.GetMaxSize(*args
, **kw
) 
5945     base_GetMaxSize 
= wx
._deprecated
(base_GetMaxSize
, 
5946                                    "Please use PyScrolledWindow.GetMaxSize instead.") 
5948     def base_AddChild(*args
, **kw
): 
5949         return PyScrolledWindow
.AddChild(*args
, **kw
) 
5950     base_AddChild 
= wx
._deprecated
(base_AddChild
, 
5951                                    "Please use PyScrolledWindow.AddChild instead.") 
5953     def base_RemoveChild(*args
, **kw
): 
5954         return PyScrolledWindow
.RemoveChild(*args
, **kw
) 
5955     base_RemoveChild 
= wx
._deprecated
(base_RemoveChild
, 
5956                                    "Please use PyScrolledWindow.RemoveChild instead.") 
5958     def base_ShouldInheritColours(*args
, **kw
): 
5959         return PyScrolledWindow
.ShouldInheritColours(*args
, **kw
) 
5960     base_ShouldInheritColours 
= wx
._deprecated
(base_ShouldInheritColours
, 
5961                                    "Please use PyScrolledWindow.ShouldInheritColours instead.") 
5963     def base_GetDefaultAttributes(*args
, **kw
): 
5964         return PyScrolledWindow
.GetDefaultAttributes(*args
, **kw
) 
5965     base_GetDefaultAttributes 
= wx
._deprecated
(base_GetDefaultAttributes
, 
5966                                    "Please use PyScrolledWindow.GetDefaultAttributes instead.") 
5968     def base_OnInternalIdle(*args
, **kw
): 
5969         return PyScrolledWindow
.OnInternalIdle(*args
, **kw
) 
5970     base_OnInternalIdle 
= wx
._deprecated
(base_OnInternalIdle
, 
5971                                    "Please use PyScrolledWindow.OnInternalIdle instead.") 
5973 _controls_
.PyControl_swigregister(PyControl
) 
5975 def PrePyControl(*args
, **kwargs
): 
5976     """PrePyControl() -> PyControl""" 
5977     val 
= _controls_
.new_PrePyControl(*args
, **kwargs
) 
5980 #--------------------------------------------------------------------------- 
5982 wxEVT_HELP 
= _controls_
.wxEVT_HELP
 
5983 wxEVT_DETAILED_HELP 
= _controls_
.wxEVT_DETAILED_HELP
 
5984 EVT_HELP 
= wx
.PyEventBinder( wxEVT_HELP
, 1) 
5985 EVT_HELP_RANGE 
= wx
.PyEventBinder(  wxEVT_HELP
, 2) 
5986 EVT_DETAILED_HELP 
= wx
.PyEventBinder( wxEVT_DETAILED_HELP
, 1) 
5987 EVT_DETAILED_HELP_RANGE 
= wx
.PyEventBinder( wxEVT_DETAILED_HELP
, 2) 
5989 class HelpEvent(_core
.CommandEvent
): 
5991     A help event is sent when the user has requested context-sensitive 
5992     help. This can either be caused by the application requesting 
5993     context-sensitive help mode via wx.ContextHelp, or (on MS Windows) by 
5994     the system generating a WM_HELP message when the user pressed F1 or 
5995     clicked on the query button in a dialog caption. 
5997     A help event is sent to the window that the user clicked on, and is 
5998     propagated up the window hierarchy until the event is processed or 
5999     there are no more event handlers. The application should call 
6000     event.GetId to check the identity of the clicked-on window, and then 
6001     either show some suitable help or call event.Skip if the identifier is 
6002     unrecognised. Calling Skip is important because it allows wxWindows to 
6003     generate further events for ancestors of the clicked-on 
6004     window. Otherwise it would be impossible to show help for container 
6005     windows, since processing would stop after the first window found. 
6007     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6008     __repr__ 
= _swig_repr
 
6009     Origin_Unknown 
= _controls_
.HelpEvent_Origin_Unknown
 
6010     Origin_Keyboard 
= _controls_
.HelpEvent_Origin_Keyboard
 
6011     Origin_HelpButton 
= _controls_
.HelpEvent_Origin_HelpButton
 
6012     def __init__(self
, *args
, **kwargs
):  
6014         __init__(self, EventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition,  
6015             int origin=Origin_Unknown) -> HelpEvent 
6017         _controls_
.HelpEvent_swiginit(self
,_controls_
.new_HelpEvent(*args
, **kwargs
)) 
6018     def GetPosition(*args
, **kwargs
): 
6020         GetPosition(self) -> Point 
6022         Returns the left-click position of the mouse, in screen 
6023         coordinates. This allows the application to position the help 
6026         return _controls_
.HelpEvent_GetPosition(*args
, **kwargs
) 
6028     def SetPosition(*args
, **kwargs
): 
6030         SetPosition(self, Point pos) 
6032         Sets the left-click position of the mouse, in screen coordinates. 
6034         return _controls_
.HelpEvent_SetPosition(*args
, **kwargs
) 
6036     def GetLink(*args
, **kwargs
): 
6038         GetLink(self) -> String 
6040         Get an optional link to further help 
6042         return _controls_
.HelpEvent_GetLink(*args
, **kwargs
) 
6044     def SetLink(*args
, **kwargs
): 
6046         SetLink(self, String link) 
6048         Set an optional link to further help 
6050         return _controls_
.HelpEvent_SetLink(*args
, **kwargs
) 
6052     def GetTarget(*args
, **kwargs
): 
6054         GetTarget(self) -> String 
6056         Get an optional target to display help in. E.g. a window specification 
6058         return _controls_
.HelpEvent_GetTarget(*args
, **kwargs
) 
6060     def SetTarget(*args
, **kwargs
): 
6062         SetTarget(self, String target) 
6064         Set an optional target to display help in. E.g. a window specification 
6066         return _controls_
.HelpEvent_SetTarget(*args
, **kwargs
) 
6068     def GetOrigin(*args
, **kwargs
): 
6070         GetOrigin(self) -> int 
6072         Optiononal indication of the source of the event. 
6074         return _controls_
.HelpEvent_GetOrigin(*args
, **kwargs
) 
6076     def SetOrigin(*args
, **kwargs
): 
6077         """SetOrigin(self, int origin)""" 
6078         return _controls_
.HelpEvent_SetOrigin(*args
, **kwargs
) 
6080     Link 
= property(GetLink
,SetLink
,doc
="See `GetLink` and `SetLink`")  
6081     Origin 
= property(GetOrigin
,SetOrigin
,doc
="See `GetOrigin` and `SetOrigin`")  
6082     Position 
= property(GetPosition
,SetPosition
,doc
="See `GetPosition` and `SetPosition`")  
6083     Target 
= property(GetTarget
,SetTarget
,doc
="See `GetTarget` and `SetTarget`")  
6084 _controls_
.HelpEvent_swigregister(HelpEvent
) 
6086 class ContextHelp(_core
.Object
): 
6088     This class changes the cursor to a query and puts the application into 
6089     a 'context-sensitive help mode'. When the user left-clicks on a window 
6090     within the specified window, a ``EVT_HELP`` event is sent to that 
6091     control, and the application may respond to it by popping up some 
6094     There are a couple of ways to invoke this behaviour implicitly: 
6096         * Use the wx.WS_EX_CONTEXTHELP extended style for a dialog or frame 
6097           (Windows only). This will put a question mark in the titlebar, 
6098           and Windows will put the application into context-sensitive help 
6099           mode automatically, with further programming. 
6101         * Create a `wx.ContextHelpButton`, whose predefined behaviour is 
6102           to create a context help object. Normally you will write your 
6103           application so that this button is only added to a dialog for 
6104           non-Windows platforms (use ``wx.WS_EX_CONTEXTHELP`` on 
6107     :see: `wx.ContextHelpButton` 
6110     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6111     __repr__ 
= _swig_repr
 
6112     def __init__(self
, *args
, **kwargs
):  
6114         __init__(self, Window window=None, bool doNow=True) -> ContextHelp 
6116         Constructs a context help object, calling BeginContextHelp if doNow is 
6119         If window is None, the top window is used. 
6121         _controls_
.ContextHelp_swiginit(self
,_controls_
.new_ContextHelp(*args
, **kwargs
)) 
6122     __swig_destroy__ 
= _controls_
.delete_ContextHelp
 
6123     __del__ 
= lambda self 
: None; 
6124     def BeginContextHelp(*args
, **kwargs
): 
6126         BeginContextHelp(self, Window window=None) -> bool 
6128         Puts the application into context-sensitive help mode. window is the 
6129         window which will be used to catch events; if NULL, the top window 
6132         Returns true if the application was successfully put into 
6133         context-sensitive help mode. This function only returns when the event 
6136         return _controls_
.ContextHelp_BeginContextHelp(*args
, **kwargs
) 
6138     def EndContextHelp(*args
, **kwargs
): 
6140         EndContextHelp(self) -> bool 
6142         Ends context-sensitive help mode. Not normally called by the 
6145         return _controls_
.ContextHelp_EndContextHelp(*args
, **kwargs
) 
6147 _controls_
.ContextHelp_swigregister(ContextHelp
) 
6149 class ContextHelpButton(BitmapButton
): 
6151     Instances of this class may be used to add a question mark button that 
6152     when pressed, puts the application into context-help mode. It does 
6153     this by creating a wx.ContextHelp object which itself generates a 
6154     ``EVT_HELP`` event when the user clicks on a window. 
6156     On Windows, you may add a question-mark icon to a dialog by use of the 
6157     ``wx.DIALOG_EX_CONTEXTHELP`` extra style, but on other platforms you 
6158     will have to add a button explicitly, usually next to OK, Cancel or 
6161     :see: `wx.ContextHelp`, `wx.ContextHelpButton` 
6164     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6165     __repr__ 
= _swig_repr
 
6166     def __init__(self
, *args
, **kwargs
):  
6168         __init__(self, Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition,  
6169             Size size=DefaultSize, long style=BU_AUTODRAW) -> ContextHelpButton 
6171         Constructor, creating and showing a context help button. 
6173         _controls_
.ContextHelpButton_swiginit(self
,_controls_
.new_ContextHelpButton(*args
, **kwargs
)) 
6174         self
._setOORInfo
(self
) 
6176 _controls_
.ContextHelpButton_swigregister(ContextHelpButton
) 
6178 class HelpProvider(object): 
6180     wx.HelpProvider is an abstract class used by a program 
6181     implementing context-sensitive help to show the help text for the 
6184     The current help provider must be explicitly set by the 
6185     application using wx.HelpProvider.Set(). 
6187     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6188     def __init__(self
): raise AttributeError, "No constructor defined" 
6189     __repr__ 
= _swig_repr
 
6190     __swig_destroy__ 
= _controls_
.delete_HelpProvider
 
6191     __del__ 
= lambda self 
: None; 
6192     def Set(*args
, **kwargs
): 
6194         Set(HelpProvider helpProvider) -> HelpProvider 
6196         Sset the current, application-wide help provider. Returns the previous 
6197         one.  Unlike some other classes, the help provider is not created on 
6198         demand. This must be explicitly done by the application. 
6200         return _controls_
.HelpProvider_Set(*args
, **kwargs
) 
6202     Set 
= staticmethod(Set
) 
6203     def Get(*args
, **kwargs
): 
6205         Get() -> HelpProvider 
6207         Return the current application-wide help provider. 
6209         return _controls_
.HelpProvider_Get(*args
, **kwargs
) 
6211     Get 
= staticmethod(Get
) 
6212     def GetHelp(*args
, **kwargs
): 
6214         GetHelp(self, Window window) -> String 
6216         Gets the help string for this window. Its interpretation is dependent 
6217         on the help provider except that empty string always means that no 
6218         help is associated with the window. 
6220         return _controls_
.HelpProvider_GetHelp(*args
, **kwargs
) 
6222     def ShowHelp(*args
, **kwargs
): 
6224         ShowHelp(self, Window window) -> bool 
6226         Shows help for the given window. Uses GetHelp internally if 
6227         applicable. Returns True if it was done, or False if no help was 
6228         available for this window. 
6230         return _controls_
.HelpProvider_ShowHelp(*args
, **kwargs
) 
6232     def ShowHelpAtPoint(*args
, **kwargs
): 
6234         ShowHelpAtPoint(self, wxWindowBase window, Point pt, int origin) -> bool 
6236         Show help for the given window (uses window.GetHelpAtPoint() 
6237         internally if applicable), return true if it was done or false if no 
6238         help available for this window. 
6240         return _controls_
.HelpProvider_ShowHelpAtPoint(*args
, **kwargs
) 
6242     def AddHelp(*args
, **kwargs
): 
6244         AddHelp(self, Window window, String text) 
6246         Associates the text with the given window. 
6248         return _controls_
.HelpProvider_AddHelp(*args
, **kwargs
) 
6250     def AddHelpById(*args
, **kwargs
): 
6252         AddHelpById(self, int id, String text) 
6254         This version associates the given text with all windows with this 
6255         id. May be used to set the same help string for all Cancel buttons in 
6256         the application, for example. 
6258         return _controls_
.HelpProvider_AddHelpById(*args
, **kwargs
) 
6260     def RemoveHelp(*args
, **kwargs
): 
6262         RemoveHelp(self, Window window) 
6264         Removes the association between the window pointer and the help 
6265         text. This is called by the wx.Window destructor. Without this, the 
6266         table of help strings will fill up and when window pointers are 
6267         reused, the wrong help string will be found. 
6269         return _controls_
.HelpProvider_RemoveHelp(*args
, **kwargs
) 
6271     def Destroy(*args
, **kwargs
): 
6273         args
[0].this
.own(False) 
6274         return _controls_
.HelpProvider_Destroy(*args
, **kwargs
) 
6276 _controls_
.HelpProvider_swigregister(HelpProvider
) 
6278 def HelpProvider_Set(*args
, **kwargs
): 
6280     HelpProvider_Set(HelpProvider helpProvider) -> HelpProvider 
6282     Sset the current, application-wide help provider. Returns the previous 
6283     one.  Unlike some other classes, the help provider is not created on 
6284     demand. This must be explicitly done by the application. 
6286   return _controls_
.HelpProvider_Set(*args
, **kwargs
) 
6288 def HelpProvider_Get(*args
): 
6290     HelpProvider_Get() -> HelpProvider 
6292     Return the current application-wide help provider. 
6294   return _controls_
.HelpProvider_Get(*args
) 
6296 class SimpleHelpProvider(HelpProvider
): 
6298     wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which 
6299     supports only plain text help strings, and shows the string associated 
6300     with the control (if any) in a tooltip. 
6302     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6303     __repr__ 
= _swig_repr
 
6304     def __init__(self
, *args
, **kwargs
):  
6306         __init__(self) -> SimpleHelpProvider 
6308         wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which 
6309         supports only plain text help strings, and shows the string associated 
6310         with the control (if any) in a tooltip. 
6312         _controls_
.SimpleHelpProvider_swiginit(self
,_controls_
.new_SimpleHelpProvider(*args
, **kwargs
)) 
6313 _controls_
.SimpleHelpProvider_swigregister(SimpleHelpProvider
) 
6315 #--------------------------------------------------------------------------- 
6317 class DragImage(_core
.Object
): 
6318     """Proxy of C++ DragImage class""" 
6319     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6320     __repr__ 
= _swig_repr
 
6321     def __init__(self
, *args
, **kwargs
):  
6322         """__init__(self, Bitmap image, Cursor cursor=wxNullCursor) -> DragImage""" 
6323         _controls_
.DragImage_swiginit(self
,_controls_
.new_DragImage(*args
, **kwargs
)) 
6324     __swig_destroy__ 
= _controls_
.delete_DragImage
 
6325     __del__ 
= lambda self 
: None; 
6326     def SetBackingBitmap(*args
, **kwargs
): 
6327         """SetBackingBitmap(self, Bitmap bitmap)""" 
6328         return _controls_
.DragImage_SetBackingBitmap(*args
, **kwargs
) 
6330     def BeginDrag(*args
, **kwargs
): 
6332         BeginDrag(self, Point hotspot, Window window, bool fullScreen=False,  
6333             Rect rect=None) -> bool 
6335         return _controls_
.DragImage_BeginDrag(*args
, **kwargs
) 
6337     def BeginDragBounded(*args
, **kwargs
): 
6338         """BeginDragBounded(self, Point hotspot, Window window, Window boundingWindow) -> bool""" 
6339         return _controls_
.DragImage_BeginDragBounded(*args
, **kwargs
) 
6341     def EndDrag(*args
, **kwargs
): 
6342         """EndDrag(self) -> bool""" 
6343         return _controls_
.DragImage_EndDrag(*args
, **kwargs
) 
6345     def Move(*args
, **kwargs
): 
6346         """Move(self, Point pt) -> bool""" 
6347         return _controls_
.DragImage_Move(*args
, **kwargs
) 
6349     def Show(*args
, **kwargs
): 
6350         """Show(self) -> bool""" 
6351         return _controls_
.DragImage_Show(*args
, **kwargs
) 
6353     def Hide(*args
, **kwargs
): 
6354         """Hide(self) -> bool""" 
6355         return _controls_
.DragImage_Hide(*args
, **kwargs
) 
6357     def GetImageRect(*args
, **kwargs
): 
6358         """GetImageRect(self, Point pos) -> Rect""" 
6359         return _controls_
.DragImage_GetImageRect(*args
, **kwargs
) 
6361     def DoDrawImage(*args
, **kwargs
): 
6362         """DoDrawImage(self, DC dc, Point pos) -> bool""" 
6363         return _controls_
.DragImage_DoDrawImage(*args
, **kwargs
) 
6365     def UpdateBackingFromWindow(*args
, **kwargs
): 
6366         """UpdateBackingFromWindow(self, DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -> bool""" 
6367         return _controls_
.DragImage_UpdateBackingFromWindow(*args
, **kwargs
) 
6369     def RedrawImage(*args
, **kwargs
): 
6370         """RedrawImage(self, Point oldPos, Point newPos, bool eraseOld, bool drawNew) -> bool""" 
6371         return _controls_
.DragImage_RedrawImage(*args
, **kwargs
) 
6373     ImageRect 
= property(GetImageRect
,doc
="See `GetImageRect`")  
6374 _controls_
.DragImage_swigregister(DragImage
) 
6376 def DragIcon(*args
, **kwargs
): 
6377     """DragIcon(Icon image, Cursor cursor=wxNullCursor) -> DragImage""" 
6378     val 
= _controls_
.new_DragIcon(*args
, **kwargs
) 
6381 def DragString(*args
, **kwargs
): 
6382     """DragString(String str, Cursor cursor=wxNullCursor) -> DragImage""" 
6383     val 
= _controls_
.new_DragString(*args
, **kwargs
) 
6386 def DragTreeItem(*args
, **kwargs
): 
6387     """DragTreeItem(TreeCtrl treeCtrl, TreeItemId id) -> DragImage""" 
6388     val 
= _controls_
.new_DragTreeItem(*args
, **kwargs
) 
6391 def DragListItem(*args
, **kwargs
): 
6392     """DragListItem(ListCtrl listCtrl, long id) -> DragImage""" 
6393     val 
= _controls_
.new_DragListItem(*args
, **kwargs
) 
6396 #--------------------------------------------------------------------------- 
6398 DP_DEFAULT 
= _controls_
.DP_DEFAULT
 
6399 DP_SPIN 
= _controls_
.DP_SPIN
 
6400 DP_DROPDOWN 
= _controls_
.DP_DROPDOWN
 
6401 DP_SHOWCENTURY 
= _controls_
.DP_SHOWCENTURY
 
6402 DP_ALLOWNONE 
= _controls_
.DP_ALLOWNONE
 
6403 class DatePickerCtrl(_core
.Control
): 
6405     This control allows the user to select a date. Unlike 
6406     `wx.calendar.CalendarCtrl`, which is a relatively big control, 
6407     `wx.DatePickerCtrl` is implemented as a small window showing the 
6408     currently selected date. The control can be edited using the keyboard, 
6409     and can also display a popup window for more user-friendly date 
6410     selection, depending on the styles used and the platform. 
6412     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6413     __repr__ 
= _swig_repr
 
6414     def __init__(self
, *args
, **kwargs
):  
6416         __init__(self, Window parent, int id=-1, DateTime dt=wxDefaultDateTime,  
6417             Point pos=DefaultPosition, Size size=DefaultSize,  
6418             long style=wxDP_DEFAULT|wxDP_SHOWCENTURY,  
6419             Validator validator=DefaultValidator,  
6420             String name=DatePickerCtrlNameStr) -> DatePickerCtrl 
6422         Create a new DatePickerCtrl. 
6424         _controls_
.DatePickerCtrl_swiginit(self
,_controls_
.new_DatePickerCtrl(*args
, **kwargs
)) 
6425         self
._setOORInfo
(self
) 
6427     def Create(*args
, **kwargs
): 
6429         Create(self, Window parent, int id=-1, DateTime dt=wxDefaultDateTime,  
6430             Point pos=DefaultPosition, Size size=DefaultSize,  
6431             long style=wxDP_DEFAULT|wxDP_SHOWCENTURY,  
6432             Validator validator=DefaultValidator,  
6433             String name=DatePickerCtrlNameStr) -> bool 
6435         Create the GUI parts of the DatePickerCtrl, for use in 2-phase 
6438         return _controls_
.DatePickerCtrl_Create(*args
, **kwargs
) 
6440     def SetValue(*args
, **kwargs
): 
6442         SetValue(self, DateTime dt) 
6444         Changes the current value of the control. The date should be valid and 
6445         included in the currently selected range, if any. 
6447         Calling this method does not result in a date change event. 
6449         return _controls_
.DatePickerCtrl_SetValue(*args
, **kwargs
) 
6451     def GetValue(*args
, **kwargs
): 
6453         GetValue(self) -> DateTime 
6455         Returns the currently selected date. If there is no selection or the 
6456         selection is outside of the current range, an invalid `wx.DateTime` 
6459         return _controls_
.DatePickerCtrl_GetValue(*args
, **kwargs
) 
6461     def SetRange(*args
, **kwargs
): 
6463         SetRange(self, DateTime dt1, DateTime dt2) 
6465         Sets the valid range for the date selection. If dt1 is valid, it 
6466         becomes the earliest date (inclusive) accepted by the control. If dt2 
6467         is valid, it becomes the latest possible date. 
6469         If the current value of the control is outside of the newly set range 
6470         bounds, the behaviour is undefined. 
6472         return _controls_
.DatePickerCtrl_SetRange(*args
, **kwargs
) 
6474     def GetLowerLimit(*args
, **kwargs
): 
6476         GetLowerLimit(self) -> DateTime 
6478         Get the lower limit of the valid range for the date selection, if any. 
6479         If there is no range or there is no lower limit, then the 
6480         `wx.DateTime` value returned will be invalid. 
6482         return _controls_
.DatePickerCtrl_GetLowerLimit(*args
, **kwargs
) 
6484     def GetUpperLimit(*args
, **kwargs
): 
6486         GetUpperLimit(self) -> DateTime 
6488         Get the upper limit of the valid range for the date selection, if any. 
6489         If there is no range or there is no upper limit, then the 
6490         `wx.DateTime` value returned will be invalid. 
6492         return _controls_
.DatePickerCtrl_GetUpperLimit(*args
, **kwargs
) 
6494     LowerLimit 
= property(GetLowerLimit
,doc
="See `GetLowerLimit`")  
6495     UpperLimit 
= property(GetUpperLimit
,doc
="See `GetUpperLimit`")  
6496     Value 
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")  
6497 _controls_
.DatePickerCtrl_swigregister(DatePickerCtrl
) 
6498 DatePickerCtrlNameStr 
= cvar
.DatePickerCtrlNameStr
 
6500 def PreDatePickerCtrl(*args
, **kwargs
): 
6502     PreDatePickerCtrl() -> DatePickerCtrl 
6504     Precreate a DatePickerCtrl for use in 2-phase creation. 
6506     val 
= _controls_
.new_PreDatePickerCtrl(*args
, **kwargs
) 
6509 HL_CONTEXTMENU 
= _controls_
.HL_CONTEXTMENU
 
6510 HL_ALIGN_LEFT 
= _controls_
.HL_ALIGN_LEFT
 
6511 HL_ALIGN_RIGHT 
= _controls_
.HL_ALIGN_RIGHT
 
6512 HL_ALIGN_CENTRE 
= _controls_
.HL_ALIGN_CENTRE
 
6513 HL_DEFAULT_STYLE 
= _controls_
.HL_DEFAULT_STYLE
 
6514 #--------------------------------------------------------------------------- 
6516 class HyperlinkCtrl(_core
.Control
): 
6518     A static text control that emulates a hyperlink. The link is displayed 
6519     in an appropriate text style, derived from the control's normal font. 
6520     When the mouse rolls over the link, the cursor changes to a hand and 
6521     the link's color changes to the active color. 
6523     Clicking on the link does not launch a web browser; instead, a 
6524     wx.HyperlinkEvent is fired. Use the wx.EVT_HYPERLINK to catch link 
6528     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6529     __repr__ 
= _swig_repr
 
6530     def __init__(self
, *args
, **kwargs
):  
6532         __init__(self, Window parent, int id, String label, String url, Point pos=DefaultPosition,  
6533             Size size=DefaultSize,  
6534             long style=HL_DEFAULT_STYLE, String name=HyperlinkCtrlNameStr) -> HyperlinkCtrl 
6536         A static text control that emulates a hyperlink. The link is displayed 
6537         in an appropriate text style, derived from the control's normal font. 
6538         When the mouse rolls over the link, the cursor changes to a hand and 
6539         the link's color changes to the active color. 
6541         Clicking on the link does not launch a web browser; instead, a 
6542         wx.HyperlinkEvent is fired. Use the wx.EVT_HYPERLINK to catch link 
6546         _controls_
.HyperlinkCtrl_swiginit(self
,_controls_
.new_HyperlinkCtrl(*args
, **kwargs
)) 
6547         self
._setOORInfo
(self
) 
6549     def Create(*args
, **kwargs
): 
6551         Create(self, Window parent, int id, String label, String url, Point pos=DefaultPosition,  
6552             Size size=DefaultSize,  
6553             long style=HL_DEFAULT_STYLE, String name=HyperlinkCtrlNameStr) -> bool 
6555         return _controls_
.HyperlinkCtrl_Create(*args
, **kwargs
) 
6557     def GetHoverColour(*args
, **kwargs
): 
6558         """GetHoverColour(self) -> Colour""" 
6559         return _controls_
.HyperlinkCtrl_GetHoverColour(*args
, **kwargs
) 
6561     def SetHoverColour(*args
, **kwargs
): 
6562         """SetHoverColour(self, Colour colour)""" 
6563         return _controls_
.HyperlinkCtrl_SetHoverColour(*args
, **kwargs
) 
6565     def GetNormalColour(*args
, **kwargs
): 
6566         """GetNormalColour(self) -> Colour""" 
6567         return _controls_
.HyperlinkCtrl_GetNormalColour(*args
, **kwargs
) 
6569     def SetNormalColour(*args
, **kwargs
): 
6570         """SetNormalColour(self, Colour colour)""" 
6571         return _controls_
.HyperlinkCtrl_SetNormalColour(*args
, **kwargs
) 
6573     def GetVisitedColour(*args
, **kwargs
): 
6574         """GetVisitedColour(self) -> Colour""" 
6575         return _controls_
.HyperlinkCtrl_GetVisitedColour(*args
, **kwargs
) 
6577     def SetVisitedColour(*args
, **kwargs
): 
6578         """SetVisitedColour(self, Colour colour)""" 
6579         return _controls_
.HyperlinkCtrl_SetVisitedColour(*args
, **kwargs
) 
6581     def GetURL(*args
, **kwargs
): 
6582         """GetURL(self) -> String""" 
6583         return _controls_
.HyperlinkCtrl_GetURL(*args
, **kwargs
) 
6585     def SetURL(*args
, **kwargs
): 
6586         """SetURL(self, String url)""" 
6587         return _controls_
.HyperlinkCtrl_SetURL(*args
, **kwargs
) 
6589     def SetVisited(*args
, **kwargs
): 
6590         """SetVisited(self, bool visited=True)""" 
6591         return _controls_
.HyperlinkCtrl_SetVisited(*args
, **kwargs
) 
6593     def GetVisited(*args
, **kwargs
): 
6594         """GetVisited(self) -> bool""" 
6595         return _controls_
.HyperlinkCtrl_GetVisited(*args
, **kwargs
) 
6597     HoverColour 
= property(GetHoverColour
,SetHoverColour
,doc
="See `GetHoverColour` and `SetHoverColour`")  
6598     NormalColour 
= property(GetNormalColour
,SetNormalColour
,doc
="See `GetNormalColour` and `SetNormalColour`")  
6599     URL 
= property(GetURL
,SetURL
,doc
="See `GetURL` and `SetURL`")  
6600     Visited 
= property(GetVisited
,SetVisited
,doc
="See `GetVisited` and `SetVisited`")  
6601     VisitedColour 
= property(GetVisitedColour
,SetVisitedColour
,doc
="See `GetVisitedColour` and `SetVisitedColour`")  
6602 _controls_
.HyperlinkCtrl_swigregister(HyperlinkCtrl
) 
6603 HyperlinkCtrlNameStr 
= cvar
.HyperlinkCtrlNameStr
 
6605 def PreHyperlinkCtrl(*args
, **kwargs
): 
6607     PreHyperlinkCtrl() -> HyperlinkCtrl 
6609     A static text control that emulates a hyperlink. The link is displayed 
6610     in an appropriate text style, derived from the control's normal font. 
6611     When the mouse rolls over the link, the cursor changes to a hand and 
6612     the link's color changes to the active color. 
6614     Clicking on the link does not launch a web browser; instead, a 
6615     wx.HyperlinkEvent is fired. Use the wx.EVT_HYPERLINK to catch link 
6619     val 
= _controls_
.new_PreHyperlinkCtrl(*args
, **kwargs
) 
6622 wxEVT_COMMAND_HYPERLINK 
= _controls_
.wxEVT_COMMAND_HYPERLINK
 
6623 class HyperlinkEvent(_core
.CommandEvent
): 
6624     """Proxy of C++ HyperlinkEvent class""" 
6625     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6626     __repr__ 
= _swig_repr
 
6627     def __init__(self
, *args
, **kwargs
):  
6628         """__init__(self, Object generator, int id, String url) -> HyperlinkEvent""" 
6629         _controls_
.HyperlinkEvent_swiginit(self
,_controls_
.new_HyperlinkEvent(*args
, **kwargs
)) 
6630     def GetURL(*args
, **kwargs
): 
6631         """GetURL(self) -> String""" 
6632         return _controls_
.HyperlinkEvent_GetURL(*args
, **kwargs
) 
6634     def SetURL(*args
, **kwargs
): 
6635         """SetURL(self, String url)""" 
6636         return _controls_
.HyperlinkEvent_SetURL(*args
, **kwargs
) 
6638     URL 
= property(GetURL
,SetURL
,doc
="See `GetURL` and `SetURL`")  
6639 _controls_
.HyperlinkEvent_swigregister(HyperlinkEvent
) 
6641 EVT_HYPERLINK 
= wx
.PyEventBinder( wxEVT_COMMAND_HYPERLINK
, 1 ) 
6643 #--------------------------------------------------------------------------- 
6645 PB_USE_TEXTCTRL 
= _controls_
.PB_USE_TEXTCTRL
 
6646 class PickerBase(_core
.Control
): 
6648     Base abstract class for all pickers which support an auxiliary text 
6649     control. This class handles all positioning and sizing of the text 
6650     control like a an horizontal `wx.BoxSizer` would do, with the text 
6651     control on the left of the picker button and the proportion of the 
6652     picker fixed to value 1. 
6654     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6655     def __init__(self
): raise AttributeError, "No constructor defined" 
6656     __repr__ 
= _swig_repr
 
6657     def CreateBase(*args
, **kwargs
): 
6659         CreateBase(self, Window parent, int id, String text=wxEmptyString, Point pos=DefaultPosition,  
6660             Size size=DefaultSize,  
6661             long style=0, Validator validator=DefaultValidator,  
6662             String name=wxButtonNameStr) -> bool 
6664         return _controls_
.PickerBase_CreateBase(*args
, **kwargs
) 
6666     def SetInternalMargin(*args
, **kwargs
): 
6668         SetInternalMargin(self, int newmargin) 
6670         Sets the margin (in pixels) between the picker and the text control. 
6672         return _controls_
.PickerBase_SetInternalMargin(*args
, **kwargs
) 
6674     def GetInternalMargin(*args
, **kwargs
): 
6676         GetInternalMargin(self) -> int 
6678         Returns the margin (in pixels) between the picker and the text 
6681         return _controls_
.PickerBase_GetInternalMargin(*args
, **kwargs
) 
6683     def SetTextCtrlProportion(*args
, **kwargs
): 
6685         SetTextCtrlProportion(self, int prop) 
6687         Sets the proportion between the text control and the picker button. 
6688         This is used to set relative sizes of the text contorl and the picker. 
6689         The value passed to this function must be >= 1. 
6691         return _controls_
.PickerBase_SetTextCtrlProportion(*args
, **kwargs
) 
6693     def GetTextCtrlProportion(*args
, **kwargs
): 
6695         GetTextCtrlProportion(self) -> int 
6697         Returns the proportion between the text control and the picker. 
6699         return _controls_
.PickerBase_GetTextCtrlProportion(*args
, **kwargs
) 
6701     def SetPickerCtrlProportion(*args
, **kwargs
): 
6703         SetPickerCtrlProportion(self, int prop) 
6705         Sets the proportion value of the picker. 
6707         return _controls_
.PickerBase_SetPickerCtrlProportion(*args
, **kwargs
) 
6709     def GetPickerCtrlProportion(*args
, **kwargs
): 
6711         GetPickerCtrlProportion(self) -> int 
6713         Gets the proportion value of the picker. 
6715         return _controls_
.PickerBase_GetPickerCtrlProportion(*args
, **kwargs
) 
6717     def IsTextCtrlGrowable(*args
, **kwargs
): 
6718         """IsTextCtrlGrowable(self) -> bool""" 
6719         return _controls_
.PickerBase_IsTextCtrlGrowable(*args
, **kwargs
) 
6721     def SetTextCtrlGrowable(*args
, **kwargs
): 
6722         """SetTextCtrlGrowable(self, bool grow=True)""" 
6723         return _controls_
.PickerBase_SetTextCtrlGrowable(*args
, **kwargs
) 
6725     def IsPickerCtrlGrowable(*args
, **kwargs
): 
6726         """IsPickerCtrlGrowable(self) -> bool""" 
6727         return _controls_
.PickerBase_IsPickerCtrlGrowable(*args
, **kwargs
) 
6729     def SetPickerCtrlGrowable(*args
, **kwargs
): 
6730         """SetPickerCtrlGrowable(self, bool grow=True)""" 
6731         return _controls_
.PickerBase_SetPickerCtrlGrowable(*args
, **kwargs
) 
6733     def HasTextCtrl(*args
, **kwargs
): 
6735         HasTextCtrl(self) -> bool 
6737         Returns true if this class has a valid text control (i.e. if the 
6738         wx.PB_USE_TEXTCTRL style was given when creating this control). 
6740         return _controls_
.PickerBase_HasTextCtrl(*args
, **kwargs
) 
6742     def GetTextCtrl(*args
, **kwargs
): 
6744         GetTextCtrl(self) -> TextCtrl 
6746         Returns a pointer to the text control handled by this class or None if 
6747         the wx.PB_USE_TEXTCTRL style was not specified when this control was 
6750         Very important: the contents of the text control could be containing 
6751         an invalid representation of the entity which can be chosen through 
6752         the picker (e.g. the user entered an invalid colour syntax because of 
6753         a typo). Thus you should never parse the content of the textctrl to 
6754         get the user's input; rather use the derived-class getter 
6755         (e.g. `wx.ColourPickerCtrl.GetColour`, `wx.FilePickerCtrl.GetPath`, 
6758         return _controls_
.PickerBase_GetTextCtrl(*args
, **kwargs
) 
6760     def GetPickerCtrl(*args
, **kwargs
): 
6761         """GetPickerCtrl(self) -> Control""" 
6762         return _controls_
.PickerBase_GetPickerCtrl(*args
, **kwargs
) 
6764     InternalMargin 
= property(GetInternalMargin
,SetInternalMargin
,doc
="See `GetInternalMargin` and `SetInternalMargin`")  
6765     PickerCtrl 
= property(GetPickerCtrl
,doc
="See `GetPickerCtrl`")  
6766     PickerCtrlProportion 
= property(GetPickerCtrlProportion
,SetPickerCtrlProportion
,doc
="See `GetPickerCtrlProportion` and `SetPickerCtrlProportion`")  
6767     TextCtrl 
= property(GetTextCtrl
,doc
="See `GetTextCtrl`")  
6768     TextCtrlProportion 
= property(GetTextCtrlProportion
,SetTextCtrlProportion
,doc
="See `GetTextCtrlProportion` and `SetTextCtrlProportion`")  
6769     TextCtrlGrowable 
= property(IsTextCtrlGrowable
,SetTextCtrlGrowable
,doc
="See `IsTextCtrlGrowable` and `SetTextCtrlGrowable`")  
6770     PickerCtrlGrowable 
= property(IsPickerCtrlGrowable
,SetPickerCtrlGrowable
,doc
="See `IsPickerCtrlGrowable` and `SetPickerCtrlGrowable`")  
6771 _controls_
.PickerBase_swigregister(PickerBase
) 
6773 #--------------------------------------------------------------------------- 
6775 CLRP_SHOW_LABEL 
= _controls_
.CLRP_SHOW_LABEL
 
6776 CLRP_USE_TEXTCTRL 
= _controls_
.CLRP_USE_TEXTCTRL
 
6777 CLRP_DEFAULT_STYLE 
= _controls_
.CLRP_DEFAULT_STYLE
 
6778 class ColourPickerCtrl(PickerBase
): 
6780     This control allows the user to select a colour. The generic 
6781     implementation is a button which brings up a `wx.ColourDialog` when 
6782     clicked. Native implementations may differ but this is usually a 
6783     (small) widget which give access to the colour-chooser dialog. 
6785     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6786     __repr__ 
= _swig_repr
 
6787     def __init__(self
, *args
, **kwargs
):  
6789         __init__(self, Window parent, int id=-1, Colour col=*wxBLACK, Point pos=DefaultPosition,  
6790             Size size=DefaultSize,  
6791             long style=CLRP_DEFAULT_STYLE, Validator validator=DefaultValidator,  
6792             String name=ColourPickerCtrlNameStr) -> ColourPickerCtrl 
6794         This control allows the user to select a colour. The generic 
6795         implementation is a button which brings up a `wx.ColourDialog` when 
6796         clicked. Native implementations may differ but this is usually a 
6797         (small) widget which give access to the colour-chooser dialog. 
6799         _controls_
.ColourPickerCtrl_swiginit(self
,_controls_
.new_ColourPickerCtrl(*args
, **kwargs
)) 
6800         self
._setOORInfo
(self
) 
6802     def Create(*args
, **kwargs
): 
6804         Create(self, Window parent, int id, Colour col=*wxBLACK, Point pos=DefaultPosition,  
6805             Size size=DefaultSize, long style=CLRP_DEFAULT_STYLE,  
6806             Validator validator=DefaultValidator,  
6807             String name=ColourPickerCtrlNameStr) -> bool 
6809         return _controls_
.ColourPickerCtrl_Create(*args
, **kwargs
) 
6811     def GetColour(*args
, **kwargs
): 
6813         GetColour(self) -> Colour 
6815         Returns the currently selected colour. 
6817         return _controls_
.ColourPickerCtrl_GetColour(*args
, **kwargs
) 
6819     def SetColour(*args
, **kwargs
): 
6821         SetColour(self, Colour col) 
6823         Set the displayed colour. 
6825         return _controls_
.ColourPickerCtrl_SetColour(*args
, **kwargs
) 
6827     Colour 
= property(GetColour
,SetColour
,doc
="See `GetColour` and `SetColour`")  
6828 _controls_
.ColourPickerCtrl_swigregister(ColourPickerCtrl
) 
6829 ColourPickerCtrlNameStr 
= cvar
.ColourPickerCtrlNameStr
 
6831 def PreColourPickerCtrl(*args
, **kwargs
): 
6833     PreColourPickerCtrl() -> ColourPickerCtrl 
6835     This control allows the user to select a colour. The generic 
6836     implementation is a button which brings up a `wx.ColourDialog` when 
6837     clicked. Native implementations may differ but this is usually a 
6838     (small) widget which give access to the colour-chooser dialog. 
6840     val 
= _controls_
.new_PreColourPickerCtrl(*args
, **kwargs
) 
6843 wxEVT_COMMAND_COLOURPICKER_CHANGED 
= _controls_
.wxEVT_COMMAND_COLOURPICKER_CHANGED
 
6844 EVT_COLOURPICKER_CHANGED 
= wx
.PyEventBinder( wxEVT_COMMAND_COLOURPICKER_CHANGED
, 1 ) 
6846 class ColourPickerEvent(_core
.CommandEvent
): 
6847     """Proxy of C++ ColourPickerEvent class""" 
6848     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6849     __repr__ 
= _swig_repr
 
6850     def __init__(self
, *args
, **kwargs
):  
6851         """__init__(self, Object generator, int id, Colour col) -> ColourPickerEvent""" 
6852         _controls_
.ColourPickerEvent_swiginit(self
,_controls_
.new_ColourPickerEvent(*args
, **kwargs
)) 
6853     def GetColour(*args
, **kwargs
): 
6854         """GetColour(self) -> Colour""" 
6855         return _controls_
.ColourPickerEvent_GetColour(*args
, **kwargs
) 
6857     def SetColour(*args
, **kwargs
): 
6858         """SetColour(self, Colour c)""" 
6859         return _controls_
.ColourPickerEvent_SetColour(*args
, **kwargs
) 
6861     Colour 
= property(GetColour
,SetColour
,doc
="See `GetColour` and `SetColour`")  
6862 _controls_
.ColourPickerEvent_swigregister(ColourPickerEvent
) 
6864 #--------------------------------------------------------------------------- 
6866 FLP_OPEN 
= _controls_
.FLP_OPEN
 
6867 FLP_SAVE 
= _controls_
.FLP_SAVE
 
6868 FLP_OVERWRITE_PROMPT 
= _controls_
.FLP_OVERWRITE_PROMPT
 
6869 FLP_FILE_MUST_EXIST 
= _controls_
.FLP_FILE_MUST_EXIST
 
6870 FLP_CHANGE_DIR 
= _controls_
.FLP_CHANGE_DIR
 
6871 DIRP_DIR_MUST_EXIST 
= _controls_
.DIRP_DIR_MUST_EXIST
 
6872 DIRP_CHANGE_DIR 
= _controls_
.DIRP_CHANGE_DIR
 
6873 FLP_USE_TEXTCTRL 
= _controls_
.FLP_USE_TEXTCTRL
 
6874 FLP_DEFAULT_STYLE 
= _controls_
.FLP_DEFAULT_STYLE
 
6875 DIRP_USE_TEXTCTRL 
= _controls_
.DIRP_USE_TEXTCTRL
 
6876 DIRP_DEFAULT_STYLE 
= _controls_
.DIRP_DEFAULT_STYLE
 
6877 class FilePickerCtrl(PickerBase
): 
6878     """Proxy of C++ FilePickerCtrl class""" 
6879     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6880     __repr__ 
= _swig_repr
 
6881     def __init__(self
, *args
, **kwargs
):  
6883         __init__(self, Window parent, int id=-1, String path=EmptyString,  
6884             String message=FileSelectorPromptStr, String wildcard=FileSelectorDefaultWildcardStr,  
6885             Point pos=DefaultPosition,  
6886             Size size=DefaultSize,  
6887             long style=FLP_DEFAULT_STYLE, Validator validator=DefaultValidator,  
6888             String name=FilePickerCtrlNameStr) -> FilePickerCtrl 
6890         _controls_
.FilePickerCtrl_swiginit(self
,_controls_
.new_FilePickerCtrl(*args
, **kwargs
)) 
6891         self
._setOORInfo
(self
) 
6893     def Create(*args
, **kwargs
): 
6895         Create(self, Window parent, int id=-1, String path=EmptyString,  
6896             String message=FileSelectorPromptStr, String wildcard=FileSelectorDefaultWildcardStr,  
6897             Point pos=DefaultPosition,  
6898             Size size=DefaultSize,  
6899             long style=FLP_DEFAULT_STYLE, Validator validator=DefaultValidator,  
6900             String name=FilePickerCtrlNameStr) -> bool 
6902         return _controls_
.FilePickerCtrl_Create(*args
, **kwargs
) 
6904     def GetPath(*args
, **kwargs
): 
6905         """GetPath(self) -> String""" 
6906         return _controls_
.FilePickerCtrl_GetPath(*args
, **kwargs
) 
6908     def SetPath(*args
, **kwargs
): 
6909         """SetPath(self, String str)""" 
6910         return _controls_
.FilePickerCtrl_SetPath(*args
, **kwargs
) 
6912     def CheckPath(*args
, **kwargs
): 
6913         """CheckPath(self, String path) -> bool""" 
6914         return _controls_
.FilePickerCtrl_CheckPath(*args
, **kwargs
) 
6916     def GetTextCtrlValue(*args
, **kwargs
): 
6917         """GetTextCtrlValue(self) -> String""" 
6918         return _controls_
.FilePickerCtrl_GetTextCtrlValue(*args
, **kwargs
) 
6920     Path 
= property(GetPath
,SetPath
,doc
="See `GetPath` and `SetPath`")  
6921     TextCtrlValue 
= property(GetTextCtrlValue
,doc
="See `GetTextCtrlValue`")  
6922 _controls_
.FilePickerCtrl_swigregister(FilePickerCtrl
) 
6923 FilePickerCtrlNameStr 
= cvar
.FilePickerCtrlNameStr
 
6924 FileSelectorPromptStr 
= cvar
.FileSelectorPromptStr
 
6925 DirPickerCtrlNameStr 
= cvar
.DirPickerCtrlNameStr
 
6926 DirSelectorPromptStr 
= cvar
.DirSelectorPromptStr
 
6927 FileSelectorDefaultWildcardStr 
= cvar
.FileSelectorDefaultWildcardStr
 
6929 def PreFilePickerCtrl(*args
, **kwargs
): 
6930     """PreFilePickerCtrl() -> FilePickerCtrl""" 
6931     val 
= _controls_
.new_PreFilePickerCtrl(*args
, **kwargs
) 
6934 class DirPickerCtrl(PickerBase
): 
6935     """Proxy of C++ DirPickerCtrl class""" 
6936     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6937     __repr__ 
= _swig_repr
 
6938     def __init__(self
, *args
, **kwargs
):  
6940         __init__(self, Window parent, int id=-1, String path=EmptyString,  
6941             String message=DirSelectorPromptStr, Point pos=DefaultPosition,  
6942             Size size=DefaultSize, long style=DIRP_DEFAULT_STYLE,  
6943             Validator validator=DefaultValidator,  
6944             String name=DirPickerCtrlNameStr) -> DirPickerCtrl 
6946         _controls_
.DirPickerCtrl_swiginit(self
,_controls_
.new_DirPickerCtrl(*args
, **kwargs
)) 
6947         self
._setOORInfo
(self
) 
6949     def Create(*args
, **kwargs
): 
6951         Create(self, Window parent, int id=-1, String path=EmptyString,  
6952             String message=DirSelectorPromptStr, Point pos=DefaultPosition,  
6953             Size size=DefaultSize, long style=DIRP_DEFAULT_STYLE,  
6954             Validator validator=DefaultValidator,  
6955             String name=DirPickerCtrlNameStr) -> bool 
6957         return _controls_
.DirPickerCtrl_Create(*args
, **kwargs
) 
6959     def GetPath(*args
, **kwargs
): 
6960         """GetPath(self) -> String""" 
6961         return _controls_
.DirPickerCtrl_GetPath(*args
, **kwargs
) 
6963     def SetPath(*args
, **kwargs
): 
6964         """SetPath(self, String str)""" 
6965         return _controls_
.DirPickerCtrl_SetPath(*args
, **kwargs
) 
6967     def CheckPath(*args
, **kwargs
): 
6968         """CheckPath(self, String path) -> bool""" 
6969         return _controls_
.DirPickerCtrl_CheckPath(*args
, **kwargs
) 
6971     def GetTextCtrlValue(*args
, **kwargs
): 
6972         """GetTextCtrlValue(self) -> String""" 
6973         return _controls_
.DirPickerCtrl_GetTextCtrlValue(*args
, **kwargs
) 
6975     Path 
= property(GetPath
,SetPath
,doc
="See `GetPath` and `SetPath`")  
6976     TextCtrlValue 
= property(GetTextCtrlValue
,doc
="See `GetTextCtrlValue`")  
6977 _controls_
.DirPickerCtrl_swigregister(DirPickerCtrl
) 
6979 def PreDirPickerCtrl(*args
, **kwargs
): 
6980     """PreDirPickerCtrl() -> DirPickerCtrl""" 
6981     val 
= _controls_
.new_PreDirPickerCtrl(*args
, **kwargs
) 
6984 wxEVT_COMMAND_FILEPICKER_CHANGED 
= _controls_
.wxEVT_COMMAND_FILEPICKER_CHANGED
 
6985 wxEVT_COMMAND_DIRPICKER_CHANGED 
= _controls_
.wxEVT_COMMAND_DIRPICKER_CHANGED
 
6986 EVT_FILEPICKER_CHANGED 
= wx
.PyEventBinder( wxEVT_COMMAND_FILEPICKER_CHANGED
, 1 ) 
6987 EVT_DIRPICKER_CHANGED  
= wx
.PyEventBinder( wxEVT_COMMAND_DIRPICKER_CHANGED
,  1 ) 
6989 class FileDirPickerEvent(_core
.CommandEvent
): 
6990     """Proxy of C++ FileDirPickerEvent class""" 
6991     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
6992     __repr__ 
= _swig_repr
 
6993     def __init__(self
, *args
, **kwargs
):  
6994         """__init__(self, EventType type, Object generator, int id, String path) -> FileDirPickerEvent""" 
6995         _controls_
.FileDirPickerEvent_swiginit(self
,_controls_
.new_FileDirPickerEvent(*args
, **kwargs
)) 
6996     def GetPath(*args
, **kwargs
): 
6997         """GetPath(self) -> String""" 
6998         return _controls_
.FileDirPickerEvent_GetPath(*args
, **kwargs
) 
7000     def SetPath(*args
, **kwargs
): 
7001         """SetPath(self, String p)""" 
7002         return _controls_
.FileDirPickerEvent_SetPath(*args
, **kwargs
) 
7004     Path 
= property(GetPath
,SetPath
,doc
="See `GetPath` and `SetPath`")  
7005 _controls_
.FileDirPickerEvent_swigregister(FileDirPickerEvent
) 
7007 #--------------------------------------------------------------------------- 
7009 FNTP_FONTDESC_AS_LABEL 
= _controls_
.FNTP_FONTDESC_AS_LABEL
 
7010 FNTP_USEFONT_FOR_LABEL 
= _controls_
.FNTP_USEFONT_FOR_LABEL
 
7011 FNTP_USE_TEXTCTRL 
= _controls_
.FNTP_USE_TEXTCTRL
 
7012 FNTP_DEFAULT_STYLE 
= _controls_
.FNTP_DEFAULT_STYLE
 
7013 class FontPickerCtrl(PickerBase
): 
7014     """Proxy of C++ FontPickerCtrl class""" 
7015     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
7016     __repr__ 
= _swig_repr
 
7017     def __init__(self
, *args
, **kwargs
):  
7019         __init__(self, Window parent, int id=-1, Font initial=wxNullFont,  
7020             Point pos=DefaultPosition, Size size=DefaultSize,  
7021             long style=FNTP_DEFAULT_STYLE, Validator validator=DefaultValidator,  
7022             String name=FontPickerCtrlNameStr) -> FontPickerCtrl 
7024         _controls_
.FontPickerCtrl_swiginit(self
,_controls_
.new_FontPickerCtrl(*args
, **kwargs
)) 
7025         self
._setOORInfo
(self
) 
7027     def Create(*args
, **kwargs
): 
7029         Create(self, Window parent, int id=-1, Font initial=wxNullFont,  
7030             Point pos=DefaultPosition, Size size=DefaultSize,  
7031             long style=FNTP_DEFAULT_STYLE, Validator validator=DefaultValidator,  
7032             String name=FontPickerCtrlNameStr) -> bool 
7034         return _controls_
.FontPickerCtrl_Create(*args
, **kwargs
) 
7036     def GetSelectedFont(*args
, **kwargs
): 
7037         """GetSelectedFont(self) -> Font""" 
7038         return _controls_
.FontPickerCtrl_GetSelectedFont(*args
, **kwargs
) 
7040     def SetSelectedFont(*args
, **kwargs
): 
7041         """SetSelectedFont(self, Font f)""" 
7042         return _controls_
.FontPickerCtrl_SetSelectedFont(*args
, **kwargs
) 
7044     def SetMaxPointSize(*args
, **kwargs
): 
7045         """SetMaxPointSize(self, unsigned int max)""" 
7046         return _controls_
.FontPickerCtrl_SetMaxPointSize(*args
, **kwargs
) 
7048     def GetMaxPointSize(*args
, **kwargs
): 
7049         """GetMaxPointSize(self) -> unsigned int""" 
7050         return _controls_
.FontPickerCtrl_GetMaxPointSize(*args
, **kwargs
) 
7052     MaxPointSize 
= property(GetMaxPointSize
,SetMaxPointSize
,doc
="See `GetMaxPointSize` and `SetMaxPointSize`")  
7053     SelectedFont 
= property(GetSelectedFont
,SetSelectedFont
,doc
="See `GetSelectedFont` and `SetSelectedFont`")  
7054 _controls_
.FontPickerCtrl_swigregister(FontPickerCtrl
) 
7055 FontPickerCtrlNameStr 
= cvar
.FontPickerCtrlNameStr
 
7057 def PreFontPickerCtrl(*args
, **kwargs
): 
7058     """PreFontPickerCtrl() -> FontPickerCtrl""" 
7059     val 
= _controls_
.new_PreFontPickerCtrl(*args
, **kwargs
) 
7062 wxEVT_COMMAND_FONTPICKER_CHANGED 
= _controls_
.wxEVT_COMMAND_FONTPICKER_CHANGED
 
7063 EVT_FONTPICKER_CHANGED 
= wx
.PyEventBinder( wxEVT_COMMAND_FONTPICKER_CHANGED
, 1 ) 
7065 class FontPickerEvent(_core
.CommandEvent
): 
7066     """Proxy of C++ FontPickerEvent class""" 
7067     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
7068     __repr__ 
= _swig_repr
 
7069     def __init__(self
, *args
, **kwargs
):  
7070         """__init__(self, Object generator, int id, Font f) -> FontPickerEvent""" 
7071         _controls_
.FontPickerEvent_swiginit(self
,_controls_
.new_FontPickerEvent(*args
, **kwargs
)) 
7072     def GetFont(*args
, **kwargs
): 
7073         """GetFont(self) -> Font""" 
7074         return _controls_
.FontPickerEvent_GetFont(*args
, **kwargs
) 
7076     def SetFont(*args
, **kwargs
): 
7077         """SetFont(self, Font c)""" 
7078         return _controls_
.FontPickerEvent_SetFont(*args
, **kwargs
) 
7080     Font 
= property(GetFont
,SetFont
,doc
="See `GetFont` and `SetFont`")  
7081 _controls_
.FontPickerEvent_swigregister(FontPickerEvent
) 
7083 #--------------------------------------------------------------------------- 
7085 CP_DEFAULT_STYLE 
= _controls_
.CP_DEFAULT_STYLE
 
7086 CP_NO_TLW_RESIZE 
= _controls_
.CP_NO_TLW_RESIZE
 
7087 class CollapsiblePane(_core
.Control
): 
7089     A collapsable pane is a container with an embedded button-like 
7090     control which can be used by the user to collapse or expand the pane's 
7093     Once constructed you should use the `GetPane` function to access the 
7094     pane and add your controls inside it (i.e. use the window returned 
7095     from `GetPane` as the parent for the controls which must go in the 
7096     pane, NOT the wx.CollapsiblePane itself!). 
7098     Note that because of its nature of control which can dynamically (and 
7099     drastically) change its size at run-time under user-input, when 
7100     putting a wx.CollapsiblePane inside a `wx.Sizer` you should be careful 
7101     to add it with a proportion value of zero; this is because otherwise 
7102     all other windows with non-zero proportion values would automatically 
7103     get resized each time the user expands or collapses the pane window, 
7104     usually resulting a weird, flickering effect. 
7106     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
7107     __repr__ 
= _swig_repr
 
7108     def __init__(self
, *args
, **kwargs
):  
7110         __init__(self, Window parent, int winid=-1, String label=EmptyString,  
7111             Point pos=DefaultPosition, Size size=DefaultSize,  
7112             long style=CP_DEFAULT_STYLE, Validator val=DefaultValidator,  
7113             String name=CollapsiblePaneNameStr) -> CollapsiblePane 
7115         Create and show a wx.CollapsiblePane 
7117         _controls_
.CollapsiblePane_swiginit(self
,_controls_
.new_CollapsiblePane(*args
, **kwargs
)) 
7118         self
._setOORInfo
(self
) 
7120     def Create(*args
, **kwargs
): 
7122         Create(self, Window parent, int winid=-1, String label=EmptyString,  
7123             Point pos=DefaultPosition, Size size=DefaultSize,  
7124             long style=CP_DEFAULT_STYLE, Validator val=DefaultValidator,  
7125             String name=CollapsiblePaneNameStr) -> bool 
7127         return _controls_
.CollapsiblePane_Create(*args
, **kwargs
) 
7129     def Collapse(*args
, **kwargs
): 
7131         Collapse(self, bool collapse=True) 
7133         Collapses or expands the pane window. 
7135         return _controls_
.CollapsiblePane_Collapse(*args
, **kwargs
) 
7137     def Expand(*args
, **kwargs
): 
7141         Same as Collapse(False). 
7143         return _controls_
.CollapsiblePane_Expand(*args
, **kwargs
) 
7145     def IsCollapsed(*args
, **kwargs
): 
7147         IsCollapsed(self) -> bool 
7149         Returns ``True`` if the pane window is currently hidden. 
7151         return _controls_
.CollapsiblePane_IsCollapsed(*args
, **kwargs
) 
7153     def IsExpanded(*args
, **kwargs
): 
7155         IsExpanded(self) -> bool 
7157         Returns ``True`` if the pane window is currently shown. 
7159         return _controls_
.CollapsiblePane_IsExpanded(*args
, **kwargs
) 
7161     def GetPane(*args
, **kwargs
): 
7163         GetPane(self) -> Window 
7165         Returns a reference to the pane window.  Use the returned `wx.Window` 
7166         as the parent of widgets to make them part of the collapsible area. 
7168         return _controls_
.CollapsiblePane_GetPane(*args
, **kwargs
) 
7170     Expanded 
= property(IsExpanded
)  
7171     Collapsed 
= property(IsCollapsed
)  
7172 _controls_
.CollapsiblePane_swigregister(CollapsiblePane
) 
7173 CollapsiblePaneNameStr 
= cvar
.CollapsiblePaneNameStr
 
7175 def PreCollapsiblePane(*args
, **kwargs
): 
7177     PreCollapsiblePane() -> CollapsiblePane 
7179     Precreate a wx.CollapsiblePane for 2-phase creation. 
7181     val 
= _controls_
.new_PreCollapsiblePane(*args
, **kwargs
) 
7184 wxEVT_COMMAND_COLLPANE_CHANGED 
= _controls_
.wxEVT_COMMAND_COLLPANE_CHANGED
 
7185 EVT_COLLAPSIBLEPANE_CHANGED 
= wx
.PyEventBinder( wxEVT_COMMAND_COLLPANE_CHANGED
, 1 ) 
7187 class CollapsiblePaneEvent(_core
.CommandEvent
): 
7188     """Proxy of C++ CollapsiblePaneEvent class""" 
7189     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
7190     __repr__ 
= _swig_repr
 
7191     def __init__(self
, *args
, **kwargs
):  
7192         """__init__(self, Object generator, int id, bool collapsed) -> CollapsiblePaneEvent""" 
7193         _controls_
.CollapsiblePaneEvent_swiginit(self
,_controls_
.new_CollapsiblePaneEvent(*args
, **kwargs
)) 
7194     def GetCollapsed(*args
, **kwargs
): 
7195         """GetCollapsed(self) -> bool""" 
7196         return _controls_
.CollapsiblePaneEvent_GetCollapsed(*args
, **kwargs
) 
7198     def SetCollapsed(*args
, **kwargs
): 
7199         """SetCollapsed(self, bool c)""" 
7200         return _controls_
.CollapsiblePaneEvent_SetCollapsed(*args
, **kwargs
) 
7202     Collapsed 
= property(GetCollapsed
,SetCollapsed
)  
7203 _controls_
.CollapsiblePaneEvent_swigregister(CollapsiblePaneEvent
) 
7205 #--------------------------------------------------------------------------- 
7207 class SearchCtrl(TextCtrl
): 
7209     A search control is a composite of a `wx.TextCtrl` with optional 
7210     bitmap buttons and a drop-down menu.  Controls like this can typically 
7211     be found on a toolbar of applications that support some form of search 
7212     functionality.  On the Mac this control is implemented using the 
7213     native HISearchField control, on the other platforms a generic control 
7214     is used, although that may change in the future as more platforms 
7215     introduce native search widgets. 
7217     If you wish to use a drop-down menu with your wx.SearchCtrl then you 
7218     will need to manage its content and handle the menu events yourself, 
7219     but this is an easy thing to do.  Simply build the menu, pass it to 
7220     `SetMenu`, and also bind a handler for a range of EVT_MENU events. 
7221     This gives you the flexibility to use the drop-down menu however you 
7222     wish, such as for a history of searches, or as a way to select 
7223     different kinds of searches.  The ToolBar.py sample in the demo shows 
7226     Since the control derives from `wx.TextCtrl` it is convenient to use 
7227     the styles and events designed for `wx.TextCtrl`.  For example you can 
7228     use the ``wx.TE_PROCESS_ENTER`` style and catch the 
7229     ``wx.EVT_TEXT_ENTER`` event to know when the user has pressed the 
7230     Enter key in the control and wishes to start a search. 
7233     thisown 
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag') 
7234     __repr__ 
= _swig_repr
 
7235     def __init__(self
, *args
, **kwargs
):  
7237         __init__(self, Window parent, int id=-1, String value=wxEmptyString,  
7238             Point pos=DefaultPosition, Size size=DefaultSize,  
7239             long style=0, Validator validator=DefaultValidator,  
7240             String name=SearchCtrlNameStr) -> SearchCtrl 
7242         A search control is a composite of a `wx.TextCtrl` with optional 
7243         bitmap buttons and a drop-down menu.  Controls like this can typically 
7244         be found on a toolbar of applications that support some form of search 
7245         functionality.  On the Mac this control is implemented using the 
7246         native HISearchField control, on the other platforms a generic control 
7247         is used, although that may change in the future as more platforms 
7248         introduce native search widgets. 
7250         If you wish to use a drop-down menu with your wx.SearchCtrl then you 
7251         will need to manage its content and handle the menu events yourself, 
7252         but this is an easy thing to do.  Simply build the menu, pass it to 
7253         `SetMenu`, and also bind a handler for a range of EVT_MENU events. 
7254         This gives you the flexibility to use the drop-down menu however you 
7255         wish, such as for a history of searches, or as a way to select 
7256         different kinds of searches.  The ToolBar.py sample in the demo shows 
7259         Since the control derives from `wx.TextCtrl` it is convenient to use 
7260         the styles and events designed for `wx.TextCtrl`.  For example you can 
7261         use the ``wx.TE_PROCESS_ENTER`` style and catch the 
7262         ``wx.EVT_TEXT_ENTER`` event to know when the user has pressed the 
7263         Enter key in the control and wishes to start a search. 
7266         _controls_
.SearchCtrl_swiginit(self
,_controls_
.new_SearchCtrl(*args
, **kwargs
)) 
7267         self
._setOORInfo
(self
) 
7269     def Create(*args
, **kwargs
): 
7271         Create(self, Window parent, int id=-1, String value=wxEmptyString,  
7272             Point pos=DefaultPosition, Size size=DefaultSize,  
7273             long style=0, Validator validator=DefaultValidator,  
7274             String name=SearchCtrlNameStr) -> bool 
7276         return _controls_
.SearchCtrl_Create(*args
, **kwargs
) 
7278     def SetMenu(*args
, **kwargs
): 
7280         SetMenu(self, Menu menu) 
7282         Sets the search control's menu object. If there is already a menu 
7283         associated with the search control it is deleted. 
7285         return _controls_
.SearchCtrl_SetMenu(*args
, **kwargs
) 
7287     def GetMenu(*args
, **kwargs
): 
7289         GetMenu(self) -> Menu 
7291         Returns a pointer to the search control's menu object or None if there 
7292         is no menu attached. 
7294         return _controls_
.SearchCtrl_GetMenu(*args
, **kwargs
) 
7296     def ShowSearchButton(*args
, **kwargs
): 
7298         ShowSearchButton(self, bool show) 
7300         Sets the search button visibility value on the search control. If 
7301         there is a menu attached, the search button will be visible regardless 
7302         of the search button visibility value.  This has no effect in Mac OS X 
7305         return _controls_
.SearchCtrl_ShowSearchButton(*args
, **kwargs
) 
7307     def IsSearchButtonVisible(*args
, **kwargs
): 
7309         IsSearchButtonVisible(self) -> bool 
7311         Returns the search button visibility value. If there is a menu 
7312         attached, the search button will be visible regardless of the search 
7313         button visibility value.  This always returns false in Mac OS X v10.3 
7315         return _controls_
.SearchCtrl_IsSearchButtonVisible(*args
, **kwargs
) 
7317     def ShowCancelButton(*args
, **kwargs
): 
7319         ShowCancelButton(self, bool show) 
7321         Shows or hides the cancel button. 
7323         return _controls_
.SearchCtrl_ShowCancelButton(*args
, **kwargs
) 
7325     def IsCancelButtonVisible(*args
, **kwargs
): 
7327         IsCancelButtonVisible(self) -> bool 
7329         Indicates whether the cancel button is visible.  
7331         return _controls_
.SearchCtrl_IsCancelButtonVisible(*args
, **kwargs
) 
7333     def SetDescriptiveText(*args
, **kwargs
): 
7335         SetDescriptiveText(self, String text) 
7337         Set the text to be displayed when the user has not yet typed anything 
7340         return _controls_
.SearchCtrl_SetDescriptiveText(*args
, **kwargs
) 
7342     def GetDescriptiveText(*args
, **kwargs
): 
7344         GetDescriptiveText(self) -> String 
7346         Get the text to be displayed when the user has not yet typed anything 
7349         return _controls_
.SearchCtrl_GetDescriptiveText(*args
, **kwargs
) 
7351     def SetSearchBitmap(*args
, **kwargs
): 
7353         SetSearchBitmap(self, Bitmap bitmap) 
7355         Sets the bitmap to use for the search button.  This currently does not 
7358         return _controls_
.SearchCtrl_SetSearchBitmap(*args
, **kwargs
) 
7360     def SetSearchMenuBitmap(*args
, **kwargs
): 
7362         SetSearchMenuBitmap(self, Bitmap bitmap) 
7364         Sets the bitmap to use for the search button when there is a drop-down 
7365         menu associated with the search control.  This currently does not work 
7368         return _controls_
.SearchCtrl_SetSearchMenuBitmap(*args
, **kwargs
) 
7370     def SetCancelBitmap(*args
, **kwargs
): 
7372         SetCancelBitmap(self, Bitmap bitmap) 
7374         Sets the bitmap to use for the cancel button.  This currently does not 
7377         return _controls_
.SearchCtrl_SetCancelBitmap(*args
, **kwargs
) 
7379     Menu 
= property(GetMenu
,SetMenu
)  
7380     SearchButtonVisible 
= property(IsSearchButtonVisible
,ShowSearchButton
)  
7381     CancelButtonVisible 
= property(IsCancelButtonVisible
,ShowCancelButton
)  
7382     DescriptiveText 
= property(GetDescriptiveText
,SetDescriptiveText
)  
7383 _controls_
.SearchCtrl_swigregister(SearchCtrl
) 
7384 SearchCtrlNameStr 
= cvar
.SearchCtrlNameStr
 
7386 def PreSearchCtrl(*args
, **kwargs
): 
7388     PreSearchCtrl() -> SearchCtrl 
7390     Precreate a wx.SearchCtrl for 2-phase creation. 
7392     val 
= _controls_
.new_PreSearchCtrl(*args
, **kwargs
) 
7395 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN 
= _controls_
.wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
 
7396 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN 
= _controls_
.wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
 
7397 EVT_SEARCHCTRL_CANCEL_BTN 
= wx
.PyEventBinder( wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
, 1) 
7398 EVT_SEARCHCTRL_SEARCH_BTN 
= wx
.PyEventBinder( wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
, 1)