1 # This file was created automatically by SWIG. 
   2 # Don't modify this file, modify the SWIG interface instead. 
   6 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1): 
   8         if isinstance(value
, class_type
): 
   9             self
.__dict
__[name
] = value
.this
 
  10             if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
 
  13     method 
= class_type
.__swig
_setmethods
__.get(name
,None) 
  14     if method
: return method(self
,value
) 
  15     if (not static
) or hasattr(self
,name
) or (name 
== "thisown"): 
  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     method 
= class_type
.__swig
_getmethods
__.get(name
,None) 
  25     if method
: return method(self
) 
  26     raise AttributeError,name
 
  30     _object 
= types
.ObjectType
 
  32 except AttributeError: 
  38 def _swig_setattr_nondynamic_method(set): 
  39     def set_attr(self
,name
,value
): 
  40         if hasattr(self
,name
) or (name 
in ("this", "thisown")): 
  43             raise AttributeError("You cannot add attributes to %s" % self
) 
  47 #// Give a reference to the dictionary of this module to the C++ extension 
  49 _core_
._wxPySetDictionary
(vars()) 
  51 #// A little trick to make 'wx' be a reference to this module so wx.Names can 
  54 wx 
= _sys
.modules
[__name__
] 
  57 #---------------------------------------------------------------------------- 
  59 def _deprecated(callable, msg
=None): 
  61     Create a wrapper function that will raise a DeprecationWarning 
  62     before calling the callable. 
  65         msg 
= "%s is deprecated" % callable 
  66     def deprecatedWrapper(*args
, **kwargs
): 
  68         warnings
.warn(msg
, DeprecationWarning, stacklevel
=2) 
  69         return callable(*args
, **kwargs
) 
  70     deprecatedWrapper
.__doc
__ = msg
 
  71     return deprecatedWrapper
 
  74 #---------------------------------------------------------------------------- 
  76 NOT_FOUND 
= _core_
.NOT_FOUND
 
  77 VSCROLL 
= _core_
.VSCROLL
 
  78 HSCROLL 
= _core_
.HSCROLL
 
  79 CAPTION 
= _core_
.CAPTION
 
  80 DOUBLE_BORDER 
= _core_
.DOUBLE_BORDER
 
  81 SUNKEN_BORDER 
= _core_
.SUNKEN_BORDER
 
  82 RAISED_BORDER 
= _core_
.RAISED_BORDER
 
  83 BORDER 
= _core_
.BORDER
 
  84 SIMPLE_BORDER 
= _core_
.SIMPLE_BORDER
 
  85 STATIC_BORDER 
= _core_
.STATIC_BORDER
 
  86 TRANSPARENT_WINDOW 
= _core_
.TRANSPARENT_WINDOW
 
  87 NO_BORDER 
= _core_
.NO_BORDER
 
  88 TAB_TRAVERSAL 
= _core_
.TAB_TRAVERSAL
 
  89 WANTS_CHARS 
= _core_
.WANTS_CHARS
 
  90 POPUP_WINDOW 
= _core_
.POPUP_WINDOW
 
  91 CENTER_FRAME 
= _core_
.CENTER_FRAME
 
  92 CENTRE_ON_SCREEN 
= _core_
.CENTRE_ON_SCREEN
 
  93 CENTER_ON_SCREEN 
= _core_
.CENTER_ON_SCREEN
 
  94 ED_CLIENT_MARGIN 
= _core_
.ED_CLIENT_MARGIN
 
  95 ED_BUTTONS_BOTTOM 
= _core_
.ED_BUTTONS_BOTTOM
 
  96 ED_BUTTONS_RIGHT 
= _core_
.ED_BUTTONS_RIGHT
 
  97 ED_STATIC_LINE 
= _core_
.ED_STATIC_LINE
 
  98 EXT_DIALOG_STYLE 
= _core_
.EXT_DIALOG_STYLE
 
  99 CLIP_CHILDREN 
= _core_
.CLIP_CHILDREN
 
 100 CLIP_SIBLINGS 
= _core_
.CLIP_SIBLINGS
 
 101 ALWAYS_SHOW_SB 
= _core_
.ALWAYS_SHOW_SB
 
 102 RETAINED 
= _core_
.RETAINED
 
 103 BACKINGSTORE 
= _core_
.BACKINGSTORE
 
 104 COLOURED 
= _core_
.COLOURED
 
 105 FIXED_LENGTH 
= _core_
.FIXED_LENGTH
 
 106 LB_NEEDED_SB 
= _core_
.LB_NEEDED_SB
 
 107 LB_ALWAYS_SB 
= _core_
.LB_ALWAYS_SB
 
 108 LB_SORT 
= _core_
.LB_SORT
 
 109 LB_SINGLE 
= _core_
.LB_SINGLE
 
 110 LB_MULTIPLE 
= _core_
.LB_MULTIPLE
 
 111 LB_EXTENDED 
= _core_
.LB_EXTENDED
 
 112 LB_OWNERDRAW 
= _core_
.LB_OWNERDRAW
 
 113 LB_HSCROLL 
= _core_
.LB_HSCROLL
 
 114 PROCESS_ENTER 
= _core_
.PROCESS_ENTER
 
 115 PASSWORD 
= _core_
.PASSWORD
 
 116 CB_SIMPLE 
= _core_
.CB_SIMPLE
 
 117 CB_DROPDOWN 
= _core_
.CB_DROPDOWN
 
 118 CB_SORT 
= _core_
.CB_SORT
 
 119 CB_READONLY 
= _core_
.CB_READONLY
 
 120 RA_HORIZONTAL 
= _core_
.RA_HORIZONTAL
 
 121 RA_VERTICAL 
= _core_
.RA_VERTICAL
 
 122 RA_SPECIFY_ROWS 
= _core_
.RA_SPECIFY_ROWS
 
 123 RA_SPECIFY_COLS 
= _core_
.RA_SPECIFY_COLS
 
 124 RA_USE_CHECKBOX 
= _core_
.RA_USE_CHECKBOX
 
 125 RB_GROUP 
= _core_
.RB_GROUP
 
 126 RB_SINGLE 
= _core_
.RB_SINGLE
 
 127 SB_HORIZONTAL 
= _core_
.SB_HORIZONTAL
 
 128 SB_VERTICAL 
= _core_
.SB_VERTICAL
 
 129 RB_USE_CHECKBOX 
= _core_
.RB_USE_CHECKBOX
 
 130 ST_SIZEGRIP 
= _core_
.ST_SIZEGRIP
 
 131 ST_NO_AUTORESIZE 
= _core_
.ST_NO_AUTORESIZE
 
 132 FLOOD_SURFACE 
= _core_
.FLOOD_SURFACE
 
 133 FLOOD_BORDER 
= _core_
.FLOOD_BORDER
 
 134 ODDEVEN_RULE 
= _core_
.ODDEVEN_RULE
 
 135 WINDING_RULE 
= _core_
.WINDING_RULE
 
 136 TOOL_TOP 
= _core_
.TOOL_TOP
 
 137 TOOL_BOTTOM 
= _core_
.TOOL_BOTTOM
 
 138 TOOL_LEFT 
= _core_
.TOOL_LEFT
 
 139 TOOL_RIGHT 
= _core_
.TOOL_RIGHT
 
 141 YES_NO 
= _core_
.YES_NO
 
 142 CANCEL 
= _core_
.CANCEL
 
 145 NO_DEFAULT 
= _core_
.NO_DEFAULT
 
 146 YES_DEFAULT 
= _core_
.YES_DEFAULT
 
 147 ICON_EXCLAMATION 
= _core_
.ICON_EXCLAMATION
 
 148 ICON_HAND 
= _core_
.ICON_HAND
 
 149 ICON_QUESTION 
= _core_
.ICON_QUESTION
 
 150 ICON_INFORMATION 
= _core_
.ICON_INFORMATION
 
 151 ICON_STOP 
= _core_
.ICON_STOP
 
 152 ICON_ASTERISK 
= _core_
.ICON_ASTERISK
 
 153 ICON_MASK 
= _core_
.ICON_MASK
 
 154 ICON_WARNING 
= _core_
.ICON_WARNING
 
 155 ICON_ERROR 
= _core_
.ICON_ERROR
 
 156 FORWARD 
= _core_
.FORWARD
 
 157 BACKWARD 
= _core_
.BACKWARD
 
 162 SIZE_AUTO_WIDTH 
= _core_
.SIZE_AUTO_WIDTH
 
 163 SIZE_AUTO_HEIGHT 
= _core_
.SIZE_AUTO_HEIGHT
 
 164 SIZE_AUTO 
= _core_
.SIZE_AUTO
 
 165 SIZE_USE_EXISTING 
= _core_
.SIZE_USE_EXISTING
 
 166 SIZE_ALLOW_MINUS_ONE 
= _core_
.SIZE_ALLOW_MINUS_ONE
 
 167 PORTRAIT 
= _core_
.PORTRAIT
 
 168 LANDSCAPE 
= _core_
.LANDSCAPE
 
 169 PRINT_QUALITY_HIGH 
= _core_
.PRINT_QUALITY_HIGH
 
 170 PRINT_QUALITY_MEDIUM 
= _core_
.PRINT_QUALITY_MEDIUM
 
 171 PRINT_QUALITY_LOW 
= _core_
.PRINT_QUALITY_LOW
 
 172 PRINT_QUALITY_DRAFT 
= _core_
.PRINT_QUALITY_DRAFT
 
 173 ID_ANY 
= _core_
.ID_ANY
 
 174 ID_SEPARATOR 
= _core_
.ID_SEPARATOR
 
 175 ID_LOWEST 
= _core_
.ID_LOWEST
 
 176 ID_OPEN 
= _core_
.ID_OPEN
 
 177 ID_CLOSE 
= _core_
.ID_CLOSE
 
 178 ID_NEW 
= _core_
.ID_NEW
 
 179 ID_SAVE 
= _core_
.ID_SAVE
 
 180 ID_SAVEAS 
= _core_
.ID_SAVEAS
 
 181 ID_REVERT 
= _core_
.ID_REVERT
 
 182 ID_EXIT 
= _core_
.ID_EXIT
 
 183 ID_UNDO 
= _core_
.ID_UNDO
 
 184 ID_REDO 
= _core_
.ID_REDO
 
 185 ID_HELP 
= _core_
.ID_HELP
 
 186 ID_PRINT 
= _core_
.ID_PRINT
 
 187 ID_PRINT_SETUP 
= _core_
.ID_PRINT_SETUP
 
 188 ID_PREVIEW 
= _core_
.ID_PREVIEW
 
 189 ID_ABOUT 
= _core_
.ID_ABOUT
 
 190 ID_HELP_CONTENTS 
= _core_
.ID_HELP_CONTENTS
 
 191 ID_HELP_COMMANDS 
= _core_
.ID_HELP_COMMANDS
 
 192 ID_HELP_PROCEDURES 
= _core_
.ID_HELP_PROCEDURES
 
 193 ID_HELP_CONTEXT 
= _core_
.ID_HELP_CONTEXT
 
 194 ID_CLOSE_ALL 
= _core_
.ID_CLOSE_ALL
 
 195 ID_PREFERENCES 
= _core_
.ID_PREFERENCES
 
 196 ID_CUT 
= _core_
.ID_CUT
 
 197 ID_COPY 
= _core_
.ID_COPY
 
 198 ID_PASTE 
= _core_
.ID_PASTE
 
 199 ID_CLEAR 
= _core_
.ID_CLEAR
 
 200 ID_FIND 
= _core_
.ID_FIND
 
 201 ID_DUPLICATE 
= _core_
.ID_DUPLICATE
 
 202 ID_SELECTALL 
= _core_
.ID_SELECTALL
 
 203 ID_DELETE 
= _core_
.ID_DELETE
 
 204 ID_REPLACE 
= _core_
.ID_REPLACE
 
 205 ID_REPLACE_ALL 
= _core_
.ID_REPLACE_ALL
 
 206 ID_PROPERTIES 
= _core_
.ID_PROPERTIES
 
 207 ID_VIEW_DETAILS 
= _core_
.ID_VIEW_DETAILS
 
 208 ID_VIEW_LARGEICONS 
= _core_
.ID_VIEW_LARGEICONS
 
 209 ID_VIEW_SMALLICONS 
= _core_
.ID_VIEW_SMALLICONS
 
 210 ID_VIEW_LIST 
= _core_
.ID_VIEW_LIST
 
 211 ID_VIEW_SORTDATE 
= _core_
.ID_VIEW_SORTDATE
 
 212 ID_VIEW_SORTNAME 
= _core_
.ID_VIEW_SORTNAME
 
 213 ID_VIEW_SORTSIZE 
= _core_
.ID_VIEW_SORTSIZE
 
 214 ID_VIEW_SORTTYPE 
= _core_
.ID_VIEW_SORTTYPE
 
 215 ID_FILE1 
= _core_
.ID_FILE1
 
 216 ID_FILE2 
= _core_
.ID_FILE2
 
 217 ID_FILE3 
= _core_
.ID_FILE3
 
 218 ID_FILE4 
= _core_
.ID_FILE4
 
 219 ID_FILE5 
= _core_
.ID_FILE5
 
 220 ID_FILE6 
= _core_
.ID_FILE6
 
 221 ID_FILE7 
= _core_
.ID_FILE7
 
 222 ID_FILE8 
= _core_
.ID_FILE8
 
 223 ID_FILE9 
= _core_
.ID_FILE9
 
 225 ID_CANCEL 
= _core_
.ID_CANCEL
 
 226 ID_APPLY 
= _core_
.ID_APPLY
 
 227 ID_YES 
= _core_
.ID_YES
 
 229 ID_STATIC 
= _core_
.ID_STATIC
 
 230 ID_FORWARD 
= _core_
.ID_FORWARD
 
 231 ID_BACKWARD 
= _core_
.ID_BACKWARD
 
 232 ID_DEFAULT 
= _core_
.ID_DEFAULT
 
 233 ID_MORE 
= _core_
.ID_MORE
 
 234 ID_SETUP 
= _core_
.ID_SETUP
 
 235 ID_RESET 
= _core_
.ID_RESET
 
 236 ID_CONTEXT_HELP 
= _core_
.ID_CONTEXT_HELP
 
 237 ID_YESTOALL 
= _core_
.ID_YESTOALL
 
 238 ID_NOTOALL 
= _core_
.ID_NOTOALL
 
 239 ID_ABORT 
= _core_
.ID_ABORT
 
 240 ID_RETRY 
= _core_
.ID_RETRY
 
 241 ID_IGNORE 
= _core_
.ID_IGNORE
 
 242 ID_ADD 
= _core_
.ID_ADD
 
 243 ID_REMOVE 
= _core_
.ID_REMOVE
 
 245 ID_DOWN 
= _core_
.ID_DOWN
 
 246 ID_HOME 
= _core_
.ID_HOME
 
 247 ID_REFRESH 
= _core_
.ID_REFRESH
 
 248 ID_STOP 
= _core_
.ID_STOP
 
 249 ID_INDEX 
= _core_
.ID_INDEX
 
 250 ID_BOLD 
= _core_
.ID_BOLD
 
 251 ID_ITALIC 
= _core_
.ID_ITALIC
 
 252 ID_JUSTIFY_CENTER 
= _core_
.ID_JUSTIFY_CENTER
 
 253 ID_JUSTIFY_FILL 
= _core_
.ID_JUSTIFY_FILL
 
 254 ID_JUSTIFY_RIGHT 
= _core_
.ID_JUSTIFY_RIGHT
 
 255 ID_JUSTIFY_LEFT 
= _core_
.ID_JUSTIFY_LEFT
 
 256 ID_UNDERLINE 
= _core_
.ID_UNDERLINE
 
 257 ID_INDENT 
= _core_
.ID_INDENT
 
 258 ID_UNINDENT 
= _core_
.ID_UNINDENT
 
 259 ID_ZOOM_100 
= _core_
.ID_ZOOM_100
 
 260 ID_ZOOM_FIT 
= _core_
.ID_ZOOM_FIT
 
 261 ID_ZOOM_IN 
= _core_
.ID_ZOOM_IN
 
 262 ID_ZOOM_OUT 
= _core_
.ID_ZOOM_OUT
 
 263 ID_UNDELETE 
= _core_
.ID_UNDELETE
 
 264 ID_REVERT_TO_SAVED 
= _core_
.ID_REVERT_TO_SAVED
 
 265 ID_HIGHEST 
= _core_
.ID_HIGHEST
 
 268 HIDE_READONLY 
= _core_
.HIDE_READONLY
 
 269 OVERWRITE_PROMPT 
= _core_
.OVERWRITE_PROMPT
 
 270 FILE_MUST_EXIST 
= _core_
.FILE_MUST_EXIST
 
 271 MULTIPLE 
= _core_
.MULTIPLE
 
 272 CHANGE_DIR 
= _core_
.CHANGE_DIR
 
 273 ACCEL_ALT 
= _core_
.ACCEL_ALT
 
 274 ACCEL_CTRL 
= _core_
.ACCEL_CTRL
 
 275 ACCEL_SHIFT 
= _core_
.ACCEL_SHIFT
 
 276 ACCEL_NORMAL 
= _core_
.ACCEL_NORMAL
 
 277 PD_AUTO_HIDE 
= _core_
.PD_AUTO_HIDE
 
 278 PD_APP_MODAL 
= _core_
.PD_APP_MODAL
 
 279 PD_CAN_ABORT 
= _core_
.PD_CAN_ABORT
 
 280 PD_ELAPSED_TIME 
= _core_
.PD_ELAPSED_TIME
 
 281 PD_ESTIMATED_TIME 
= _core_
.PD_ESTIMATED_TIME
 
 282 PD_REMAINING_TIME 
= _core_
.PD_REMAINING_TIME
 
 283 PD_SMOOTH 
= _core_
.PD_SMOOTH
 
 284 PD_CAN_SKIP 
= _core_
.PD_CAN_SKIP
 
 285 DD_NEW_DIR_BUTTON 
= _core_
.DD_NEW_DIR_BUTTON
 
 286 DD_DEFAULT_STYLE 
= _core_
.DD_DEFAULT_STYLE
 
 287 MENU_TEAROFF 
= _core_
.MENU_TEAROFF
 
 288 MB_DOCKABLE 
= _core_
.MB_DOCKABLE
 
 289 NO_FULL_REPAINT_ON_RESIZE 
= _core_
.NO_FULL_REPAINT_ON_RESIZE
 
 290 FULL_REPAINT_ON_RESIZE 
= _core_
.FULL_REPAINT_ON_RESIZE
 
 291 LI_HORIZONTAL 
= _core_
.LI_HORIZONTAL
 
 292 LI_VERTICAL 
= _core_
.LI_VERTICAL
 
 293 WS_EX_VALIDATE_RECURSIVELY 
= _core_
.WS_EX_VALIDATE_RECURSIVELY
 
 294 WS_EX_BLOCK_EVENTS 
= _core_
.WS_EX_BLOCK_EVENTS
 
 295 WS_EX_TRANSIENT 
= _core_
.WS_EX_TRANSIENT
 
 296 WS_EX_THEMED_BACKGROUND 
= _core_
.WS_EX_THEMED_BACKGROUND
 
 297 WS_EX_PROCESS_IDLE 
= _core_
.WS_EX_PROCESS_IDLE
 
 298 WS_EX_PROCESS_UI_UPDATES 
= _core_
.WS_EX_PROCESS_UI_UPDATES
 
 299 MM_TEXT 
= _core_
.MM_TEXT
 
 300 MM_LOMETRIC 
= _core_
.MM_LOMETRIC
 
 301 MM_HIMETRIC 
= _core_
.MM_HIMETRIC
 
 302 MM_LOENGLISH 
= _core_
.MM_LOENGLISH
 
 303 MM_HIENGLISH 
= _core_
.MM_HIENGLISH
 
 304 MM_TWIPS 
= _core_
.MM_TWIPS
 
 305 MM_ISOTROPIC 
= _core_
.MM_ISOTROPIC
 
 306 MM_ANISOTROPIC 
= _core_
.MM_ANISOTROPIC
 
 307 MM_POINTS 
= _core_
.MM_POINTS
 
 308 MM_METRIC 
= _core_
.MM_METRIC
 
 309 CENTRE 
= _core_
.CENTRE
 
 310 CENTER 
= _core_
.CENTER
 
 311 HORIZONTAL 
= _core_
.HORIZONTAL
 
 312 VERTICAL 
= _core_
.VERTICAL
 
 319 BOTTOM 
= _core_
.BOTTOM
 
 325 ALIGN_NOT 
= _core_
.ALIGN_NOT
 
 326 ALIGN_CENTER_HORIZONTAL 
= _core_
.ALIGN_CENTER_HORIZONTAL
 
 327 ALIGN_CENTRE_HORIZONTAL 
= _core_
.ALIGN_CENTRE_HORIZONTAL
 
 328 ALIGN_LEFT 
= _core_
.ALIGN_LEFT
 
 329 ALIGN_TOP 
= _core_
.ALIGN_TOP
 
 330 ALIGN_RIGHT 
= _core_
.ALIGN_RIGHT
 
 331 ALIGN_BOTTOM 
= _core_
.ALIGN_BOTTOM
 
 332 ALIGN_CENTER_VERTICAL 
= _core_
.ALIGN_CENTER_VERTICAL
 
 333 ALIGN_CENTRE_VERTICAL 
= _core_
.ALIGN_CENTRE_VERTICAL
 
 334 ALIGN_CENTER 
= _core_
.ALIGN_CENTER
 
 335 ALIGN_CENTRE 
= _core_
.ALIGN_CENTRE
 
 336 ALIGN_MASK 
= _core_
.ALIGN_MASK
 
 337 STRETCH_NOT 
= _core_
.STRETCH_NOT
 
 338 SHRINK 
= _core_
.SHRINK
 
 340 EXPAND 
= _core_
.EXPAND
 
 341 SHAPED 
= _core_
.SHAPED
 
 342 FIXED_MINSIZE 
= _core_
.FIXED_MINSIZE
 
 344 ADJUST_MINSIZE 
= _core_
.ADJUST_MINSIZE
 
 345 BORDER_DEFAULT 
= _core_
.BORDER_DEFAULT
 
 346 BORDER_NONE 
= _core_
.BORDER_NONE
 
 347 BORDER_STATIC 
= _core_
.BORDER_STATIC
 
 348 BORDER_SIMPLE 
= _core_
.BORDER_SIMPLE
 
 349 BORDER_RAISED 
= _core_
.BORDER_RAISED
 
 350 BORDER_SUNKEN 
= _core_
.BORDER_SUNKEN
 
 351 BORDER_DOUBLE 
= _core_
.BORDER_DOUBLE
 
 352 BORDER_MASK 
= _core_
.BORDER_MASK
 
 353 BG_STYLE_SYSTEM 
= _core_
.BG_STYLE_SYSTEM
 
 354 BG_STYLE_COLOUR 
= _core_
.BG_STYLE_COLOUR
 
 355 BG_STYLE_CUSTOM 
= _core_
.BG_STYLE_CUSTOM
 
 356 DEFAULT 
= _core_
.DEFAULT
 
 357 DECORATIVE 
= _core_
.DECORATIVE
 
 359 SCRIPT 
= _core_
.SCRIPT
 
 361 MODERN 
= _core_
.MODERN
 
 362 TELETYPE 
= _core_
.TELETYPE
 
 363 VARIABLE 
= _core_
.VARIABLE
 
 365 NORMAL 
= _core_
.NORMAL
 
 368 ITALIC 
= _core_
.ITALIC
 
 372 LONG_DASH 
= _core_
.LONG_DASH
 
 373 SHORT_DASH 
= _core_
.SHORT_DASH
 
 374 DOT_DASH 
= _core_
.DOT_DASH
 
 375 USER_DASH 
= _core_
.USER_DASH
 
 376 TRANSPARENT 
= _core_
.TRANSPARENT
 
 377 STIPPLE 
= _core_
.STIPPLE
 
 378 BDIAGONAL_HATCH 
= _core_
.BDIAGONAL_HATCH
 
 379 CROSSDIAG_HATCH 
= _core_
.CROSSDIAG_HATCH
 
 380 FDIAGONAL_HATCH 
= _core_
.FDIAGONAL_HATCH
 
 381 CROSS_HATCH 
= _core_
.CROSS_HATCH
 
 382 HORIZONTAL_HATCH 
= _core_
.HORIZONTAL_HATCH
 
 383 VERTICAL_HATCH 
= _core_
.VERTICAL_HATCH
 
 384 JOIN_BEVEL 
= _core_
.JOIN_BEVEL
 
 385 JOIN_MITER 
= _core_
.JOIN_MITER
 
 386 JOIN_ROUND 
= _core_
.JOIN_ROUND
 
 387 CAP_ROUND 
= _core_
.CAP_ROUND
 
 388 CAP_PROJECTING 
= _core_
.CAP_PROJECTING
 
 389 CAP_BUTT 
= _core_
.CAP_BUTT
 
 392 INVERT 
= _core_
.INVERT
 
 393 OR_REVERSE 
= _core_
.OR_REVERSE
 
 394 AND_REVERSE 
= _core_
.AND_REVERSE
 
 397 AND_INVERT 
= _core_
.AND_INVERT
 
 401 SRC_INVERT 
= _core_
.SRC_INVERT
 
 402 OR_INVERT 
= _core_
.OR_INVERT
 
 406 WXK_BACK 
= _core_
.WXK_BACK
 
 407 WXK_TAB 
= _core_
.WXK_TAB
 
 408 WXK_RETURN 
= _core_
.WXK_RETURN
 
 409 WXK_ESCAPE 
= _core_
.WXK_ESCAPE
 
 410 WXK_SPACE 
= _core_
.WXK_SPACE
 
 411 WXK_DELETE 
= _core_
.WXK_DELETE
 
 412 WXK_START 
= _core_
.WXK_START
 
 413 WXK_LBUTTON 
= _core_
.WXK_LBUTTON
 
 414 WXK_RBUTTON 
= _core_
.WXK_RBUTTON
 
 415 WXK_CANCEL 
= _core_
.WXK_CANCEL
 
 416 WXK_MBUTTON 
= _core_
.WXK_MBUTTON
 
 417 WXK_CLEAR 
= _core_
.WXK_CLEAR
 
 418 WXK_SHIFT 
= _core_
.WXK_SHIFT
 
 419 WXK_ALT 
= _core_
.WXK_ALT
 
 420 WXK_CONTROL 
= _core_
.WXK_CONTROL
 
 421 WXK_MENU 
= _core_
.WXK_MENU
 
 422 WXK_PAUSE 
= _core_
.WXK_PAUSE
 
 423 WXK_CAPITAL 
= _core_
.WXK_CAPITAL
 
 424 WXK_PRIOR 
= _core_
.WXK_PRIOR
 
 425 WXK_NEXT 
= _core_
.WXK_NEXT
 
 426 WXK_END 
= _core_
.WXK_END
 
 427 WXK_HOME 
= _core_
.WXK_HOME
 
 428 WXK_LEFT 
= _core_
.WXK_LEFT
 
 429 WXK_UP 
= _core_
.WXK_UP
 
 430 WXK_RIGHT 
= _core_
.WXK_RIGHT
 
 431 WXK_DOWN 
= _core_
.WXK_DOWN
 
 432 WXK_SELECT 
= _core_
.WXK_SELECT
 
 433 WXK_PRINT 
= _core_
.WXK_PRINT
 
 434 WXK_EXECUTE 
= _core_
.WXK_EXECUTE
 
 435 WXK_SNAPSHOT 
= _core_
.WXK_SNAPSHOT
 
 436 WXK_INSERT 
= _core_
.WXK_INSERT
 
 437 WXK_HELP 
= _core_
.WXK_HELP
 
 438 WXK_NUMPAD0 
= _core_
.WXK_NUMPAD0
 
 439 WXK_NUMPAD1 
= _core_
.WXK_NUMPAD1
 
 440 WXK_NUMPAD2 
= _core_
.WXK_NUMPAD2
 
 441 WXK_NUMPAD3 
= _core_
.WXK_NUMPAD3
 
 442 WXK_NUMPAD4 
= _core_
.WXK_NUMPAD4
 
 443 WXK_NUMPAD5 
= _core_
.WXK_NUMPAD5
 
 444 WXK_NUMPAD6 
= _core_
.WXK_NUMPAD6
 
 445 WXK_NUMPAD7 
= _core_
.WXK_NUMPAD7
 
 446 WXK_NUMPAD8 
= _core_
.WXK_NUMPAD8
 
 447 WXK_NUMPAD9 
= _core_
.WXK_NUMPAD9
 
 448 WXK_MULTIPLY 
= _core_
.WXK_MULTIPLY
 
 449 WXK_ADD 
= _core_
.WXK_ADD
 
 450 WXK_SEPARATOR 
= _core_
.WXK_SEPARATOR
 
 451 WXK_SUBTRACT 
= _core_
.WXK_SUBTRACT
 
 452 WXK_DECIMAL 
= _core_
.WXK_DECIMAL
 
 453 WXK_DIVIDE 
= _core_
.WXK_DIVIDE
 
 454 WXK_F1 
= _core_
.WXK_F1
 
 455 WXK_F2 
= _core_
.WXK_F2
 
 456 WXK_F3 
= _core_
.WXK_F3
 
 457 WXK_F4 
= _core_
.WXK_F4
 
 458 WXK_F5 
= _core_
.WXK_F5
 
 459 WXK_F6 
= _core_
.WXK_F6
 
 460 WXK_F7 
= _core_
.WXK_F7
 
 461 WXK_F8 
= _core_
.WXK_F8
 
 462 WXK_F9 
= _core_
.WXK_F9
 
 463 WXK_F10 
= _core_
.WXK_F10
 
 464 WXK_F11 
= _core_
.WXK_F11
 
 465 WXK_F12 
= _core_
.WXK_F12
 
 466 WXK_F13 
= _core_
.WXK_F13
 
 467 WXK_F14 
= _core_
.WXK_F14
 
 468 WXK_F15 
= _core_
.WXK_F15
 
 469 WXK_F16 
= _core_
.WXK_F16
 
 470 WXK_F17 
= _core_
.WXK_F17
 
 471 WXK_F18 
= _core_
.WXK_F18
 
 472 WXK_F19 
= _core_
.WXK_F19
 
 473 WXK_F20 
= _core_
.WXK_F20
 
 474 WXK_F21 
= _core_
.WXK_F21
 
 475 WXK_F22 
= _core_
.WXK_F22
 
 476 WXK_F23 
= _core_
.WXK_F23
 
 477 WXK_F24 
= _core_
.WXK_F24
 
 478 WXK_NUMLOCK 
= _core_
.WXK_NUMLOCK
 
 479 WXK_SCROLL 
= _core_
.WXK_SCROLL
 
 480 WXK_PAGEUP 
= _core_
.WXK_PAGEUP
 
 481 WXK_PAGEDOWN 
= _core_
.WXK_PAGEDOWN
 
 482 WXK_NUMPAD_SPACE 
= _core_
.WXK_NUMPAD_SPACE
 
 483 WXK_NUMPAD_TAB 
= _core_
.WXK_NUMPAD_TAB
 
 484 WXK_NUMPAD_ENTER 
= _core_
.WXK_NUMPAD_ENTER
 
 485 WXK_NUMPAD_F1 
= _core_
.WXK_NUMPAD_F1
 
 486 WXK_NUMPAD_F2 
= _core_
.WXK_NUMPAD_F2
 
 487 WXK_NUMPAD_F3 
= _core_
.WXK_NUMPAD_F3
 
 488 WXK_NUMPAD_F4 
= _core_
.WXK_NUMPAD_F4
 
 489 WXK_NUMPAD_HOME 
= _core_
.WXK_NUMPAD_HOME
 
 490 WXK_NUMPAD_LEFT 
= _core_
.WXK_NUMPAD_LEFT
 
 491 WXK_NUMPAD_UP 
= _core_
.WXK_NUMPAD_UP
 
 492 WXK_NUMPAD_RIGHT 
= _core_
.WXK_NUMPAD_RIGHT
 
 493 WXK_NUMPAD_DOWN 
= _core_
.WXK_NUMPAD_DOWN
 
 494 WXK_NUMPAD_PRIOR 
= _core_
.WXK_NUMPAD_PRIOR
 
 495 WXK_NUMPAD_PAGEUP 
= _core_
.WXK_NUMPAD_PAGEUP
 
 496 WXK_NUMPAD_NEXT 
= _core_
.WXK_NUMPAD_NEXT
 
 497 WXK_NUMPAD_PAGEDOWN 
= _core_
.WXK_NUMPAD_PAGEDOWN
 
 498 WXK_NUMPAD_END 
= _core_
.WXK_NUMPAD_END
 
 499 WXK_NUMPAD_BEGIN 
= _core_
.WXK_NUMPAD_BEGIN
 
 500 WXK_NUMPAD_INSERT 
= _core_
.WXK_NUMPAD_INSERT
 
 501 WXK_NUMPAD_DELETE 
= _core_
.WXK_NUMPAD_DELETE
 
 502 WXK_NUMPAD_EQUAL 
= _core_
.WXK_NUMPAD_EQUAL
 
 503 WXK_NUMPAD_MULTIPLY 
= _core_
.WXK_NUMPAD_MULTIPLY
 
 504 WXK_NUMPAD_ADD 
= _core_
.WXK_NUMPAD_ADD
 
 505 WXK_NUMPAD_SEPARATOR 
= _core_
.WXK_NUMPAD_SEPARATOR
 
 506 WXK_NUMPAD_SUBTRACT 
= _core_
.WXK_NUMPAD_SUBTRACT
 
 507 WXK_NUMPAD_DECIMAL 
= _core_
.WXK_NUMPAD_DECIMAL
 
 508 WXK_NUMPAD_DIVIDE 
= _core_
.WXK_NUMPAD_DIVIDE
 
 509 WXK_WINDOWS_LEFT 
= _core_
.WXK_WINDOWS_LEFT
 
 510 WXK_WINDOWS_RIGHT 
= _core_
.WXK_WINDOWS_RIGHT
 
 511 WXK_WINDOWS_MENU 
= _core_
.WXK_WINDOWS_MENU
 
 512 PAPER_NONE 
= _core_
.PAPER_NONE
 
 513 PAPER_LETTER 
= _core_
.PAPER_LETTER
 
 514 PAPER_LEGAL 
= _core_
.PAPER_LEGAL
 
 515 PAPER_A4 
= _core_
.PAPER_A4
 
 516 PAPER_CSHEET 
= _core_
.PAPER_CSHEET
 
 517 PAPER_DSHEET 
= _core_
.PAPER_DSHEET
 
 518 PAPER_ESHEET 
= _core_
.PAPER_ESHEET
 
 519 PAPER_LETTERSMALL 
= _core_
.PAPER_LETTERSMALL
 
 520 PAPER_TABLOID 
= _core_
.PAPER_TABLOID
 
 521 PAPER_LEDGER 
= _core_
.PAPER_LEDGER
 
 522 PAPER_STATEMENT 
= _core_
.PAPER_STATEMENT
 
 523 PAPER_EXECUTIVE 
= _core_
.PAPER_EXECUTIVE
 
 524 PAPER_A3 
= _core_
.PAPER_A3
 
 525 PAPER_A4SMALL 
= _core_
.PAPER_A4SMALL
 
 526 PAPER_A5 
= _core_
.PAPER_A5
 
 527 PAPER_B4 
= _core_
.PAPER_B4
 
 528 PAPER_B5 
= _core_
.PAPER_B5
 
 529 PAPER_FOLIO 
= _core_
.PAPER_FOLIO
 
 530 PAPER_QUARTO 
= _core_
.PAPER_QUARTO
 
 531 PAPER_10X14 
= _core_
.PAPER_10X14
 
 532 PAPER_11X17 
= _core_
.PAPER_11X17
 
 533 PAPER_NOTE 
= _core_
.PAPER_NOTE
 
 534 PAPER_ENV_9 
= _core_
.PAPER_ENV_9
 
 535 PAPER_ENV_10 
= _core_
.PAPER_ENV_10
 
 536 PAPER_ENV_11 
= _core_
.PAPER_ENV_11
 
 537 PAPER_ENV_12 
= _core_
.PAPER_ENV_12
 
 538 PAPER_ENV_14 
= _core_
.PAPER_ENV_14
 
 539 PAPER_ENV_DL 
= _core_
.PAPER_ENV_DL
 
 540 PAPER_ENV_C5 
= _core_
.PAPER_ENV_C5
 
 541 PAPER_ENV_C3 
= _core_
.PAPER_ENV_C3
 
 542 PAPER_ENV_C4 
= _core_
.PAPER_ENV_C4
 
 543 PAPER_ENV_C6 
= _core_
.PAPER_ENV_C6
 
 544 PAPER_ENV_C65 
= _core_
.PAPER_ENV_C65
 
 545 PAPER_ENV_B4 
= _core_
.PAPER_ENV_B4
 
 546 PAPER_ENV_B5 
= _core_
.PAPER_ENV_B5
 
 547 PAPER_ENV_B6 
= _core_
.PAPER_ENV_B6
 
 548 PAPER_ENV_ITALY 
= _core_
.PAPER_ENV_ITALY
 
 549 PAPER_ENV_MONARCH 
= _core_
.PAPER_ENV_MONARCH
 
 550 PAPER_ENV_PERSONAL 
= _core_
.PAPER_ENV_PERSONAL
 
 551 PAPER_FANFOLD_US 
= _core_
.PAPER_FANFOLD_US
 
 552 PAPER_FANFOLD_STD_GERMAN 
= _core_
.PAPER_FANFOLD_STD_GERMAN
 
 553 PAPER_FANFOLD_LGL_GERMAN 
= _core_
.PAPER_FANFOLD_LGL_GERMAN
 
 554 PAPER_ISO_B4 
= _core_
.PAPER_ISO_B4
 
 555 PAPER_JAPANESE_POSTCARD 
= _core_
.PAPER_JAPANESE_POSTCARD
 
 556 PAPER_9X11 
= _core_
.PAPER_9X11
 
 557 PAPER_10X11 
= _core_
.PAPER_10X11
 
 558 PAPER_15X11 
= _core_
.PAPER_15X11
 
 559 PAPER_ENV_INVITE 
= _core_
.PAPER_ENV_INVITE
 
 560 PAPER_LETTER_EXTRA 
= _core_
.PAPER_LETTER_EXTRA
 
 561 PAPER_LEGAL_EXTRA 
= _core_
.PAPER_LEGAL_EXTRA
 
 562 PAPER_TABLOID_EXTRA 
= _core_
.PAPER_TABLOID_EXTRA
 
 563 PAPER_A4_EXTRA 
= _core_
.PAPER_A4_EXTRA
 
 564 PAPER_LETTER_TRANSVERSE 
= _core_
.PAPER_LETTER_TRANSVERSE
 
 565 PAPER_A4_TRANSVERSE 
= _core_
.PAPER_A4_TRANSVERSE
 
 566 PAPER_LETTER_EXTRA_TRANSVERSE 
= _core_
.PAPER_LETTER_EXTRA_TRANSVERSE
 
 567 PAPER_A_PLUS 
= _core_
.PAPER_A_PLUS
 
 568 PAPER_B_PLUS 
= _core_
.PAPER_B_PLUS
 
 569 PAPER_LETTER_PLUS 
= _core_
.PAPER_LETTER_PLUS
 
 570 PAPER_A4_PLUS 
= _core_
.PAPER_A4_PLUS
 
 571 PAPER_A5_TRANSVERSE 
= _core_
.PAPER_A5_TRANSVERSE
 
 572 PAPER_B5_TRANSVERSE 
= _core_
.PAPER_B5_TRANSVERSE
 
 573 PAPER_A3_EXTRA 
= _core_
.PAPER_A3_EXTRA
 
 574 PAPER_A5_EXTRA 
= _core_
.PAPER_A5_EXTRA
 
 575 PAPER_B5_EXTRA 
= _core_
.PAPER_B5_EXTRA
 
 576 PAPER_A2 
= _core_
.PAPER_A2
 
 577 PAPER_A3_TRANSVERSE 
= _core_
.PAPER_A3_TRANSVERSE
 
 578 PAPER_A3_EXTRA_TRANSVERSE 
= _core_
.PAPER_A3_EXTRA_TRANSVERSE
 
 579 DUPLEX_SIMPLEX 
= _core_
.DUPLEX_SIMPLEX
 
 580 DUPLEX_HORIZONTAL 
= _core_
.DUPLEX_HORIZONTAL
 
 581 DUPLEX_VERTICAL 
= _core_
.DUPLEX_VERTICAL
 
 582 ITEM_SEPARATOR 
= _core_
.ITEM_SEPARATOR
 
 583 ITEM_NORMAL 
= _core_
.ITEM_NORMAL
 
 584 ITEM_CHECK 
= _core_
.ITEM_CHECK
 
 585 ITEM_RADIO 
= _core_
.ITEM_RADIO
 
 586 ITEM_MAX 
= _core_
.ITEM_MAX
 
 587 HT_NOWHERE 
= _core_
.HT_NOWHERE
 
 588 HT_SCROLLBAR_FIRST 
= _core_
.HT_SCROLLBAR_FIRST
 
 589 HT_SCROLLBAR_ARROW_LINE_1 
= _core_
.HT_SCROLLBAR_ARROW_LINE_1
 
 590 HT_SCROLLBAR_ARROW_LINE_2 
= _core_
.HT_SCROLLBAR_ARROW_LINE_2
 
 591 HT_SCROLLBAR_ARROW_PAGE_1 
= _core_
.HT_SCROLLBAR_ARROW_PAGE_1
 
 592 HT_SCROLLBAR_ARROW_PAGE_2 
= _core_
.HT_SCROLLBAR_ARROW_PAGE_2
 
 593 HT_SCROLLBAR_THUMB 
= _core_
.HT_SCROLLBAR_THUMB
 
 594 HT_SCROLLBAR_BAR_1 
= _core_
.HT_SCROLLBAR_BAR_1
 
 595 HT_SCROLLBAR_BAR_2 
= _core_
.HT_SCROLLBAR_BAR_2
 
 596 HT_SCROLLBAR_LAST 
= _core_
.HT_SCROLLBAR_LAST
 
 597 HT_WINDOW_OUTSIDE 
= _core_
.HT_WINDOW_OUTSIDE
 
 598 HT_WINDOW_INSIDE 
= _core_
.HT_WINDOW_INSIDE
 
 599 HT_WINDOW_VERT_SCROLLBAR 
= _core_
.HT_WINDOW_VERT_SCROLLBAR
 
 600 HT_WINDOW_HORZ_SCROLLBAR 
= _core_
.HT_WINDOW_HORZ_SCROLLBAR
 
 601 HT_WINDOW_CORNER 
= _core_
.HT_WINDOW_CORNER
 
 602 HT_MAX 
= _core_
.HT_MAX
 
 603 MOD_NONE 
= _core_
.MOD_NONE
 
 604 MOD_ALT 
= _core_
.MOD_ALT
 
 605 MOD_CONTROL 
= _core_
.MOD_CONTROL
 
 606 MOD_SHIFT 
= _core_
.MOD_SHIFT
 
 607 MOD_WIN 
= _core_
.MOD_WIN
 
 608 UPDATE_UI_NONE 
= _core_
.UPDATE_UI_NONE
 
 609 UPDATE_UI_RECURSE 
= _core_
.UPDATE_UI_RECURSE
 
 610 UPDATE_UI_FROMIDLE 
= _core_
.UPDATE_UI_FROMIDLE
 
 611 #--------------------------------------------------------------------------- 
 613 class Object(object): 
 615     The base class for most wx objects, although in wxPython not 
 616     much functionality is needed nor exposed. 
 618     def __init__(self
): raise RuntimeError, "No constructor defined" 
 620         return "<%s.%s; proxy of C++ wxObject instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 621     def GetClassName(*args
, **kwargs
): 
 623         GetClassName(self) -> String 
 625         Returns the class name of the C++ class using wxRTTI. 
 627         return _core_
.Object_GetClassName(*args
, **kwargs
) 
 629     def Destroy(*args
, **kwargs
): 
 633         Deletes the C++ object this Python object is a proxy for. 
 635         return _core_
.Object_Destroy(*args
, **kwargs
) 
 638 class ObjectPtr(Object
): 
 639     def __init__(self
, this
): 
 641         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 642         self
.__class
__ = Object
 
 643 _core_
.Object_swigregister(ObjectPtr
) 
 644 _wxPySetDictionary 
= _core_
._wxPySetDictionary
 
 646 _wxPyFixStockObjects 
= _core_
._wxPyFixStockObjects
 
 649 EmptyString 
= cvar
.EmptyString
 
 651 #--------------------------------------------------------------------------- 
 653 BITMAP_TYPE_INVALID 
= _core_
.BITMAP_TYPE_INVALID
 
 654 BITMAP_TYPE_BMP 
= _core_
.BITMAP_TYPE_BMP
 
 655 BITMAP_TYPE_ICO 
= _core_
.BITMAP_TYPE_ICO
 
 656 BITMAP_TYPE_CUR 
= _core_
.BITMAP_TYPE_CUR
 
 657 BITMAP_TYPE_XBM 
= _core_
.BITMAP_TYPE_XBM
 
 658 BITMAP_TYPE_XBM_DATA 
= _core_
.BITMAP_TYPE_XBM_DATA
 
 659 BITMAP_TYPE_XPM 
= _core_
.BITMAP_TYPE_XPM
 
 660 BITMAP_TYPE_XPM_DATA 
= _core_
.BITMAP_TYPE_XPM_DATA
 
 661 BITMAP_TYPE_TIF 
= _core_
.BITMAP_TYPE_TIF
 
 662 BITMAP_TYPE_GIF 
= _core_
.BITMAP_TYPE_GIF
 
 663 BITMAP_TYPE_PNG 
= _core_
.BITMAP_TYPE_PNG
 
 664 BITMAP_TYPE_JPEG 
= _core_
.BITMAP_TYPE_JPEG
 
 665 BITMAP_TYPE_PNM 
= _core_
.BITMAP_TYPE_PNM
 
 666 BITMAP_TYPE_PCX 
= _core_
.BITMAP_TYPE_PCX
 
 667 BITMAP_TYPE_PICT 
= _core_
.BITMAP_TYPE_PICT
 
 668 BITMAP_TYPE_ICON 
= _core_
.BITMAP_TYPE_ICON
 
 669 BITMAP_TYPE_ANI 
= _core_
.BITMAP_TYPE_ANI
 
 670 BITMAP_TYPE_IFF 
= _core_
.BITMAP_TYPE_IFF
 
 671 BITMAP_TYPE_MACCURSOR 
= _core_
.BITMAP_TYPE_MACCURSOR
 
 672 BITMAP_TYPE_ANY 
= _core_
.BITMAP_TYPE_ANY
 
 673 CURSOR_NONE 
= _core_
.CURSOR_NONE
 
 674 CURSOR_ARROW 
= _core_
.CURSOR_ARROW
 
 675 CURSOR_RIGHT_ARROW 
= _core_
.CURSOR_RIGHT_ARROW
 
 676 CURSOR_BULLSEYE 
= _core_
.CURSOR_BULLSEYE
 
 677 CURSOR_CHAR 
= _core_
.CURSOR_CHAR
 
 678 CURSOR_CROSS 
= _core_
.CURSOR_CROSS
 
 679 CURSOR_HAND 
= _core_
.CURSOR_HAND
 
 680 CURSOR_IBEAM 
= _core_
.CURSOR_IBEAM
 
 681 CURSOR_LEFT_BUTTON 
= _core_
.CURSOR_LEFT_BUTTON
 
 682 CURSOR_MAGNIFIER 
= _core_
.CURSOR_MAGNIFIER
 
 683 CURSOR_MIDDLE_BUTTON 
= _core_
.CURSOR_MIDDLE_BUTTON
 
 684 CURSOR_NO_ENTRY 
= _core_
.CURSOR_NO_ENTRY
 
 685 CURSOR_PAINT_BRUSH 
= _core_
.CURSOR_PAINT_BRUSH
 
 686 CURSOR_PENCIL 
= _core_
.CURSOR_PENCIL
 
 687 CURSOR_POINT_LEFT 
= _core_
.CURSOR_POINT_LEFT
 
 688 CURSOR_POINT_RIGHT 
= _core_
.CURSOR_POINT_RIGHT
 
 689 CURSOR_QUESTION_ARROW 
= _core_
.CURSOR_QUESTION_ARROW
 
 690 CURSOR_RIGHT_BUTTON 
= _core_
.CURSOR_RIGHT_BUTTON
 
 691 CURSOR_SIZENESW 
= _core_
.CURSOR_SIZENESW
 
 692 CURSOR_SIZENS 
= _core_
.CURSOR_SIZENS
 
 693 CURSOR_SIZENWSE 
= _core_
.CURSOR_SIZENWSE
 
 694 CURSOR_SIZEWE 
= _core_
.CURSOR_SIZEWE
 
 695 CURSOR_SIZING 
= _core_
.CURSOR_SIZING
 
 696 CURSOR_SPRAYCAN 
= _core_
.CURSOR_SPRAYCAN
 
 697 CURSOR_WAIT 
= _core_
.CURSOR_WAIT
 
 698 CURSOR_WATCH 
= _core_
.CURSOR_WATCH
 
 699 CURSOR_BLANK 
= _core_
.CURSOR_BLANK
 
 700 CURSOR_DEFAULT 
= _core_
.CURSOR_DEFAULT
 
 701 CURSOR_COPY_ARROW 
= _core_
.CURSOR_COPY_ARROW
 
 702 CURSOR_ARROWWAIT 
= _core_
.CURSOR_ARROWWAIT
 
 703 CURSOR_MAX 
= _core_
.CURSOR_MAX
 
 704 #--------------------------------------------------------------------------- 
 708     wx.Size is a useful data structure used to represent the size of 
 709     something.  It simply contians integer width and height 
 710     proprtites.  In most places in wxPython where a wx.Size is 
 711     expected a (width, height) tuple can be used instead. 
 714         return "<%s.%s; proxy of C++ wxSize instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 715     width 
= property(_core_
.Size_width_get
, _core_
.Size_width_set
) 
 716     height 
= property(_core_
.Size_height_get
, _core_
.Size_height_set
) 
 717     x 
= width
; y 
= height 
 
 718     def __init__(self
, *args
, **kwargs
): 
 720         __init__(self, int w=0, int h=0) -> Size 
 722         Creates a size object. 
 724         newobj 
= _core_
.new_Size(*args
, **kwargs
) 
 725         self
.this 
= newobj
.this
 
 728     def __del__(self
, destroy
=_core_
.delete_Size
): 
 731             if self
.thisown
: destroy(self
) 
 734     def __eq__(*args
, **kwargs
): 
 736         __eq__(self, Size sz) -> bool 
 738         Test for equality of wx.Size objects. 
 740         return _core_
.Size___eq__(*args
, **kwargs
) 
 742     def __ne__(*args
, **kwargs
): 
 744         __ne__(self, Size sz) -> bool 
 748         return _core_
.Size___ne__(*args
, **kwargs
) 
 750     def __add__(*args
, **kwargs
): 
 752         __add__(self, Size sz) -> Size 
 754         Add sz's proprties to this and return the result. 
 756         return _core_
.Size___add__(*args
, **kwargs
) 
 758     def __sub__(*args
, **kwargs
): 
 760         __sub__(self, Size sz) -> Size 
 762         Subtract sz's properties from this and return the result. 
 764         return _core_
.Size___sub__(*args
, **kwargs
) 
 766     def IncTo(*args
, **kwargs
): 
 770         Increments this object so that both of its dimensions are not less 
 771         than the corresponding dimensions of the size. 
 773         return _core_
.Size_IncTo(*args
, **kwargs
) 
 775     def DecTo(*args
, **kwargs
): 
 779         Decrements this object so that both of its dimensions are not greater 
 780         than the corresponding dimensions of the size. 
 782         return _core_
.Size_DecTo(*args
, **kwargs
) 
 784     def Set(*args
, **kwargs
): 
 786         Set(self, int w, int h) 
 788         Set both width and height. 
 790         return _core_
.Size_Set(*args
, **kwargs
) 
 792     def SetWidth(*args
, **kwargs
): 
 793         """SetWidth(self, int w)""" 
 794         return _core_
.Size_SetWidth(*args
, **kwargs
) 
 796     def SetHeight(*args
, **kwargs
): 
 797         """SetHeight(self, int h)""" 
 798         return _core_
.Size_SetHeight(*args
, **kwargs
) 
 800     def GetWidth(*args
, **kwargs
): 
 801         """GetWidth(self) -> int""" 
 802         return _core_
.Size_GetWidth(*args
, **kwargs
) 
 804     def GetHeight(*args
, **kwargs
): 
 805         """GetHeight(self) -> int""" 
 806         return _core_
.Size_GetHeight(*args
, **kwargs
) 
 808     def IsFullySpecified(*args
, **kwargs
): 
 810         IsFullySpecified(self) -> bool 
 812         Returns True if both components of the size are non-default values. 
 814         return _core_
.Size_IsFullySpecified(*args
, **kwargs
) 
 816     def SetDefaults(*args
, **kwargs
): 
 818         SetDefaults(self, Size size) 
 820         Combine this size with the other one replacing the default components 
 821         of this object (i.e. equal to -1) with those of the other. 
 823         return _core_
.Size_SetDefaults(*args
, **kwargs
) 
 825     def Get(*args
, **kwargs
): 
 827         Get() -> (width,height) 
 829         Returns the width and height properties as a tuple. 
 831         return _core_
.Size_Get(*args
, **kwargs
) 
 833     asTuple 
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead") 
 834     def __str__(self
):                   return str(self
.Get()) 
 835     def __repr__(self
):                  return 'wx.Size'+str(self
.Get()) 
 836     def __len__(self
):                   return len(self
.Get()) 
 837     def __getitem__(self
, index
):        return self
.Get()[index
] 
 838     def __setitem__(self
, index
, val
): 
 839         if index 
== 0: self
.width 
= val
 
 840         elif index 
== 1: self
.height 
= val
 
 841         else: raise IndexError 
 842     def __nonzero__(self
):               return self
.Get() != (0,0) 
 843     __safe_for_unpickling__ 
= True 
 844     def __reduce__(self
):                return (wx
.Size
, self
.Get()) 
 848     def __init__(self
, this
): 
 850         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 851         self
.__class
__ = Size
 
 852 _core_
.Size_swigregister(SizePtr
) 
 854 #--------------------------------------------------------------------------- 
 856 class RealPoint(object): 
 858     A data structure for representing a point or position with floating 
 859     point x and y properties.  In wxPython most places that expect a 
 860     wx.RealPoint can also accept a (x,y) tuple. 
 863         return "<%s.%s; proxy of C++ wxRealPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 864     x 
= property(_core_
.RealPoint_x_get
, _core_
.RealPoint_x_set
) 
 865     y 
= property(_core_
.RealPoint_y_get
, _core_
.RealPoint_y_set
) 
 866     def __init__(self
, *args
, **kwargs
): 
 868         __init__(self, double x=0.0, double y=0.0) -> RealPoint 
 870         Create a wx.RealPoint object 
 872         newobj 
= _core_
.new_RealPoint(*args
, **kwargs
) 
 873         self
.this 
= newobj
.this
 
 876     def __del__(self
, destroy
=_core_
.delete_RealPoint
): 
 879             if self
.thisown
: destroy(self
) 
 882     def __eq__(*args
, **kwargs
): 
 884         __eq__(self, RealPoint pt) -> bool 
 886         Test for equality of wx.RealPoint objects. 
 888         return _core_
.RealPoint___eq__(*args
, **kwargs
) 
 890     def __ne__(*args
, **kwargs
): 
 892         __ne__(self, RealPoint pt) -> bool 
 894         Test for inequality of wx.RealPoint objects. 
 896         return _core_
.RealPoint___ne__(*args
, **kwargs
) 
 898     def __add__(*args
, **kwargs
): 
 900         __add__(self, RealPoint pt) -> RealPoint 
 902         Add pt's proprties to this and return the result. 
 904         return _core_
.RealPoint___add__(*args
, **kwargs
) 
 906     def __sub__(*args
, **kwargs
): 
 908         __sub__(self, RealPoint pt) -> RealPoint 
 910         Subtract pt's proprties from this and return the result 
 912         return _core_
.RealPoint___sub__(*args
, **kwargs
) 
 914     def Set(*args
, **kwargs
): 
 916         Set(self, double x, double y) 
 918         Set both the x and y properties 
 920         return _core_
.RealPoint_Set(*args
, **kwargs
) 
 922     def Get(*args
, **kwargs
): 
 926         Return the x and y properties as a tuple.  
 928         return _core_
.RealPoint_Get(*args
, **kwargs
) 
 930     asTuple 
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead") 
 931     def __str__(self
):                   return str(self
.Get()) 
 932     def __repr__(self
):                  return 'wx.RealPoint'+str(self
.Get()) 
 933     def __len__(self
):                   return len(self
.Get()) 
 934     def __getitem__(self
, index
):        return self
.Get()[index
] 
 935     def __setitem__(self
, index
, val
): 
 936         if index 
== 0: self
.x 
= val
 
 937         elif index 
== 1: self
.y 
= val
 
 938         else: raise IndexError 
 939     def __nonzero__(self
):               return self
.Get() != (0.0, 0.0) 
 940     __safe_for_unpickling__ 
= True 
 941     def __reduce__(self
):                return (wx
.RealPoint
, self
.Get()) 
 944 class RealPointPtr(RealPoint
): 
 945     def __init__(self
, this
): 
 947         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
 948         self
.__class
__ = RealPoint
 
 949 _core_
.RealPoint_swigregister(RealPointPtr
) 
 951 #--------------------------------------------------------------------------- 
 955     A data structure for representing a point or position with integer x 
 956     and y properties.  Most places in wxPython that expect a wx.Point can 
 957     also accept a (x,y) tuple. 
 960         return "<%s.%s; proxy of C++ wxPoint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
 961     x 
= property(_core_
.Point_x_get
, _core_
.Point_x_set
) 
 962     y 
= property(_core_
.Point_y_get
, _core_
.Point_y_set
) 
 963     def __init__(self
, *args
, **kwargs
): 
 965         __init__(self, int x=0, int y=0) -> Point 
 967         Create a wx.Point object 
 969         newobj 
= _core_
.new_Point(*args
, **kwargs
) 
 970         self
.this 
= newobj
.this
 
 973     def __del__(self
, destroy
=_core_
.delete_Point
): 
 976             if self
.thisown
: destroy(self
) 
 979     def __eq__(*args
, **kwargs
): 
 981         __eq__(self, Point pt) -> bool 
 983         Test for equality of wx.Point objects. 
 985         return _core_
.Point___eq__(*args
, **kwargs
) 
 987     def __ne__(*args
, **kwargs
): 
 989         __ne__(self, Point pt) -> bool 
 991         Test for inequality of wx.Point objects. 
 993         return _core_
.Point___ne__(*args
, **kwargs
) 
 995     def __add__(*args
, **kwargs
): 
 997         __add__(self, Point pt) -> Point 
 999         Add pt's proprties to this and return the result. 
1001         return _core_
.Point___add__(*args
, **kwargs
) 
1003     def __sub__(*args
, **kwargs
): 
1005         __sub__(self, Point pt) -> Point 
1007         Subtract pt's proprties from this and return the result 
1009         return _core_
.Point___sub__(*args
, **kwargs
) 
1011     def __iadd__(*args
, **kwargs
): 
1013         __iadd__(self, Point pt) -> Point 
1015         Add pt to this object. 
1017         return _core_
.Point___iadd__(*args
, **kwargs
) 
1019     def __isub__(*args
, **kwargs
): 
1021         __isub__(self, Point pt) -> Point 
1023         Subtract pt from this object. 
1025         return _core_
.Point___isub__(*args
, **kwargs
) 
1027     def Set(*args
, **kwargs
): 
1029         Set(self, long x, long y) 
1031         Set both the x and y properties 
1033         return _core_
.Point_Set(*args
, **kwargs
) 
1035     def Get(*args
, **kwargs
): 
1039         Return the x and y properties as a tuple.  
1041         return _core_
.Point_Get(*args
, **kwargs
) 
1043     asTuple 
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead") 
1044     def __str__(self
):                   return str(self
.Get()) 
1045     def __repr__(self
):                  return 'wx.Point'+str(self
.Get()) 
1046     def __len__(self
):                   return len(self
.Get()) 
1047     def __getitem__(self
, index
):        return self
.Get()[index
] 
1048     def __setitem__(self
, index
, val
): 
1049         if index 
== 0: self
.x 
= val
 
1050         elif index 
== 1: self
.y 
= val
 
1051         else: raise IndexError 
1052     def __nonzero__(self
):               return self
.Get() != (0,0) 
1053     __safe_for_unpickling__ 
= True 
1054     def __reduce__(self
):                return (wx
.Point
, self
.Get()) 
1057 class PointPtr(Point
): 
1058     def __init__(self
, this
): 
1060         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1061         self
.__class
__ = Point
 
1062 _core_
.Point_swigregister(PointPtr
) 
1064 #--------------------------------------------------------------------------- 
1068     A class for representing and manipulating rectangles.  It has x, y, 
1069     width and height properties.  In wxPython most palces that expect a 
1070     wx.Rect can also accept a (x,y,width,height) tuple. 
1073         return "<%s.%s; proxy of C++ wxRect instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1074     def __init__(self
, *args
, **kwargs
): 
1076         __init__(self, int x=0, int y=0, int width=0, int height=0) -> Rect 
1078         Create a new Rect object. 
1080         newobj 
= _core_
.new_Rect(*args
, **kwargs
) 
1081         self
.this 
= newobj
.this
 
1084     def __del__(self
, destroy
=_core_
.delete_Rect
): 
1087             if self
.thisown
: destroy(self
) 
1090     def GetX(*args
, **kwargs
): 
1091         """GetX(self) -> int""" 
1092         return _core_
.Rect_GetX(*args
, **kwargs
) 
1094     def SetX(*args
, **kwargs
): 
1095         """SetX(self, int x)""" 
1096         return _core_
.Rect_SetX(*args
, **kwargs
) 
1098     def GetY(*args
, **kwargs
): 
1099         """GetY(self) -> int""" 
1100         return _core_
.Rect_GetY(*args
, **kwargs
) 
1102     def SetY(*args
, **kwargs
): 
1103         """SetY(self, int y)""" 
1104         return _core_
.Rect_SetY(*args
, **kwargs
) 
1106     def GetWidth(*args
, **kwargs
): 
1107         """GetWidth(self) -> int""" 
1108         return _core_
.Rect_GetWidth(*args
, **kwargs
) 
1110     def SetWidth(*args
, **kwargs
): 
1111         """SetWidth(self, int w)""" 
1112         return _core_
.Rect_SetWidth(*args
, **kwargs
) 
1114     def GetHeight(*args
, **kwargs
): 
1115         """GetHeight(self) -> int""" 
1116         return _core_
.Rect_GetHeight(*args
, **kwargs
) 
1118     def SetHeight(*args
, **kwargs
): 
1119         """SetHeight(self, int h)""" 
1120         return _core_
.Rect_SetHeight(*args
, **kwargs
) 
1122     def GetPosition(*args
, **kwargs
): 
1123         """GetPosition(self) -> Point""" 
1124         return _core_
.Rect_GetPosition(*args
, **kwargs
) 
1126     def SetPosition(*args
, **kwargs
): 
1127         """SetPosition(self, Point p)""" 
1128         return _core_
.Rect_SetPosition(*args
, **kwargs
) 
1130     def GetSize(*args
, **kwargs
): 
1131         """GetSize(self) -> Size""" 
1132         return _core_
.Rect_GetSize(*args
, **kwargs
) 
1134     def SetSize(*args
, **kwargs
): 
1135         """SetSize(self, Size s)""" 
1136         return _core_
.Rect_SetSize(*args
, **kwargs
) 
1138     def GetTopLeft(*args
, **kwargs
): 
1139         """GetTopLeft(self) -> Point""" 
1140         return _core_
.Rect_GetTopLeft(*args
, **kwargs
) 
1142     def SetTopLeft(*args
, **kwargs
): 
1143         """SetTopLeft(self, Point p)""" 
1144         return _core_
.Rect_SetTopLeft(*args
, **kwargs
) 
1146     def GetBottomRight(*args
, **kwargs
): 
1147         """GetBottomRight(self) -> Point""" 
1148         return _core_
.Rect_GetBottomRight(*args
, **kwargs
) 
1150     def SetBottomRight(*args
, **kwargs
): 
1151         """SetBottomRight(self, Point p)""" 
1152         return _core_
.Rect_SetBottomRight(*args
, **kwargs
) 
1154     def GetLeft(*args
, **kwargs
): 
1155         """GetLeft(self) -> int""" 
1156         return _core_
.Rect_GetLeft(*args
, **kwargs
) 
1158     def GetTop(*args
, **kwargs
): 
1159         """GetTop(self) -> int""" 
1160         return _core_
.Rect_GetTop(*args
, **kwargs
) 
1162     def GetBottom(*args
, **kwargs
): 
1163         """GetBottom(self) -> int""" 
1164         return _core_
.Rect_GetBottom(*args
, **kwargs
) 
1166     def GetRight(*args
, **kwargs
): 
1167         """GetRight(self) -> int""" 
1168         return _core_
.Rect_GetRight(*args
, **kwargs
) 
1170     def SetLeft(*args
, **kwargs
): 
1171         """SetLeft(self, int left)""" 
1172         return _core_
.Rect_SetLeft(*args
, **kwargs
) 
1174     def SetRight(*args
, **kwargs
): 
1175         """SetRight(self, int right)""" 
1176         return _core_
.Rect_SetRight(*args
, **kwargs
) 
1178     def SetTop(*args
, **kwargs
): 
1179         """SetTop(self, int top)""" 
1180         return _core_
.Rect_SetTop(*args
, **kwargs
) 
1182     def SetBottom(*args
, **kwargs
): 
1183         """SetBottom(self, int bottom)""" 
1184         return _core_
.Rect_SetBottom(*args
, **kwargs
) 
1186     position 
= property(GetPosition
, SetPosition
) 
1187     size 
= property(GetSize
, SetSize
) 
1188     left 
= property(GetLeft
, SetLeft
) 
1189     right 
= property(GetRight
, SetRight
) 
1190     top 
= property(GetTop
, SetTop
) 
1191     bottom 
= property(GetBottom
, SetBottom
) 
1193     def Inflate(*args
, **kwargs
): 
1195         Inflate(self, int dx, int dy) -> Rect 
1197         Increases the size of the rectangle. 
1199         The left border is moved farther left and the right border is moved 
1200         farther right by ``dx``. The upper border is moved farther up and the 
1201         bottom border is moved farther down by ``dy``. (Note the the width and 
1202         height of the rectangle thus change by ``2*dx`` and ``2*dy``, 
1203         respectively.) If one or both of ``dx`` and ``dy`` are negative, the 
1204         opposite happens: the rectangle size decreases in the respective 
1207         The change is made to the rectangle inplace, if instead you need a 
1208         copy that is inflated, preserving the original then make the copy 
1211             copy = wx.Rect(*original) 
1216         return _core_
.Rect_Inflate(*args
, **kwargs
) 
1218     def Deflate(*args
, **kwargs
): 
1220         Deflate(self, int dx, int dy) -> Rect 
1222         Decrease the rectangle size. This method is the opposite of `Inflate` 
1223         in that Deflate(a,b) is equivalent to Inflate(-a,-b).  Please refer to 
1224         `Inflate` for a full description. 
1226         return _core_
.Rect_Deflate(*args
, **kwargs
) 
1228     def OffsetXY(*args
, **kwargs
): 
1230         OffsetXY(self, int dx, int dy) 
1232         Moves the rectangle by the specified offset. If dx is positive, the 
1233         rectangle is moved to the right, if dy is positive, it is moved to the 
1234         bottom, otherwise it is moved to the left or top respectively. 
1236         return _core_
.Rect_OffsetXY(*args
, **kwargs
) 
1238     def Offset(*args
, **kwargs
): 
1240         Offset(self, Point pt) 
1242         Same as OffsetXY but uses dx,dy from Point 
1244         return _core_
.Rect_Offset(*args
, **kwargs
) 
1246     def Intersect(*args
, **kwargs
): 
1248         Intersect(self, Rect rect) -> Rect 
1250         Returns the intersectsion of this rectangle and rect. 
1252         return _core_
.Rect_Intersect(*args
, **kwargs
) 
1254     def Union(*args
, **kwargs
): 
1256         Union(self, Rect rect) -> Rect 
1258         Returns the union of this rectangle and rect. 
1260         return _core_
.Rect_Union(*args
, **kwargs
) 
1262     def __add__(*args
, **kwargs
): 
1264         __add__(self, Rect rect) -> Rect 
1266         Add the properties of rect to this rectangle and return the result. 
1268         return _core_
.Rect___add__(*args
, **kwargs
) 
1270     def __iadd__(*args
, **kwargs
): 
1272         __iadd__(self, Rect rect) -> Rect 
1274         Add the properties of rect to this rectangle, updating this rectangle. 
1276         return _core_
.Rect___iadd__(*args
, **kwargs
) 
1278     def __eq__(*args
, **kwargs
): 
1280         __eq__(self, Rect rect) -> bool 
1284         return _core_
.Rect___eq__(*args
, **kwargs
) 
1286     def __ne__(*args
, **kwargs
): 
1288         __ne__(self, Rect rect) -> bool 
1290         Test for inequality. 
1292         return _core_
.Rect___ne__(*args
, **kwargs
) 
1294     def InsideXY(*args
, **kwargs
): 
1296         InsideXY(self, int x, int y) -> bool 
1298         Return True if the point is (not strcitly) inside the rect. 
1300         return _core_
.Rect_InsideXY(*args
, **kwargs
) 
1302     def Inside(*args
, **kwargs
): 
1304         Inside(self, Point pt) -> bool 
1306         Return True if the point is (not strcitly) inside the rect. 
1308         return _core_
.Rect_Inside(*args
, **kwargs
) 
1310     def Intersects(*args
, **kwargs
): 
1312         Intersects(self, Rect rect) -> bool 
1314         Returns True if the rectangles have a non empty intersection. 
1316         return _core_
.Rect_Intersects(*args
, **kwargs
) 
1318     x 
= property(_core_
.Rect_x_get
, _core_
.Rect_x_set
) 
1319     y 
= property(_core_
.Rect_y_get
, _core_
.Rect_y_set
) 
1320     width 
= property(_core_
.Rect_width_get
, _core_
.Rect_width_set
) 
1321     height 
= property(_core_
.Rect_height_get
, _core_
.Rect_height_set
) 
1322     def Set(*args
, **kwargs
): 
1324         Set(self, int x=0, int y=0, int width=0, int height=0) 
1326         Set all rectangle properties. 
1328         return _core_
.Rect_Set(*args
, **kwargs
) 
1330     def Get(*args
, **kwargs
): 
1332         Get() -> (x,y,width,height) 
1334         Return the rectangle properties as a tuple. 
1336         return _core_
.Rect_Get(*args
, **kwargs
) 
1338     asTuple 
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead") 
1339     def __str__(self
):                   return str(self
.Get()) 
1340     def __repr__(self
):                  return 'wx.Rect'+str(self
.Get()) 
1341     def __len__(self
):                   return len(self
.Get()) 
1342     def __getitem__(self
, index
):        return self
.Get()[index
] 
1343     def __setitem__(self
, index
, val
): 
1344         if index 
== 0: self
.x 
= val
 
1345         elif index 
== 1: self
.y 
= val
 
1346         elif index 
== 2: self
.width 
= val
 
1347         elif index 
== 3: self
.height 
= val
 
1348         else: raise IndexError 
1349     def __nonzero__(self
):               return self
.Get() != (0,0,0,0) 
1350     __safe_for_unpickling__ 
= True 
1351     def __reduce__(self
):                return (wx
.Rect
, self
.Get()) 
1354 class RectPtr(Rect
): 
1355     def __init__(self
, this
): 
1357         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1358         self
.__class
__ = Rect
 
1359 _core_
.Rect_swigregister(RectPtr
) 
1361 def RectPP(*args
, **kwargs
): 
1363     RectPP(Point topLeft, Point bottomRight) -> Rect 
1365     Create a new Rect object from Points representing two corners. 
1367     val 
= _core_
.new_RectPP(*args
, **kwargs
) 
1371 def RectPS(*args
, **kwargs
): 
1373     RectPS(Point pos, Size size) -> Rect 
1375     Create a new Rect from a position and size. 
1377     val 
= _core_
.new_RectPS(*args
, **kwargs
) 
1381 def RectS(*args
, **kwargs
): 
1383     RectS(Size size) -> Rect 
1385     Create a new Rect from a size only. 
1387     val 
= _core_
.new_RectS(*args
, **kwargs
) 
1392 def IntersectRect(*args
, **kwargs
): 
1394     IntersectRect(Rect r1, Rect r2) -> Rect 
1396     Calculate and return the intersection of r1 and r2. 
1398     return _core_
.IntersectRect(*args
, **kwargs
) 
1399 #--------------------------------------------------------------------------- 
1401 class Point2D(object): 
1403     wx.Point2Ds represent a point or a vector in a 2d coordinate system 
1404     with floating point values. 
1407         return "<%s.%s; proxy of C++ wxPoint2D instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1408     def __init__(self
, *args
, **kwargs
): 
1410         __init__(self, double x=0.0, double y=0.0) -> Point2D 
1412         Create a w.Point2D object. 
1414         newobj 
= _core_
.new_Point2D(*args
, **kwargs
) 
1415         self
.this 
= newobj
.this
 
1418     def GetFloor(*args
, **kwargs
): 
1424         return _core_
.Point2D_GetFloor(*args
, **kwargs
) 
1426     def GetRounded(*args
, **kwargs
): 
1428         GetRounded() -> (x,y) 
1432         return _core_
.Point2D_GetRounded(*args
, **kwargs
) 
1434     def GetVectorLength(*args
, **kwargs
): 
1435         """GetVectorLength(self) -> double""" 
1436         return _core_
.Point2D_GetVectorLength(*args
, **kwargs
) 
1438     def GetVectorAngle(*args
, **kwargs
): 
1439         """GetVectorAngle(self) -> double""" 
1440         return _core_
.Point2D_GetVectorAngle(*args
, **kwargs
) 
1442     def SetVectorLength(*args
, **kwargs
): 
1443         """SetVectorLength(self, double length)""" 
1444         return _core_
.Point2D_SetVectorLength(*args
, **kwargs
) 
1446     def SetVectorAngle(*args
, **kwargs
): 
1447         """SetVectorAngle(self, double degrees)""" 
1448         return _core_
.Point2D_SetVectorAngle(*args
, **kwargs
) 
1450     def SetPolarCoordinates(self
, angle
, length
): 
1451         self
.SetVectorLength(length
) 
1452         self
.SetVectorAngle(angle
) 
1453     def Normalize(self
): 
1454         self
.SetVectorLength(1.0) 
1456     def GetDistance(*args
, **kwargs
): 
1457         """GetDistance(self, Point2D pt) -> double""" 
1458         return _core_
.Point2D_GetDistance(*args
, **kwargs
) 
1460     def GetDistanceSquare(*args
, **kwargs
): 
1461         """GetDistanceSquare(self, Point2D pt) -> double""" 
1462         return _core_
.Point2D_GetDistanceSquare(*args
, **kwargs
) 
1464     def GetDotProduct(*args
, **kwargs
): 
1465         """GetDotProduct(self, Point2D vec) -> double""" 
1466         return _core_
.Point2D_GetDotProduct(*args
, **kwargs
) 
1468     def GetCrossProduct(*args
, **kwargs
): 
1469         """GetCrossProduct(self, Point2D vec) -> double""" 
1470         return _core_
.Point2D_GetCrossProduct(*args
, **kwargs
) 
1472     def __neg__(*args
, **kwargs
): 
1474         __neg__(self) -> Point2D 
1476         the reflection of this point 
1478         return _core_
.Point2D___neg__(*args
, **kwargs
) 
1480     def __iadd__(*args
, **kwargs
): 
1481         """__iadd__(self, Point2D pt) -> Point2D""" 
1482         return _core_
.Point2D___iadd__(*args
, **kwargs
) 
1484     def __isub__(*args
, **kwargs
): 
1485         """__isub__(self, Point2D pt) -> Point2D""" 
1486         return _core_
.Point2D___isub__(*args
, **kwargs
) 
1488     def __imul__(*args
, **kwargs
): 
1489         """__imul__(self, Point2D pt) -> Point2D""" 
1490         return _core_
.Point2D___imul__(*args
, **kwargs
) 
1492     def __idiv__(*args
, **kwargs
): 
1493         """__idiv__(self, Point2D pt) -> Point2D""" 
1494         return _core_
.Point2D___idiv__(*args
, **kwargs
) 
1496     def __eq__(*args
, **kwargs
): 
1498         __eq__(self, Point2D pt) -> bool 
1502         return _core_
.Point2D___eq__(*args
, **kwargs
) 
1504     def __ne__(*args
, **kwargs
): 
1506         __ne__(self, Point2D pt) -> bool 
1510         return _core_
.Point2D___ne__(*args
, **kwargs
) 
1512     x 
= property(_core_
.Point2D_x_get
, _core_
.Point2D_x_set
) 
1513     y 
= property(_core_
.Point2D_y_get
, _core_
.Point2D_y_set
) 
1514     def Set(*args
, **kwargs
): 
1515         """Set(self, double x=0, double y=0)""" 
1516         return _core_
.Point2D_Set(*args
, **kwargs
) 
1518     def Get(*args
, **kwargs
): 
1522         Return x and y properties as a tuple. 
1524         return _core_
.Point2D_Get(*args
, **kwargs
) 
1526     asTuple 
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead") 
1527     def __str__(self
):                   return str(self
.Get()) 
1528     def __repr__(self
):                  return 'wx.Point2D'+str(self
.Get()) 
1529     def __len__(self
):                   return len(self
.Get()) 
1530     def __getitem__(self
, index
):        return self
.Get()[index
] 
1531     def __setitem__(self
, index
, val
): 
1532         if index 
== 0: self
.x 
= val
 
1533         elif index 
== 1: self
.y 
= val
 
1534         else: raise IndexError 
1535     def __nonzero__(self
):               return self
.Get() != (0.0, 0.0) 
1536     __safe_for_unpickling__ 
= True 
1537     def __reduce__(self
):                return (wx
.Point2D
, self
.Get()) 
1540 class Point2DPtr(Point2D
): 
1541     def __init__(self
, this
): 
1543         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1544         self
.__class
__ = Point2D
 
1545 _core_
.Point2D_swigregister(Point2DPtr
) 
1547 def Point2DCopy(*args
, **kwargs
): 
1549     Point2DCopy(Point2D pt) -> Point2D 
1551     Create a w.Point2D object. 
1553     val 
= _core_
.new_Point2DCopy(*args
, **kwargs
) 
1557 def Point2DFromPoint(*args
, **kwargs
): 
1559     Point2DFromPoint(Point pt) -> Point2D 
1561     Create a w.Point2D object. 
1563     val 
= _core_
.new_Point2DFromPoint(*args
, **kwargs
) 
1567 #--------------------------------------------------------------------------- 
1569 FromStart 
= _core_
.FromStart
 
1570 FromCurrent 
= _core_
.FromCurrent
 
1571 FromEnd 
= _core_
.FromEnd
 
1572 class InputStream(object): 
1573     """Proxy of C++ InputStream class""" 
1575         return "<%s.%s; proxy of C++ wxPyInputStream instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1576     def __init__(self
, *args
, **kwargs
): 
1577         """__init__(self, PyObject p) -> InputStream""" 
1578         newobj 
= _core_
.new_InputStream(*args
, **kwargs
) 
1579         self
.this 
= newobj
.this
 
1582     def __del__(self
, destroy
=_core_
.delete_InputStream
): 
1585             if self
.thisown
: destroy(self
) 
1588     def close(*args
, **kwargs
): 
1590         return _core_
.InputStream_close(*args
, **kwargs
) 
1592     def flush(*args
, **kwargs
): 
1594         return _core_
.InputStream_flush(*args
, **kwargs
) 
1596     def eof(*args
, **kwargs
): 
1597         """eof(self) -> bool""" 
1598         return _core_
.InputStream_eof(*args
, **kwargs
) 
1600     def read(*args
, **kwargs
): 
1601         """read(self, int size=-1) -> PyObject""" 
1602         return _core_
.InputStream_read(*args
, **kwargs
) 
1604     def readline(*args
, **kwargs
): 
1605         """readline(self, int size=-1) -> PyObject""" 
1606         return _core_
.InputStream_readline(*args
, **kwargs
) 
1608     def readlines(*args
, **kwargs
): 
1609         """readlines(self, int sizehint=-1) -> PyObject""" 
1610         return _core_
.InputStream_readlines(*args
, **kwargs
) 
1612     def seek(*args
, **kwargs
): 
1613         """seek(self, int offset, int whence=0)""" 
1614         return _core_
.InputStream_seek(*args
, **kwargs
) 
1616     def tell(*args
, **kwargs
): 
1617         """tell(self) -> int""" 
1618         return _core_
.InputStream_tell(*args
, **kwargs
) 
1620     def Peek(*args
, **kwargs
): 
1621         """Peek(self) -> char""" 
1622         return _core_
.InputStream_Peek(*args
, **kwargs
) 
1624     def GetC(*args
, **kwargs
): 
1625         """GetC(self) -> char""" 
1626         return _core_
.InputStream_GetC(*args
, **kwargs
) 
1628     def LastRead(*args
, **kwargs
): 
1629         """LastRead(self) -> size_t""" 
1630         return _core_
.InputStream_LastRead(*args
, **kwargs
) 
1632     def CanRead(*args
, **kwargs
): 
1633         """CanRead(self) -> bool""" 
1634         return _core_
.InputStream_CanRead(*args
, **kwargs
) 
1636     def Eof(*args
, **kwargs
): 
1637         """Eof(self) -> bool""" 
1638         return _core_
.InputStream_Eof(*args
, **kwargs
) 
1640     def Ungetch(*args
, **kwargs
): 
1641         """Ungetch(self, char c) -> bool""" 
1642         return _core_
.InputStream_Ungetch(*args
, **kwargs
) 
1644     def SeekI(*args
, **kwargs
): 
1645         """SeekI(self, long pos, int mode=FromStart) -> long""" 
1646         return _core_
.InputStream_SeekI(*args
, **kwargs
) 
1648     def TellI(*args
, **kwargs
): 
1649         """TellI(self) -> long""" 
1650         return _core_
.InputStream_TellI(*args
, **kwargs
) 
1653 class InputStreamPtr(InputStream
): 
1654     def __init__(self
, this
): 
1656         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1657         self
.__class
__ = InputStream
 
1658 _core_
.InputStream_swigregister(InputStreamPtr
) 
1659 DefaultPosition 
= cvar
.DefaultPosition
 
1660 DefaultSize 
= cvar
.DefaultSize
 
1662 class OutputStream(object): 
1663     """Proxy of C++ OutputStream class""" 
1664     def __init__(self
): raise RuntimeError, "No constructor defined" 
1666         return "<%s.%s; proxy of C++ wxOutputStream instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1667     def write(*args
, **kwargs
): 
1668         """write(self, PyObject obj)""" 
1669         return _core_
.OutputStream_write(*args
, **kwargs
) 
1672 class OutputStreamPtr(OutputStream
): 
1673     def __init__(self
, this
): 
1675         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1676         self
.__class
__ = OutputStream
 
1677 _core_
.OutputStream_swigregister(OutputStreamPtr
) 
1679 #--------------------------------------------------------------------------- 
1681 class FSFile(Object
): 
1682     """Proxy of C++ FSFile class""" 
1684         return "<%s.%s; proxy of C++ wxFSFile instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1685     def __init__(self
, *args
, **kwargs
): 
1687         __init__(self, InputStream stream, String loc, String mimetype, String anchor,  
1688             DateTime modif) -> FSFile 
1690         newobj 
= _core_
.new_FSFile(*args
, **kwargs
) 
1691         self
.this 
= newobj
.this
 
1694         self
.thisown 
= 0   # It will normally be deleted by the user of the wxFileSystem 
1696     def __del__(self
, destroy
=_core_
.delete_FSFile
): 
1699             if self
.thisown
: destroy(self
) 
1702     def GetStream(*args
, **kwargs
): 
1703         """GetStream(self) -> InputStream""" 
1704         return _core_
.FSFile_GetStream(*args
, **kwargs
) 
1706     def GetMimeType(*args
, **kwargs
): 
1707         """GetMimeType(self) -> String""" 
1708         return _core_
.FSFile_GetMimeType(*args
, **kwargs
) 
1710     def GetLocation(*args
, **kwargs
): 
1711         """GetLocation(self) -> String""" 
1712         return _core_
.FSFile_GetLocation(*args
, **kwargs
) 
1714     def GetAnchor(*args
, **kwargs
): 
1715         """GetAnchor(self) -> String""" 
1716         return _core_
.FSFile_GetAnchor(*args
, **kwargs
) 
1718     def GetModificationTime(*args
, **kwargs
): 
1719         """GetModificationTime(self) -> DateTime""" 
1720         return _core_
.FSFile_GetModificationTime(*args
, **kwargs
) 
1723 class FSFilePtr(FSFile
): 
1724     def __init__(self
, this
): 
1726         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1727         self
.__class
__ = FSFile
 
1728 _core_
.FSFile_swigregister(FSFilePtr
) 
1730 class CPPFileSystemHandler(object): 
1731     """Proxy of C++ CPPFileSystemHandler class""" 
1732     def __init__(self
): raise RuntimeError, "No constructor defined" 
1734         return "<%s.%s; proxy of C++ wxFileSystemHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1736 class CPPFileSystemHandlerPtr(CPPFileSystemHandler
): 
1737     def __init__(self
, this
): 
1739         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1740         self
.__class
__ = CPPFileSystemHandler
 
1741 _core_
.CPPFileSystemHandler_swigregister(CPPFileSystemHandlerPtr
) 
1743 class FileSystemHandler(CPPFileSystemHandler
): 
1744     """Proxy of C++ FileSystemHandler class""" 
1746         return "<%s.%s; proxy of C++ wxPyFileSystemHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1747     def __init__(self
, *args
, **kwargs
): 
1748         """__init__(self) -> FileSystemHandler""" 
1749         newobj 
= _core_
.new_FileSystemHandler(*args
, **kwargs
) 
1750         self
.this 
= newobj
.this
 
1753         self
._setCallbackInfo
(self
, FileSystemHandler
) 
1755     def _setCallbackInfo(*args
, **kwargs
): 
1756         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
1757         return _core_
.FileSystemHandler__setCallbackInfo(*args
, **kwargs
) 
1759     def CanOpen(*args
, **kwargs
): 
1760         """CanOpen(self, String location) -> bool""" 
1761         return _core_
.FileSystemHandler_CanOpen(*args
, **kwargs
) 
1763     def OpenFile(*args
, **kwargs
): 
1764         """OpenFile(self, FileSystem fs, String location) -> FSFile""" 
1765         return _core_
.FileSystemHandler_OpenFile(*args
, **kwargs
) 
1767     def FindFirst(*args
, **kwargs
): 
1768         """FindFirst(self, String spec, int flags=0) -> String""" 
1769         return _core_
.FileSystemHandler_FindFirst(*args
, **kwargs
) 
1771     def FindNext(*args
, **kwargs
): 
1772         """FindNext(self) -> String""" 
1773         return _core_
.FileSystemHandler_FindNext(*args
, **kwargs
) 
1775     def GetProtocol(*args
, **kwargs
): 
1776         """GetProtocol(self, String location) -> String""" 
1777         return _core_
.FileSystemHandler_GetProtocol(*args
, **kwargs
) 
1779     def GetLeftLocation(*args
, **kwargs
): 
1780         """GetLeftLocation(self, String location) -> String""" 
1781         return _core_
.FileSystemHandler_GetLeftLocation(*args
, **kwargs
) 
1783     def GetAnchor(*args
, **kwargs
): 
1784         """GetAnchor(self, String location) -> String""" 
1785         return _core_
.FileSystemHandler_GetAnchor(*args
, **kwargs
) 
1787     def GetRightLocation(*args
, **kwargs
): 
1788         """GetRightLocation(self, String location) -> String""" 
1789         return _core_
.FileSystemHandler_GetRightLocation(*args
, **kwargs
) 
1791     def GetMimeTypeFromExt(*args
, **kwargs
): 
1792         """GetMimeTypeFromExt(self, String location) -> String""" 
1793         return _core_
.FileSystemHandler_GetMimeTypeFromExt(*args
, **kwargs
) 
1796 class FileSystemHandlerPtr(FileSystemHandler
): 
1797     def __init__(self
, this
): 
1799         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1800         self
.__class
__ = FileSystemHandler
 
1801 _core_
.FileSystemHandler_swigregister(FileSystemHandlerPtr
) 
1803 class FileSystem(Object
): 
1804     """Proxy of C++ FileSystem class""" 
1806         return "<%s.%s; proxy of C++ wxFileSystem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1807     def __init__(self
, *args
, **kwargs
): 
1808         """__init__(self) -> FileSystem""" 
1809         newobj 
= _core_
.new_FileSystem(*args
, **kwargs
) 
1810         self
.this 
= newobj
.this
 
1813     def __del__(self
, destroy
=_core_
.delete_FileSystem
): 
1816             if self
.thisown
: destroy(self
) 
1819     def ChangePathTo(*args
, **kwargs
): 
1820         """ChangePathTo(self, String location, bool is_dir=False)""" 
1821         return _core_
.FileSystem_ChangePathTo(*args
, **kwargs
) 
1823     def GetPath(*args
, **kwargs
): 
1824         """GetPath(self) -> String""" 
1825         return _core_
.FileSystem_GetPath(*args
, **kwargs
) 
1827     def OpenFile(*args
, **kwargs
): 
1828         """OpenFile(self, String location) -> FSFile""" 
1829         return _core_
.FileSystem_OpenFile(*args
, **kwargs
) 
1831     def FindFirst(*args
, **kwargs
): 
1832         """FindFirst(self, String spec, int flags=0) -> String""" 
1833         return _core_
.FileSystem_FindFirst(*args
, **kwargs
) 
1835     def FindNext(*args
, **kwargs
): 
1836         """FindNext(self) -> String""" 
1837         return _core_
.FileSystem_FindNext(*args
, **kwargs
) 
1839     def AddHandler(*args
, **kwargs
): 
1840         """AddHandler(CPPFileSystemHandler handler)""" 
1841         return _core_
.FileSystem_AddHandler(*args
, **kwargs
) 
1843     AddHandler 
= staticmethod(AddHandler
) 
1844     def CleanUpHandlers(*args
, **kwargs
): 
1845         """CleanUpHandlers()""" 
1846         return _core_
.FileSystem_CleanUpHandlers(*args
, **kwargs
) 
1848     CleanUpHandlers 
= staticmethod(CleanUpHandlers
) 
1849     def FileNameToURL(*args
, **kwargs
): 
1850         """FileNameToURL(String filename) -> String""" 
1851         return _core_
.FileSystem_FileNameToURL(*args
, **kwargs
) 
1853     FileNameToURL 
= staticmethod(FileNameToURL
) 
1854     def URLToFileName(*args
, **kwargs
): 
1855         """URLToFileName(String url) -> String""" 
1856         return _core_
.FileSystem_URLToFileName(*args
, **kwargs
) 
1858     URLToFileName 
= staticmethod(URLToFileName
) 
1860 class FileSystemPtr(FileSystem
): 
1861     def __init__(self
, this
): 
1863         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1864         self
.__class
__ = FileSystem
 
1865 _core_
.FileSystem_swigregister(FileSystemPtr
) 
1867 def FileSystem_AddHandler(*args
, **kwargs
): 
1868     """FileSystem_AddHandler(CPPFileSystemHandler handler)""" 
1869     return _core_
.FileSystem_AddHandler(*args
, **kwargs
) 
1871 def FileSystem_CleanUpHandlers(*args
, **kwargs
): 
1872     """FileSystem_CleanUpHandlers()""" 
1873     return _core_
.FileSystem_CleanUpHandlers(*args
, **kwargs
) 
1875 def FileSystem_FileNameToURL(*args
, **kwargs
): 
1876     """FileSystem_FileNameToURL(String filename) -> String""" 
1877     return _core_
.FileSystem_FileNameToURL(*args
, **kwargs
) 
1879 def FileSystem_URLToFileName(*args
, **kwargs
): 
1880     """FileSystem_URLToFileName(String url) -> String""" 
1881     return _core_
.FileSystem_URLToFileName(*args
, **kwargs
) 
1883 class InternetFSHandler(CPPFileSystemHandler
): 
1884     """Proxy of C++ InternetFSHandler class""" 
1886         return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1887     def __init__(self
, *args
, **kwargs
): 
1888         """__init__(self) -> InternetFSHandler""" 
1889         newobj 
= _core_
.new_InternetFSHandler(*args
, **kwargs
) 
1890         self
.this 
= newobj
.this
 
1893     def CanOpen(*args
, **kwargs
): 
1894         """CanOpen(self, String location) -> bool""" 
1895         return _core_
.InternetFSHandler_CanOpen(*args
, **kwargs
) 
1897     def OpenFile(*args
, **kwargs
): 
1898         """OpenFile(self, FileSystem fs, String location) -> FSFile""" 
1899         return _core_
.InternetFSHandler_OpenFile(*args
, **kwargs
) 
1902 class InternetFSHandlerPtr(InternetFSHandler
): 
1903     def __init__(self
, this
): 
1905         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1906         self
.__class
__ = InternetFSHandler
 
1907 _core_
.InternetFSHandler_swigregister(InternetFSHandlerPtr
) 
1909 class ZipFSHandler(CPPFileSystemHandler
): 
1910     """Proxy of C++ ZipFSHandler class""" 
1912         return "<%s.%s; proxy of C++ wxZipFSHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1913     def __init__(self
, *args
, **kwargs
): 
1914         """__init__(self) -> ZipFSHandler""" 
1915         newobj 
= _core_
.new_ZipFSHandler(*args
, **kwargs
) 
1916         self
.this 
= newobj
.this
 
1919     def CanOpen(*args
, **kwargs
): 
1920         """CanOpen(self, String location) -> bool""" 
1921         return _core_
.ZipFSHandler_CanOpen(*args
, **kwargs
) 
1923     def OpenFile(*args
, **kwargs
): 
1924         """OpenFile(self, FileSystem fs, String location) -> FSFile""" 
1925         return _core_
.ZipFSHandler_OpenFile(*args
, **kwargs
) 
1927     def FindFirst(*args
, **kwargs
): 
1928         """FindFirst(self, String spec, int flags=0) -> String""" 
1929         return _core_
.ZipFSHandler_FindFirst(*args
, **kwargs
) 
1931     def FindNext(*args
, **kwargs
): 
1932         """FindNext(self) -> String""" 
1933         return _core_
.ZipFSHandler_FindNext(*args
, **kwargs
) 
1936 class ZipFSHandlerPtr(ZipFSHandler
): 
1937     def __init__(self
, this
): 
1939         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
1940         self
.__class
__ = ZipFSHandler
 
1941 _core_
.ZipFSHandler_swigregister(ZipFSHandlerPtr
) 
1944 def __wxMemoryFSHandler_AddFile_wxImage(*args
, **kwargs
): 
1945     """__wxMemoryFSHandler_AddFile_wxImage(String filename, Image image, long type)""" 
1946     return _core_
.__wxMemoryFSHandler
_AddFile
_wxImage
(*args
, **kwargs
) 
1948 def __wxMemoryFSHandler_AddFile_wxBitmap(*args
, **kwargs
): 
1949     """__wxMemoryFSHandler_AddFile_wxBitmap(String filename, Bitmap bitmap, long type)""" 
1950     return _core_
.__wxMemoryFSHandler
_AddFile
_wxBitmap
(*args
, **kwargs
) 
1952 def __wxMemoryFSHandler_AddFile_Data(*args
, **kwargs
): 
1953     """__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)""" 
1954     return _core_
.__wxMemoryFSHandler
_AddFile
_Data
(*args
, **kwargs
) 
1955 def MemoryFSHandler_AddFile(filename
, dataItem
, imgType
=-1): 
1957     Add 'file' to the memory filesystem.  The dataItem parameter can 
1958     either be a `wx.Bitmap`, `wx.Image` or a string that can contain 
1959     arbitrary data.  If a bitmap or image is used then the imgType 
1960     parameter should specify what kind of image file it should be 
1961     written as, wx.BITMAP_TYPE_PNG, etc. 
1963     if isinstance(dataItem
, wx
.Image
): 
1964         __wxMemoryFSHandler_AddFile_wxImage(filename
, dataItem
, imgType
) 
1965     elif isinstance(dataItem
, wx
.Bitmap
): 
1966         __wxMemoryFSHandler_AddFile_wxBitmap(filename
, dataItem
, imgType
) 
1967     elif type(dataItem
) == str: 
1968         __wxMemoryFSHandler_AddFile_Data(filename
, dataItem
) 
1970         raise TypeError, 'wx.Image, wx.Bitmap or string expected' 
1972 class MemoryFSHandler(CPPFileSystemHandler
): 
1973     """Proxy of C++ MemoryFSHandler class""" 
1975         return "<%s.%s; proxy of C++ wxMemoryFSHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
1976     def __init__(self
, *args
, **kwargs
): 
1977         """__init__(self) -> MemoryFSHandler""" 
1978         newobj 
= _core_
.new_MemoryFSHandler(*args
, **kwargs
) 
1979         self
.this 
= newobj
.this
 
1982     def RemoveFile(*args
, **kwargs
): 
1983         """RemoveFile(String filename)""" 
1984         return _core_
.MemoryFSHandler_RemoveFile(*args
, **kwargs
) 
1986     RemoveFile 
= staticmethod(RemoveFile
) 
1987     AddFile 
= staticmethod(MemoryFSHandler_AddFile
)  
1988     def CanOpen(*args
, **kwargs
): 
1989         """CanOpen(self, String location) -> bool""" 
1990         return _core_
.MemoryFSHandler_CanOpen(*args
, **kwargs
) 
1992     def OpenFile(*args
, **kwargs
): 
1993         """OpenFile(self, FileSystem fs, String location) -> FSFile""" 
1994         return _core_
.MemoryFSHandler_OpenFile(*args
, **kwargs
) 
1996     def FindFirst(*args
, **kwargs
): 
1997         """FindFirst(self, String spec, int flags=0) -> String""" 
1998         return _core_
.MemoryFSHandler_FindFirst(*args
, **kwargs
) 
2000     def FindNext(*args
, **kwargs
): 
2001         """FindNext(self) -> String""" 
2002         return _core_
.MemoryFSHandler_FindNext(*args
, **kwargs
) 
2005 class MemoryFSHandlerPtr(MemoryFSHandler
): 
2006     def __init__(self
, this
): 
2008         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2009         self
.__class
__ = MemoryFSHandler
 
2010 _core_
.MemoryFSHandler_swigregister(MemoryFSHandlerPtr
) 
2012 def MemoryFSHandler_RemoveFile(*args
, **kwargs
): 
2013     """MemoryFSHandler_RemoveFile(String filename)""" 
2014     return _core_
.MemoryFSHandler_RemoveFile(*args
, **kwargs
) 
2016 #--------------------------------------------------------------------------- 
2018 class ImageHandler(Object
): 
2019     """Proxy of C++ ImageHandler class""" 
2020     def __init__(self
): raise RuntimeError, "No constructor defined" 
2022         return "<%s.%s; proxy of C++ wxImageHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2023     def GetName(*args
, **kwargs
): 
2024         """GetName(self) -> String""" 
2025         return _core_
.ImageHandler_GetName(*args
, **kwargs
) 
2027     def GetExtension(*args
, **kwargs
): 
2028         """GetExtension(self) -> String""" 
2029         return _core_
.ImageHandler_GetExtension(*args
, **kwargs
) 
2031     def GetType(*args
, **kwargs
): 
2032         """GetType(self) -> long""" 
2033         return _core_
.ImageHandler_GetType(*args
, **kwargs
) 
2035     def GetMimeType(*args
, **kwargs
): 
2036         """GetMimeType(self) -> String""" 
2037         return _core_
.ImageHandler_GetMimeType(*args
, **kwargs
) 
2039     def CanRead(*args
, **kwargs
): 
2040         """CanRead(self, String name) -> bool""" 
2041         return _core_
.ImageHandler_CanRead(*args
, **kwargs
) 
2043     def SetName(*args
, **kwargs
): 
2044         """SetName(self, String name)""" 
2045         return _core_
.ImageHandler_SetName(*args
, **kwargs
) 
2047     def SetExtension(*args
, **kwargs
): 
2048         """SetExtension(self, String extension)""" 
2049         return _core_
.ImageHandler_SetExtension(*args
, **kwargs
) 
2051     def SetType(*args
, **kwargs
): 
2052         """SetType(self, long type)""" 
2053         return _core_
.ImageHandler_SetType(*args
, **kwargs
) 
2055     def SetMimeType(*args
, **kwargs
): 
2056         """SetMimeType(self, String mimetype)""" 
2057         return _core_
.ImageHandler_SetMimeType(*args
, **kwargs
) 
2060 class ImageHandlerPtr(ImageHandler
): 
2061     def __init__(self
, this
): 
2063         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2064         self
.__class
__ = ImageHandler
 
2065 _core_
.ImageHandler_swigregister(ImageHandlerPtr
) 
2067 class ImageHistogram(object): 
2068     """Proxy of C++ ImageHistogram class""" 
2070         return "<%s.%s; proxy of C++ wxImageHistogram instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2071     def __init__(self
, *args
, **kwargs
): 
2072         """__init__(self) -> ImageHistogram""" 
2073         newobj 
= _core_
.new_ImageHistogram(*args
, **kwargs
) 
2074         self
.this 
= newobj
.this
 
2077     def MakeKey(*args
, **kwargs
): 
2079         MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long 
2081         Get the key in the histogram for the given RGB values 
2083         return _core_
.ImageHistogram_MakeKey(*args
, **kwargs
) 
2085     MakeKey 
= staticmethod(MakeKey
) 
2086     def FindFirstUnusedColour(*args
, **kwargs
): 
2088         FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) 
2090         Find first colour that is not used in the image and has higher RGB 
2091         values than startR, startG, startB.  Returns a tuple consisting of a 
2092         success flag and rgb values. 
2094         return _core_
.ImageHistogram_FindFirstUnusedColour(*args
, **kwargs
) 
2097 class ImageHistogramPtr(ImageHistogram
): 
2098     def __init__(self
, this
): 
2100         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2101         self
.__class
__ = ImageHistogram
 
2102 _core_
.ImageHistogram_swigregister(ImageHistogramPtr
) 
2104 def ImageHistogram_MakeKey(*args
, **kwargs
): 
2106     ImageHistogram_MakeKey(unsigned char r, unsigned char g, unsigned char b) -> unsigned long 
2108     Get the key in the histogram for the given RGB values 
2110     return _core_
.ImageHistogram_MakeKey(*args
, **kwargs
) 
2112 class Image(Object
): 
2113     """Proxy of C++ Image class""" 
2115         return "<%s.%s; proxy of C++ wxImage instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2116     def __init__(self
, *args
, **kwargs
): 
2117         """__init__(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -> Image""" 
2118         newobj 
= _core_
.new_Image(*args
, **kwargs
) 
2119         self
.this 
= newobj
.this
 
2122     def __del__(self
, destroy
=_core_
.delete_Image
): 
2125             if self
.thisown
: destroy(self
) 
2128     def Create(*args
, **kwargs
): 
2129         """Create(self, int width, int height)""" 
2130         return _core_
.Image_Create(*args
, **kwargs
) 
2132     def Destroy(*args
, **kwargs
): 
2136         Deletes the C++ object this Python object is a proxy for. 
2138         return _core_
.Image_Destroy(*args
, **kwargs
) 
2140     def Scale(*args
, **kwargs
): 
2141         """Scale(self, int width, int height) -> Image""" 
2142         return _core_
.Image_Scale(*args
, **kwargs
) 
2144     def ShrinkBy(*args
, **kwargs
): 
2145         """ShrinkBy(self, int xFactor, int yFactor) -> Image""" 
2146         return _core_
.Image_ShrinkBy(*args
, **kwargs
) 
2148     def Rescale(*args
, **kwargs
): 
2149         """Rescale(self, int width, int height) -> Image""" 
2150         return _core_
.Image_Rescale(*args
, **kwargs
) 
2152     def SetRGB(*args
, **kwargs
): 
2153         """SetRGB(self, int x, int y, unsigned char r, unsigned char g, unsigned char b)""" 
2154         return _core_
.Image_SetRGB(*args
, **kwargs
) 
2156     def GetRed(*args
, **kwargs
): 
2157         """GetRed(self, int x, int y) -> unsigned char""" 
2158         return _core_
.Image_GetRed(*args
, **kwargs
) 
2160     def GetGreen(*args
, **kwargs
): 
2161         """GetGreen(self, int x, int y) -> unsigned char""" 
2162         return _core_
.Image_GetGreen(*args
, **kwargs
) 
2164     def GetBlue(*args
, **kwargs
): 
2165         """GetBlue(self, int x, int y) -> unsigned char""" 
2166         return _core_
.Image_GetBlue(*args
, **kwargs
) 
2168     def SetAlpha(*args
, **kwargs
): 
2169         """SetAlpha(self, int x, int y, unsigned char alpha)""" 
2170         return _core_
.Image_SetAlpha(*args
, **kwargs
) 
2172     def GetAlpha(*args
, **kwargs
): 
2173         """GetAlpha(self, int x, int y) -> unsigned char""" 
2174         return _core_
.Image_GetAlpha(*args
, **kwargs
) 
2176     def HasAlpha(*args
, **kwargs
): 
2177         """HasAlpha(self) -> bool""" 
2178         return _core_
.Image_HasAlpha(*args
, **kwargs
) 
2180     def FindFirstUnusedColour(*args
, **kwargs
): 
2182         FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -> (success, r, g, b) 
2184         Find first colour that is not used in the image and has higher RGB 
2185         values than startR, startG, startB.  Returns a tuple consisting of a 
2186         success flag and rgb values. 
2188         return _core_
.Image_FindFirstUnusedColour(*args
, **kwargs
) 
2190     def ConvertAlphaToMask(*args
, **kwargs
): 
2192         ConvertAlphaToMask(self, byte threshold=128) -> bool 
2194         If the image has alpha channel, this method converts it to mask. All pixels 
2195         with alpha value less than ``threshold`` are replaced with mask colour and the 
2196         alpha channel is removed. Mask colour is chosen automatically using 
2197         `FindFirstUnusedColour`. 
2199         If the image image doesn't have alpha channel, ConvertAlphaToMask does 
2202         return _core_
.Image_ConvertAlphaToMask(*args
, **kwargs
) 
2204     def ConvertColourToAlpha(*args
, **kwargs
): 
2206         ConvertColourToAlpha(self, unsigned char r, unsigned char g, unsigned char b) -> bool 
2208         This method converts an image where the original alpha information is 
2209         only available as a shades of a colour (actually shades of grey) 
2210         typically when you draw anti-aliased text into a bitmap. The DC 
2211         drawing routines draw grey values on the black background although 
2212         they actually mean to draw white with differnt alpha values.  This 
2213         method reverses it, assuming a black (!) background and white text. 
2214         The method will then fill up the whole image with the colour given. 
2216         return _core_
.Image_ConvertColourToAlpha(*args
, **kwargs
) 
2218     def SetMaskFromImage(*args
, **kwargs
): 
2219         """SetMaskFromImage(self, Image mask, byte mr, byte mg, byte mb) -> bool""" 
2220         return _core_
.Image_SetMaskFromImage(*args
, **kwargs
) 
2222     def CanRead(*args
, **kwargs
): 
2223         """CanRead(String name) -> bool""" 
2224         return _core_
.Image_CanRead(*args
, **kwargs
) 
2226     CanRead 
= staticmethod(CanRead
) 
2227     def GetImageCount(*args
, **kwargs
): 
2228         """GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int""" 
2229         return _core_
.Image_GetImageCount(*args
, **kwargs
) 
2231     GetImageCount 
= staticmethod(GetImageCount
) 
2232     def LoadFile(*args
, **kwargs
): 
2233         """LoadFile(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -> bool""" 
2234         return _core_
.Image_LoadFile(*args
, **kwargs
) 
2236     def LoadMimeFile(*args
, **kwargs
): 
2237         """LoadMimeFile(self, String name, String mimetype, int index=-1) -> bool""" 
2238         return _core_
.Image_LoadMimeFile(*args
, **kwargs
) 
2240     def SaveFile(*args
, **kwargs
): 
2241         """SaveFile(self, String name, int type) -> bool""" 
2242         return _core_
.Image_SaveFile(*args
, **kwargs
) 
2244     def SaveMimeFile(*args
, **kwargs
): 
2245         """SaveMimeFile(self, String name, String mimetype) -> bool""" 
2246         return _core_
.Image_SaveMimeFile(*args
, **kwargs
) 
2248     def CanReadStream(*args
, **kwargs
): 
2249         """CanReadStream(InputStream stream) -> bool""" 
2250         return _core_
.Image_CanReadStream(*args
, **kwargs
) 
2252     CanReadStream 
= staticmethod(CanReadStream
) 
2253     def LoadStream(*args
, **kwargs
): 
2254         """LoadStream(self, InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> bool""" 
2255         return _core_
.Image_LoadStream(*args
, **kwargs
) 
2257     def LoadMimeStream(*args
, **kwargs
): 
2258         """LoadMimeStream(self, InputStream stream, String mimetype, int index=-1) -> bool""" 
2259         return _core_
.Image_LoadMimeStream(*args
, **kwargs
) 
2261     def Ok(*args
, **kwargs
): 
2262         """Ok(self) -> bool""" 
2263         return _core_
.Image_Ok(*args
, **kwargs
) 
2265     def GetWidth(*args
, **kwargs
): 
2266         """GetWidth(self) -> int""" 
2267         return _core_
.Image_GetWidth(*args
, **kwargs
) 
2269     def GetHeight(*args
, **kwargs
): 
2270         """GetHeight(self) -> int""" 
2271         return _core_
.Image_GetHeight(*args
, **kwargs
) 
2273     def GetSize(*args
, **kwargs
): 
2274         """GetSize(self) -> Size""" 
2275         return _core_
.Image_GetSize(*args
, **kwargs
) 
2277     def GetSubImage(*args
, **kwargs
): 
2278         """GetSubImage(self, Rect rect) -> Image""" 
2279         return _core_
.Image_GetSubImage(*args
, **kwargs
) 
2281     def Copy(*args
, **kwargs
): 
2282         """Copy(self) -> Image""" 
2283         return _core_
.Image_Copy(*args
, **kwargs
) 
2285     def Paste(*args
, **kwargs
): 
2286         """Paste(self, Image image, int x, int y)""" 
2287         return _core_
.Image_Paste(*args
, **kwargs
) 
2289     def GetData(*args
, **kwargs
): 
2290         """GetData(self) -> PyObject""" 
2291         return _core_
.Image_GetData(*args
, **kwargs
) 
2293     def SetData(*args
, **kwargs
): 
2294         """SetData(self, PyObject data)""" 
2295         return _core_
.Image_SetData(*args
, **kwargs
) 
2297     def GetDataBuffer(*args
, **kwargs
): 
2298         """GetDataBuffer(self) -> PyObject""" 
2299         return _core_
.Image_GetDataBuffer(*args
, **kwargs
) 
2301     def SetDataBuffer(*args
, **kwargs
): 
2302         """SetDataBuffer(self, PyObject data)""" 
2303         return _core_
.Image_SetDataBuffer(*args
, **kwargs
) 
2305     def GetAlphaData(*args
, **kwargs
): 
2306         """GetAlphaData(self) -> PyObject""" 
2307         return _core_
.Image_GetAlphaData(*args
, **kwargs
) 
2309     def SetAlphaData(*args
, **kwargs
): 
2310         """SetAlphaData(self, PyObject data)""" 
2311         return _core_
.Image_SetAlphaData(*args
, **kwargs
) 
2313     def GetAlphaBuffer(*args
, **kwargs
): 
2314         """GetAlphaBuffer(self) -> PyObject""" 
2315         return _core_
.Image_GetAlphaBuffer(*args
, **kwargs
) 
2317     def SetAlphaBuffer(*args
, **kwargs
): 
2318         """SetAlphaBuffer(self, PyObject data)""" 
2319         return _core_
.Image_SetAlphaBuffer(*args
, **kwargs
) 
2321     def SetMaskColour(*args
, **kwargs
): 
2322         """SetMaskColour(self, unsigned char r, unsigned char g, unsigned char b)""" 
2323         return _core_
.Image_SetMaskColour(*args
, **kwargs
) 
2325     def GetMaskRed(*args
, **kwargs
): 
2326         """GetMaskRed(self) -> unsigned char""" 
2327         return _core_
.Image_GetMaskRed(*args
, **kwargs
) 
2329     def GetMaskGreen(*args
, **kwargs
): 
2330         """GetMaskGreen(self) -> unsigned char""" 
2331         return _core_
.Image_GetMaskGreen(*args
, **kwargs
) 
2333     def GetMaskBlue(*args
, **kwargs
): 
2334         """GetMaskBlue(self) -> unsigned char""" 
2335         return _core_
.Image_GetMaskBlue(*args
, **kwargs
) 
2337     def SetMask(*args
, **kwargs
): 
2338         """SetMask(self, bool mask=True)""" 
2339         return _core_
.Image_SetMask(*args
, **kwargs
) 
2341     def HasMask(*args
, **kwargs
): 
2342         """HasMask(self) -> bool""" 
2343         return _core_
.Image_HasMask(*args
, **kwargs
) 
2345     def Rotate(*args
, **kwargs
): 
2347         Rotate(self, double angle, Point centre_of_rotation, bool interpolating=True,  
2348             Point offset_after_rotation=None) -> Image 
2350         return _core_
.Image_Rotate(*args
, **kwargs
) 
2352     def Rotate90(*args
, **kwargs
): 
2353         """Rotate90(self, bool clockwise=True) -> Image""" 
2354         return _core_
.Image_Rotate90(*args
, **kwargs
) 
2356     def Mirror(*args
, **kwargs
): 
2357         """Mirror(self, bool horizontally=True) -> Image""" 
2358         return _core_
.Image_Mirror(*args
, **kwargs
) 
2360     def Replace(*args
, **kwargs
): 
2362         Replace(self, unsigned char r1, unsigned char g1, unsigned char b1,  
2363             unsigned char r2, unsigned char g2, unsigned char b2) 
2365         return _core_
.Image_Replace(*args
, **kwargs
) 
2367     def ConvertToMono(*args
, **kwargs
): 
2368         """ConvertToMono(self, unsigned char r, unsigned char g, unsigned char b) -> Image""" 
2369         return _core_
.Image_ConvertToMono(*args
, **kwargs
) 
2371     def SetOption(*args
, **kwargs
): 
2372         """SetOption(self, String name, String value)""" 
2373         return _core_
.Image_SetOption(*args
, **kwargs
) 
2375     def SetOptionInt(*args
, **kwargs
): 
2376         """SetOptionInt(self, String name, int value)""" 
2377         return _core_
.Image_SetOptionInt(*args
, **kwargs
) 
2379     def GetOption(*args
, **kwargs
): 
2380         """GetOption(self, String name) -> String""" 
2381         return _core_
.Image_GetOption(*args
, **kwargs
) 
2383     def GetOptionInt(*args
, **kwargs
): 
2384         """GetOptionInt(self, String name) -> int""" 
2385         return _core_
.Image_GetOptionInt(*args
, **kwargs
) 
2387     def HasOption(*args
, **kwargs
): 
2388         """HasOption(self, String name) -> bool""" 
2389         return _core_
.Image_HasOption(*args
, **kwargs
) 
2391     def CountColours(*args
, **kwargs
): 
2392         """CountColours(self, unsigned long stopafter=(unsigned long) -1) -> unsigned long""" 
2393         return _core_
.Image_CountColours(*args
, **kwargs
) 
2395     def ComputeHistogram(*args
, **kwargs
): 
2396         """ComputeHistogram(self, ImageHistogram h) -> unsigned long""" 
2397         return _core_
.Image_ComputeHistogram(*args
, **kwargs
) 
2399     def AddHandler(*args
, **kwargs
): 
2400         """AddHandler(ImageHandler handler)""" 
2401         return _core_
.Image_AddHandler(*args
, **kwargs
) 
2403     AddHandler 
= staticmethod(AddHandler
) 
2404     def InsertHandler(*args
, **kwargs
): 
2405         """InsertHandler(ImageHandler handler)""" 
2406         return _core_
.Image_InsertHandler(*args
, **kwargs
) 
2408     InsertHandler 
= staticmethod(InsertHandler
) 
2409     def RemoveHandler(*args
, **kwargs
): 
2410         """RemoveHandler(String name) -> bool""" 
2411         return _core_
.Image_RemoveHandler(*args
, **kwargs
) 
2413     RemoveHandler 
= staticmethod(RemoveHandler
) 
2414     def GetImageExtWildcard(*args
, **kwargs
): 
2415         """GetImageExtWildcard() -> String""" 
2416         return _core_
.Image_GetImageExtWildcard(*args
, **kwargs
) 
2418     GetImageExtWildcard 
= staticmethod(GetImageExtWildcard
) 
2419     def ConvertToBitmap(*args
, **kwargs
): 
2420         """ConvertToBitmap(self, int depth=-1) -> Bitmap""" 
2421         return _core_
.Image_ConvertToBitmap(*args
, **kwargs
) 
2423     def ConvertToMonoBitmap(*args
, **kwargs
): 
2424         """ConvertToMonoBitmap(self, unsigned char red, unsigned char green, unsigned char blue) -> Bitmap""" 
2425         return _core_
.Image_ConvertToMonoBitmap(*args
, **kwargs
) 
2427     def __nonzero__(self
): return self
.Ok()  
2429 class ImagePtr(Image
): 
2430     def __init__(self
, this
): 
2432         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2433         self
.__class
__ = Image
 
2434 _core_
.Image_swigregister(ImagePtr
) 
2436 def ImageFromMime(*args
, **kwargs
): 
2437     """ImageFromMime(String name, String mimetype, int index=-1) -> Image""" 
2438     val 
= _core_
.new_ImageFromMime(*args
, **kwargs
) 
2442 def ImageFromStream(*args
, **kwargs
): 
2443     """ImageFromStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -> Image""" 
2444     val 
= _core_
.new_ImageFromStream(*args
, **kwargs
) 
2448 def ImageFromStreamMime(*args
, **kwargs
): 
2449     """ImageFromStreamMime(InputStream stream, String mimetype, int index=-1) -> Image""" 
2450     val 
= _core_
.new_ImageFromStreamMime(*args
, **kwargs
) 
2454 def EmptyImage(*args
, **kwargs
): 
2455     """EmptyImage(int width=0, int height=0, bool clear=True) -> Image""" 
2456     val 
= _core_
.new_EmptyImage(*args
, **kwargs
) 
2460 def ImageFromBitmap(*args
, **kwargs
): 
2461     """ImageFromBitmap(Bitmap bitmap) -> Image""" 
2462     val 
= _core_
.new_ImageFromBitmap(*args
, **kwargs
) 
2466 def ImageFromData(*args
, **kwargs
): 
2467     """ImageFromData(int width, int height, unsigned char data) -> Image""" 
2468     val 
= _core_
.new_ImageFromData(*args
, **kwargs
) 
2472 def ImageFromDataWithAlpha(*args
, **kwargs
): 
2473     """ImageFromDataWithAlpha(int width, int height, unsigned char data, unsigned char alpha) -> Image""" 
2474     val 
= _core_
.new_ImageFromDataWithAlpha(*args
, **kwargs
) 
2478 def Image_CanRead(*args
, **kwargs
): 
2479     """Image_CanRead(String name) -> bool""" 
2480     return _core_
.Image_CanRead(*args
, **kwargs
) 
2482 def Image_GetImageCount(*args
, **kwargs
): 
2483     """Image_GetImageCount(String name, long type=BITMAP_TYPE_ANY) -> int""" 
2484     return _core_
.Image_GetImageCount(*args
, **kwargs
) 
2486 def Image_CanReadStream(*args
, **kwargs
): 
2487     """Image_CanReadStream(InputStream stream) -> bool""" 
2488     return _core_
.Image_CanReadStream(*args
, **kwargs
) 
2490 def Image_AddHandler(*args
, **kwargs
): 
2491     """Image_AddHandler(ImageHandler handler)""" 
2492     return _core_
.Image_AddHandler(*args
, **kwargs
) 
2494 def Image_InsertHandler(*args
, **kwargs
): 
2495     """Image_InsertHandler(ImageHandler handler)""" 
2496     return _core_
.Image_InsertHandler(*args
, **kwargs
) 
2498 def Image_RemoveHandler(*args
, **kwargs
): 
2499     """Image_RemoveHandler(String name) -> bool""" 
2500     return _core_
.Image_RemoveHandler(*args
, **kwargs
) 
2502 def Image_GetImageExtWildcard(*args
, **kwargs
): 
2503     """Image_GetImageExtWildcard() -> String""" 
2504     return _core_
.Image_GetImageExtWildcard(*args
, **kwargs
) 
2506 def InitAllImageHandlers(): 
2508     The former functionality of InitAllImageHanders is now done internal to 
2509     the _core_ extension module and so this function has become a simple NOP. 
2513 IMAGE_RESOLUTION_INCHES 
= _core_
.IMAGE_RESOLUTION_INCHES
 
2514 IMAGE_RESOLUTION_CM 
= _core_
.IMAGE_RESOLUTION_CM
 
2515 BMP_24BPP 
= _core_
.BMP_24BPP
 
2516 BMP_8BPP 
= _core_
.BMP_8BPP
 
2517 BMP_8BPP_GREY 
= _core_
.BMP_8BPP_GREY
 
2518 BMP_8BPP_GRAY 
= _core_
.BMP_8BPP_GRAY
 
2519 BMP_8BPP_RED 
= _core_
.BMP_8BPP_RED
 
2520 BMP_8BPP_PALETTE 
= _core_
.BMP_8BPP_PALETTE
 
2521 BMP_4BPP 
= _core_
.BMP_4BPP
 
2522 BMP_1BPP 
= _core_
.BMP_1BPP
 
2523 BMP_1BPP_BW 
= _core_
.BMP_1BPP_BW
 
2524 class BMPHandler(ImageHandler
): 
2525     """Proxy of C++ BMPHandler class""" 
2527         return "<%s.%s; proxy of C++ wxBMPHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2528     def __init__(self
, *args
, **kwargs
): 
2529         """__init__(self) -> BMPHandler""" 
2530         newobj 
= _core_
.new_BMPHandler(*args
, **kwargs
) 
2531         self
.this 
= newobj
.this
 
2535 class BMPHandlerPtr(BMPHandler
): 
2536     def __init__(self
, this
): 
2538         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2539         self
.__class
__ = BMPHandler
 
2540 _core_
.BMPHandler_swigregister(BMPHandlerPtr
) 
2541 NullImage 
= cvar
.NullImage
 
2542 IMAGE_OPTION_BMP_FORMAT 
= cvar
.IMAGE_OPTION_BMP_FORMAT
 
2543 IMAGE_OPTION_CUR_HOTSPOT_X 
= cvar
.IMAGE_OPTION_CUR_HOTSPOT_X
 
2544 IMAGE_OPTION_CUR_HOTSPOT_Y 
= cvar
.IMAGE_OPTION_CUR_HOTSPOT_Y
 
2545 IMAGE_OPTION_RESOLUTION 
= cvar
.IMAGE_OPTION_RESOLUTION
 
2546 IMAGE_OPTION_RESOLUTIONUNIT 
= cvar
.IMAGE_OPTION_RESOLUTIONUNIT
 
2548 class ICOHandler(BMPHandler
): 
2549     """Proxy of C++ ICOHandler class""" 
2551         return "<%s.%s; proxy of C++ wxICOHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2552     def __init__(self
, *args
, **kwargs
): 
2553         """__init__(self) -> ICOHandler""" 
2554         newobj 
= _core_
.new_ICOHandler(*args
, **kwargs
) 
2555         self
.this 
= newobj
.this
 
2559 class ICOHandlerPtr(ICOHandler
): 
2560     def __init__(self
, this
): 
2562         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2563         self
.__class
__ = ICOHandler
 
2564 _core_
.ICOHandler_swigregister(ICOHandlerPtr
) 
2566 class CURHandler(ICOHandler
): 
2567     """Proxy of C++ CURHandler class""" 
2569         return "<%s.%s; proxy of C++ wxCURHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2570     def __init__(self
, *args
, **kwargs
): 
2571         """__init__(self) -> CURHandler""" 
2572         newobj 
= _core_
.new_CURHandler(*args
, **kwargs
) 
2573         self
.this 
= newobj
.this
 
2577 class CURHandlerPtr(CURHandler
): 
2578     def __init__(self
, this
): 
2580         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2581         self
.__class
__ = CURHandler
 
2582 _core_
.CURHandler_swigregister(CURHandlerPtr
) 
2584 class ANIHandler(CURHandler
): 
2585     """Proxy of C++ ANIHandler class""" 
2587         return "<%s.%s; proxy of C++ wxANIHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2588     def __init__(self
, *args
, **kwargs
): 
2589         """__init__(self) -> ANIHandler""" 
2590         newobj 
= _core_
.new_ANIHandler(*args
, **kwargs
) 
2591         self
.this 
= newobj
.this
 
2595 class ANIHandlerPtr(ANIHandler
): 
2596     def __init__(self
, this
): 
2598         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2599         self
.__class
__ = ANIHandler
 
2600 _core_
.ANIHandler_swigregister(ANIHandlerPtr
) 
2602 class PNGHandler(ImageHandler
): 
2603     """Proxy of C++ PNGHandler class""" 
2605         return "<%s.%s; proxy of C++ wxPNGHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2606     def __init__(self
, *args
, **kwargs
): 
2607         """__init__(self) -> PNGHandler""" 
2608         newobj 
= _core_
.new_PNGHandler(*args
, **kwargs
) 
2609         self
.this 
= newobj
.this
 
2613 class PNGHandlerPtr(PNGHandler
): 
2614     def __init__(self
, this
): 
2616         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2617         self
.__class
__ = PNGHandler
 
2618 _core_
.PNGHandler_swigregister(PNGHandlerPtr
) 
2620 class GIFHandler(ImageHandler
): 
2621     """Proxy of C++ GIFHandler class""" 
2623         return "<%s.%s; proxy of C++ wxGIFHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2624     def __init__(self
, *args
, **kwargs
): 
2625         """__init__(self) -> GIFHandler""" 
2626         newobj 
= _core_
.new_GIFHandler(*args
, **kwargs
) 
2627         self
.this 
= newobj
.this
 
2631 class GIFHandlerPtr(GIFHandler
): 
2632     def __init__(self
, this
): 
2634         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2635         self
.__class
__ = GIFHandler
 
2636 _core_
.GIFHandler_swigregister(GIFHandlerPtr
) 
2638 class PCXHandler(ImageHandler
): 
2639     """Proxy of C++ PCXHandler class""" 
2641         return "<%s.%s; proxy of C++ wxPCXHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2642     def __init__(self
, *args
, **kwargs
): 
2643         """__init__(self) -> PCXHandler""" 
2644         newobj 
= _core_
.new_PCXHandler(*args
, **kwargs
) 
2645         self
.this 
= newobj
.this
 
2649 class PCXHandlerPtr(PCXHandler
): 
2650     def __init__(self
, this
): 
2652         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2653         self
.__class
__ = PCXHandler
 
2654 _core_
.PCXHandler_swigregister(PCXHandlerPtr
) 
2656 class JPEGHandler(ImageHandler
): 
2657     """Proxy of C++ JPEGHandler class""" 
2659         return "<%s.%s; proxy of C++ wxJPEGHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2660     def __init__(self
, *args
, **kwargs
): 
2661         """__init__(self) -> JPEGHandler""" 
2662         newobj 
= _core_
.new_JPEGHandler(*args
, **kwargs
) 
2663         self
.this 
= newobj
.this
 
2667 class JPEGHandlerPtr(JPEGHandler
): 
2668     def __init__(self
, this
): 
2670         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2671         self
.__class
__ = JPEGHandler
 
2672 _core_
.JPEGHandler_swigregister(JPEGHandlerPtr
) 
2674 class PNMHandler(ImageHandler
): 
2675     """Proxy of C++ PNMHandler class""" 
2677         return "<%s.%s; proxy of C++ wxPNMHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2678     def __init__(self
, *args
, **kwargs
): 
2679         """__init__(self) -> PNMHandler""" 
2680         newobj 
= _core_
.new_PNMHandler(*args
, **kwargs
) 
2681         self
.this 
= newobj
.this
 
2685 class PNMHandlerPtr(PNMHandler
): 
2686     def __init__(self
, this
): 
2688         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2689         self
.__class
__ = PNMHandler
 
2690 _core_
.PNMHandler_swigregister(PNMHandlerPtr
) 
2692 class XPMHandler(ImageHandler
): 
2693     """Proxy of C++ XPMHandler class""" 
2695         return "<%s.%s; proxy of C++ wxXPMHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2696     def __init__(self
, *args
, **kwargs
): 
2697         """__init__(self) -> XPMHandler""" 
2698         newobj 
= _core_
.new_XPMHandler(*args
, **kwargs
) 
2699         self
.this 
= newobj
.this
 
2703 class XPMHandlerPtr(XPMHandler
): 
2704     def __init__(self
, this
): 
2706         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2707         self
.__class
__ = XPMHandler
 
2708 _core_
.XPMHandler_swigregister(XPMHandlerPtr
) 
2710 class TIFFHandler(ImageHandler
): 
2711     """Proxy of C++ TIFFHandler class""" 
2713         return "<%s.%s; proxy of C++ wxTIFFHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2714     def __init__(self
, *args
, **kwargs
): 
2715         """__init__(self) -> TIFFHandler""" 
2716         newobj 
= _core_
.new_TIFFHandler(*args
, **kwargs
) 
2717         self
.this 
= newobj
.this
 
2721 class TIFFHandlerPtr(TIFFHandler
): 
2722     def __init__(self
, this
): 
2724         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2725         self
.__class
__ = TIFFHandler
 
2726 _core_
.TIFFHandler_swigregister(TIFFHandlerPtr
) 
2728 QUANTIZE_INCLUDE_WINDOWS_COLOURS 
= _core_
.QUANTIZE_INCLUDE_WINDOWS_COLOURS
 
2729 QUANTIZE_FILL_DESTINATION_IMAGE 
= _core_
.QUANTIZE_FILL_DESTINATION_IMAGE
 
2730 class Quantize(object): 
2731     """Performs quantization, or colour reduction, on a wxImage.""" 
2732     def __init__(self
): raise RuntimeError, "No constructor defined" 
2734         return "<%s.%s; proxy of C++ wxQuantize instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2735     def Quantize(*args
, **kwargs
): 
2737         Quantize(Image src, Image dest, int desiredNoColours=236, int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE) -> bool 
2739         Reduce the colours in the source image and put the result into the 
2740         destination image, setting the palette in the destination if 
2741         needed. Both images may be the same, to overwrite the source image. 
2743         return _core_
.Quantize_Quantize(*args
, **kwargs
) 
2745     Quantize 
= staticmethod(Quantize
) 
2747 class QuantizePtr(Quantize
): 
2748     def __init__(self
, this
): 
2750         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2751         self
.__class
__ = Quantize
 
2752 _core_
.Quantize_swigregister(QuantizePtr
) 
2754 def Quantize_Quantize(*args
, **kwargs
): 
2756     Quantize_Quantize(Image src, Image dest, int desiredNoColours=236, int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE) -> bool 
2758     Reduce the colours in the source image and put the result into the 
2759     destination image, setting the palette in the destination if 
2760     needed. Both images may be the same, to overwrite the source image. 
2762     return _core_
.Quantize_Quantize(*args
, **kwargs
) 
2764 #--------------------------------------------------------------------------- 
2766 class EvtHandler(Object
): 
2767     """Proxy of C++ EvtHandler class""" 
2769         return "<%s.%s; proxy of C++ wxEvtHandler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
2770     def __init__(self
, *args
, **kwargs
): 
2771         """__init__(self) -> EvtHandler""" 
2772         newobj 
= _core_
.new_EvtHandler(*args
, **kwargs
) 
2773         self
.this 
= newobj
.this
 
2776     def GetNextHandler(*args
, **kwargs
): 
2777         """GetNextHandler(self) -> EvtHandler""" 
2778         return _core_
.EvtHandler_GetNextHandler(*args
, **kwargs
) 
2780     def GetPreviousHandler(*args
, **kwargs
): 
2781         """GetPreviousHandler(self) -> EvtHandler""" 
2782         return _core_
.EvtHandler_GetPreviousHandler(*args
, **kwargs
) 
2784     def SetNextHandler(*args
, **kwargs
): 
2785         """SetNextHandler(self, EvtHandler handler)""" 
2786         return _core_
.EvtHandler_SetNextHandler(*args
, **kwargs
) 
2788     def SetPreviousHandler(*args
, **kwargs
): 
2789         """SetPreviousHandler(self, EvtHandler handler)""" 
2790         return _core_
.EvtHandler_SetPreviousHandler(*args
, **kwargs
) 
2792     def GetEvtHandlerEnabled(*args
, **kwargs
): 
2793         """GetEvtHandlerEnabled(self) -> bool""" 
2794         return _core_
.EvtHandler_GetEvtHandlerEnabled(*args
, **kwargs
) 
2796     def SetEvtHandlerEnabled(*args
, **kwargs
): 
2797         """SetEvtHandlerEnabled(self, bool enabled)""" 
2798         return _core_
.EvtHandler_SetEvtHandlerEnabled(*args
, **kwargs
) 
2800     def ProcessEvent(*args
, **kwargs
): 
2801         """ProcessEvent(self, Event event) -> bool""" 
2802         return _core_
.EvtHandler_ProcessEvent(*args
, **kwargs
) 
2804     def AddPendingEvent(*args
, **kwargs
): 
2805         """AddPendingEvent(self, Event event)""" 
2806         return _core_
.EvtHandler_AddPendingEvent(*args
, **kwargs
) 
2808     def ProcessPendingEvents(*args
, **kwargs
): 
2809         """ProcessPendingEvents(self)""" 
2810         return _core_
.EvtHandler_ProcessPendingEvents(*args
, **kwargs
) 
2812     def Connect(*args
, **kwargs
): 
2813         """Connect(self, int id, int lastId, int eventType, PyObject func)""" 
2814         return _core_
.EvtHandler_Connect(*args
, **kwargs
) 
2816     def Disconnect(*args
, **kwargs
): 
2817         """Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool""" 
2818         return _core_
.EvtHandler_Disconnect(*args
, **kwargs
) 
2820     def _setOORInfo(*args
, **kwargs
): 
2821         """_setOORInfo(self, PyObject _self, bool incref=True)""" 
2822         return _core_
.EvtHandler__setOORInfo(*args
, **kwargs
) 
2824     def Bind(self
, event
, handler
, source
=None, id=wx
.ID_ANY
, id2
=wx
.ID_ANY
): 
2826         Bind an event to an event handler. 
2828         :param event: One of the EVT_* objects that specifies the 
2829                       type of event to bind, 
2831         :param handler: A callable object to be invoked when the 
2832                       event is delivered to self.  Pass None to 
2833                       disconnect an event handler. 
2835         :param source: Sometimes the event originates from a 
2836                       different window than self, but you still 
2837                       want to catch it in self.  (For example, a 
2838                       button event delivered to a frame.)  By 
2839                       passing the source of the event, the event 
2840                       handling system is able to differentiate 
2841                       between the same event type from different 
2844         :param id: Used to spcify the event source by ID instead 
2847         :param id2: Used when it is desirable to bind a handler 
2848                       to a range of IDs, such as with EVT_MENU_RANGE. 
2850         if source 
is not None: 
2852         event
.Bind(self
, id, id2
, handler
)               
2854     def Unbind(self
, event
, source
=None, id=wx
.ID_ANY
, id2
=wx
.ID_ANY
): 
2856         Disconencts the event handler binding for event from self. 
2857         Returns True if successful. 
2859         if source 
is not None: 
2861         return event
.Unbind(self
, id, id2
)               
2864 class EvtHandlerPtr(EvtHandler
): 
2865     def __init__(self
, this
): 
2867         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
2868         self
.__class
__ = EvtHandler
 
2869 _core_
.EvtHandler_swigregister(EvtHandlerPtr
) 
2871 #--------------------------------------------------------------------------- 
2873 class PyEventBinder(object): 
2875     Instances of this class are used to bind specific events to event 
2878     def __init__(self
, evtType
, expectedIDs
=0): 
2879         if expectedIDs 
not in [0, 1, 2]: 
2880             raise ValueError, "Invalid number of expectedIDs" 
2881         self
.expectedIDs 
= expectedIDs
 
2883         if type(evtType
) == list or type(evtType
) == tuple: 
2884             self
.evtType 
= evtType
 
2886             self
.evtType 
= [evtType
] 
2889     def Bind(self
, target
, id1
, id2
, function
): 
2890         """Bind this set of event types to target.""" 
2891         for et 
in self
.evtType
: 
2892             target
.Connect(id1
, id2
, et
, function
) 
2895     def Unbind(self
, target
, id1
, id2
): 
2896         """Remove an event binding.""" 
2898         for et 
in self
.evtType
: 
2899             success 
+= target
.Disconnect(id1
, id2
, et
) 
2903     def __call__(self
, *args
): 
2905         For backwards compatibility with the old EVT_* functions. 
2906         Should be called with either (window, func), (window, ID, 
2907         func) or (window, ID1, ID2, func) parameters depending on the 
2910         assert len(args
) == 2 + self
.expectedIDs
 
2914         if self
.expectedIDs 
== 0: 
2916         elif self
.expectedIDs 
== 1: 
2919         elif self
.expectedIDs 
== 2: 
2924             raise ValueError, "Unexpected number of IDs" 
2926         self
.Bind(target
, id1
, id2
, func
) 
2929 # These two are square pegs that don't fit the PyEventBinder hole... 
2930 def EVT_COMMAND(win
, id, cmd
, func
): 
2931     win
.Connect(id, -1, cmd
, func
) 
2932 def EVT_COMMAND_RANGE(win
, id1
, id2
, cmd
, func
): 
2933     win
.Connect(id1
, id2
, cmd
, func
) 
2936 #--------------------------------------------------------------------------- 
2938 #--------------------------------------------------------------------------- 
2940 EVENT_PROPAGATE_NONE 
= _core_
.EVENT_PROPAGATE_NONE
 
2941 EVENT_PROPAGATE_MAX 
= _core_
.EVENT_PROPAGATE_MAX
 
2943 def NewEventType(*args
, **kwargs
): 
2944     """NewEventType() -> wxEventType""" 
2945     return _core_
.NewEventType(*args
, **kwargs
) 
2946 wxEVT_NULL 
= _core_
.wxEVT_NULL
 
2947 wxEVT_FIRST 
= _core_
.wxEVT_FIRST
 
2948 wxEVT_USER_FIRST 
= _core_
.wxEVT_USER_FIRST
 
2949 wxEVT_COMMAND_BUTTON_CLICKED 
= _core_
.wxEVT_COMMAND_BUTTON_CLICKED
 
2950 wxEVT_COMMAND_CHECKBOX_CLICKED 
= _core_
.wxEVT_COMMAND_CHECKBOX_CLICKED
 
2951 wxEVT_COMMAND_CHOICE_SELECTED 
= _core_
.wxEVT_COMMAND_CHOICE_SELECTED
 
2952 wxEVT_COMMAND_LISTBOX_SELECTED 
= _core_
.wxEVT_COMMAND_LISTBOX_SELECTED
 
2953 wxEVT_COMMAND_LISTBOX_DOUBLECLICKED 
= _core_
.wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
 
2954 wxEVT_COMMAND_CHECKLISTBOX_TOGGLED 
= _core_
.wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
 
2955 wxEVT_COMMAND_MENU_SELECTED 
= _core_
.wxEVT_COMMAND_MENU_SELECTED
 
2956 wxEVT_COMMAND_TOOL_CLICKED 
= _core_
.wxEVT_COMMAND_TOOL_CLICKED
 
2957 wxEVT_COMMAND_SLIDER_UPDATED 
= _core_
.wxEVT_COMMAND_SLIDER_UPDATED
 
2958 wxEVT_COMMAND_RADIOBOX_SELECTED 
= _core_
.wxEVT_COMMAND_RADIOBOX_SELECTED
 
2959 wxEVT_COMMAND_RADIOBUTTON_SELECTED 
= _core_
.wxEVT_COMMAND_RADIOBUTTON_SELECTED
 
2960 wxEVT_COMMAND_SCROLLBAR_UPDATED 
= _core_
.wxEVT_COMMAND_SCROLLBAR_UPDATED
 
2961 wxEVT_COMMAND_VLBOX_SELECTED 
= _core_
.wxEVT_COMMAND_VLBOX_SELECTED
 
2962 wxEVT_COMMAND_COMBOBOX_SELECTED 
= _core_
.wxEVT_COMMAND_COMBOBOX_SELECTED
 
2963 wxEVT_COMMAND_TOOL_RCLICKED 
= _core_
.wxEVT_COMMAND_TOOL_RCLICKED
 
2964 wxEVT_COMMAND_TOOL_ENTER 
= _core_
.wxEVT_COMMAND_TOOL_ENTER
 
2965 wxEVT_LEFT_DOWN 
= _core_
.wxEVT_LEFT_DOWN
 
2966 wxEVT_LEFT_UP 
= _core_
.wxEVT_LEFT_UP
 
2967 wxEVT_MIDDLE_DOWN 
= _core_
.wxEVT_MIDDLE_DOWN
 
2968 wxEVT_MIDDLE_UP 
= _core_
.wxEVT_MIDDLE_UP
 
2969 wxEVT_RIGHT_DOWN 
= _core_
.wxEVT_RIGHT_DOWN
 
2970 wxEVT_RIGHT_UP 
= _core_
.wxEVT_RIGHT_UP
 
2971 wxEVT_MOTION 
= _core_
.wxEVT_MOTION
 
2972 wxEVT_ENTER_WINDOW 
= _core_
.wxEVT_ENTER_WINDOW
 
2973 wxEVT_LEAVE_WINDOW 
= _core_
.wxEVT_LEAVE_WINDOW
 
2974 wxEVT_LEFT_DCLICK 
= _core_
.wxEVT_LEFT_DCLICK
 
2975 wxEVT_MIDDLE_DCLICK 
= _core_
.wxEVT_MIDDLE_DCLICK
 
2976 wxEVT_RIGHT_DCLICK 
= _core_
.wxEVT_RIGHT_DCLICK
 
2977 wxEVT_SET_FOCUS 
= _core_
.wxEVT_SET_FOCUS
 
2978 wxEVT_KILL_FOCUS 
= _core_
.wxEVT_KILL_FOCUS
 
2979 wxEVT_CHILD_FOCUS 
= _core_
.wxEVT_CHILD_FOCUS
 
2980 wxEVT_MOUSEWHEEL 
= _core_
.wxEVT_MOUSEWHEEL
 
2981 wxEVT_NC_LEFT_DOWN 
= _core_
.wxEVT_NC_LEFT_DOWN
 
2982 wxEVT_NC_LEFT_UP 
= _core_
.wxEVT_NC_LEFT_UP
 
2983 wxEVT_NC_MIDDLE_DOWN 
= _core_
.wxEVT_NC_MIDDLE_DOWN
 
2984 wxEVT_NC_MIDDLE_UP 
= _core_
.wxEVT_NC_MIDDLE_UP
 
2985 wxEVT_NC_RIGHT_DOWN 
= _core_
.wxEVT_NC_RIGHT_DOWN
 
2986 wxEVT_NC_RIGHT_UP 
= _core_
.wxEVT_NC_RIGHT_UP
 
2987 wxEVT_NC_MOTION 
= _core_
.wxEVT_NC_MOTION
 
2988 wxEVT_NC_ENTER_WINDOW 
= _core_
.wxEVT_NC_ENTER_WINDOW
 
2989 wxEVT_NC_LEAVE_WINDOW 
= _core_
.wxEVT_NC_LEAVE_WINDOW
 
2990 wxEVT_NC_LEFT_DCLICK 
= _core_
.wxEVT_NC_LEFT_DCLICK
 
2991 wxEVT_NC_MIDDLE_DCLICK 
= _core_
.wxEVT_NC_MIDDLE_DCLICK
 
2992 wxEVT_NC_RIGHT_DCLICK 
= _core_
.wxEVT_NC_RIGHT_DCLICK
 
2993 wxEVT_CHAR 
= _core_
.wxEVT_CHAR
 
2994 wxEVT_CHAR_HOOK 
= _core_
.wxEVT_CHAR_HOOK
 
2995 wxEVT_NAVIGATION_KEY 
= _core_
.wxEVT_NAVIGATION_KEY
 
2996 wxEVT_KEY_DOWN 
= _core_
.wxEVT_KEY_DOWN
 
2997 wxEVT_KEY_UP 
= _core_
.wxEVT_KEY_UP
 
2998 wxEVT_HOTKEY 
= _core_
.wxEVT_HOTKEY
 
2999 wxEVT_SET_CURSOR 
= _core_
.wxEVT_SET_CURSOR
 
3000 wxEVT_SCROLL_TOP 
= _core_
.wxEVT_SCROLL_TOP
 
3001 wxEVT_SCROLL_BOTTOM 
= _core_
.wxEVT_SCROLL_BOTTOM
 
3002 wxEVT_SCROLL_LINEUP 
= _core_
.wxEVT_SCROLL_LINEUP
 
3003 wxEVT_SCROLL_LINEDOWN 
= _core_
.wxEVT_SCROLL_LINEDOWN
 
3004 wxEVT_SCROLL_PAGEUP 
= _core_
.wxEVT_SCROLL_PAGEUP
 
3005 wxEVT_SCROLL_PAGEDOWN 
= _core_
.wxEVT_SCROLL_PAGEDOWN
 
3006 wxEVT_SCROLL_THUMBTRACK 
= _core_
.wxEVT_SCROLL_THUMBTRACK
 
3007 wxEVT_SCROLL_THUMBRELEASE 
= _core_
.wxEVT_SCROLL_THUMBRELEASE
 
3008 wxEVT_SCROLL_ENDSCROLL 
= _core_
.wxEVT_SCROLL_ENDSCROLL
 
3009 wxEVT_SCROLLWIN_TOP 
= _core_
.wxEVT_SCROLLWIN_TOP
 
3010 wxEVT_SCROLLWIN_BOTTOM 
= _core_
.wxEVT_SCROLLWIN_BOTTOM
 
3011 wxEVT_SCROLLWIN_LINEUP 
= _core_
.wxEVT_SCROLLWIN_LINEUP
 
3012 wxEVT_SCROLLWIN_LINEDOWN 
= _core_
.wxEVT_SCROLLWIN_LINEDOWN
 
3013 wxEVT_SCROLLWIN_PAGEUP 
= _core_
.wxEVT_SCROLLWIN_PAGEUP
 
3014 wxEVT_SCROLLWIN_PAGEDOWN 
= _core_
.wxEVT_SCROLLWIN_PAGEDOWN
 
3015 wxEVT_SCROLLWIN_THUMBTRACK 
= _core_
.wxEVT_SCROLLWIN_THUMBTRACK
 
3016 wxEVT_SCROLLWIN_THUMBRELEASE 
= _core_
.wxEVT_SCROLLWIN_THUMBRELEASE
 
3017 wxEVT_SIZE 
= _core_
.wxEVT_SIZE
 
3018 wxEVT_MOVE 
= _core_
.wxEVT_MOVE
 
3019 wxEVT_CLOSE_WINDOW 
= _core_
.wxEVT_CLOSE_WINDOW
 
3020 wxEVT_END_SESSION 
= _core_
.wxEVT_END_SESSION
 
3021 wxEVT_QUERY_END_SESSION 
= _core_
.wxEVT_QUERY_END_SESSION
 
3022 wxEVT_ACTIVATE_APP 
= _core_
.wxEVT_ACTIVATE_APP
 
3023 wxEVT_POWER 
= _core_
.wxEVT_POWER
 
3024 wxEVT_ACTIVATE 
= _core_
.wxEVT_ACTIVATE
 
3025 wxEVT_CREATE 
= _core_
.wxEVT_CREATE
 
3026 wxEVT_DESTROY 
= _core_
.wxEVT_DESTROY
 
3027 wxEVT_SHOW 
= _core_
.wxEVT_SHOW
 
3028 wxEVT_ICONIZE 
= _core_
.wxEVT_ICONIZE
 
3029 wxEVT_MAXIMIZE 
= _core_
.wxEVT_MAXIMIZE
 
3030 wxEVT_MOUSE_CAPTURE_CHANGED 
= _core_
.wxEVT_MOUSE_CAPTURE_CHANGED
 
3031 wxEVT_PAINT 
= _core_
.wxEVT_PAINT
 
3032 wxEVT_ERASE_BACKGROUND 
= _core_
.wxEVT_ERASE_BACKGROUND
 
3033 wxEVT_NC_PAINT 
= _core_
.wxEVT_NC_PAINT
 
3034 wxEVT_PAINT_ICON 
= _core_
.wxEVT_PAINT_ICON
 
3035 wxEVT_MENU_OPEN 
= _core_
.wxEVT_MENU_OPEN
 
3036 wxEVT_MENU_CLOSE 
= _core_
.wxEVT_MENU_CLOSE
 
3037 wxEVT_MENU_HIGHLIGHT 
= _core_
.wxEVT_MENU_HIGHLIGHT
 
3038 wxEVT_CONTEXT_MENU 
= _core_
.wxEVT_CONTEXT_MENU
 
3039 wxEVT_SYS_COLOUR_CHANGED 
= _core_
.wxEVT_SYS_COLOUR_CHANGED
 
3040 wxEVT_DISPLAY_CHANGED 
= _core_
.wxEVT_DISPLAY_CHANGED
 
3041 wxEVT_SETTING_CHANGED 
= _core_
.wxEVT_SETTING_CHANGED
 
3042 wxEVT_QUERY_NEW_PALETTE 
= _core_
.wxEVT_QUERY_NEW_PALETTE
 
3043 wxEVT_PALETTE_CHANGED 
= _core_
.wxEVT_PALETTE_CHANGED
 
3044 wxEVT_DROP_FILES 
= _core_
.wxEVT_DROP_FILES
 
3045 wxEVT_DRAW_ITEM 
= _core_
.wxEVT_DRAW_ITEM
 
3046 wxEVT_MEASURE_ITEM 
= _core_
.wxEVT_MEASURE_ITEM
 
3047 wxEVT_COMPARE_ITEM 
= _core_
.wxEVT_COMPARE_ITEM
 
3048 wxEVT_INIT_DIALOG 
= _core_
.wxEVT_INIT_DIALOG
 
3049 wxEVT_IDLE 
= _core_
.wxEVT_IDLE
 
3050 wxEVT_UPDATE_UI 
= _core_
.wxEVT_UPDATE_UI
 
3051 wxEVT_SIZING 
= _core_
.wxEVT_SIZING
 
3052 wxEVT_MOVING 
= _core_
.wxEVT_MOVING
 
3053 wxEVT_COMMAND_LEFT_CLICK 
= _core_
.wxEVT_COMMAND_LEFT_CLICK
 
3054 wxEVT_COMMAND_LEFT_DCLICK 
= _core_
.wxEVT_COMMAND_LEFT_DCLICK
 
3055 wxEVT_COMMAND_RIGHT_CLICK 
= _core_
.wxEVT_COMMAND_RIGHT_CLICK
 
3056 wxEVT_COMMAND_RIGHT_DCLICK 
= _core_
.wxEVT_COMMAND_RIGHT_DCLICK
 
3057 wxEVT_COMMAND_SET_FOCUS 
= _core_
.wxEVT_COMMAND_SET_FOCUS
 
3058 wxEVT_COMMAND_KILL_FOCUS 
= _core_
.wxEVT_COMMAND_KILL_FOCUS
 
3059 wxEVT_COMMAND_ENTER 
= _core_
.wxEVT_COMMAND_ENTER
 
3061 # Create some event binders 
3062 EVT_SIZE 
= wx
.PyEventBinder( wxEVT_SIZE 
) 
3063 EVT_SIZING 
= wx
.PyEventBinder( wxEVT_SIZING 
) 
3064 EVT_MOVE 
= wx
.PyEventBinder( wxEVT_MOVE 
) 
3065 EVT_MOVING 
= wx
.PyEventBinder( wxEVT_MOVING 
) 
3066 EVT_CLOSE 
= wx
.PyEventBinder( wxEVT_CLOSE_WINDOW 
) 
3067 EVT_END_SESSION 
= wx
.PyEventBinder( wxEVT_END_SESSION 
) 
3068 EVT_QUERY_END_SESSION 
= wx
.PyEventBinder( wxEVT_QUERY_END_SESSION 
) 
3069 EVT_PAINT 
= wx
.PyEventBinder( wxEVT_PAINT 
) 
3070 EVT_NC_PAINT 
= wx
.PyEventBinder( wxEVT_NC_PAINT 
) 
3071 EVT_ERASE_BACKGROUND 
= wx
.PyEventBinder( wxEVT_ERASE_BACKGROUND 
) 
3072 EVT_CHAR 
= wx
.PyEventBinder( wxEVT_CHAR 
) 
3073 EVT_KEY_DOWN 
= wx
.PyEventBinder( wxEVT_KEY_DOWN 
) 
3074 EVT_KEY_UP 
= wx
.PyEventBinder( wxEVT_KEY_UP 
) 
3075 EVT_HOTKEY 
= wx
.PyEventBinder( wxEVT_HOTKEY
, 1)  
3076 EVT_CHAR_HOOK 
= wx
.PyEventBinder( wxEVT_CHAR_HOOK 
) 
3077 EVT_MENU_OPEN 
= wx
.PyEventBinder( wxEVT_MENU_OPEN 
) 
3078 EVT_MENU_CLOSE 
= wx
.PyEventBinder( wxEVT_MENU_CLOSE 
) 
3079 EVT_MENU_HIGHLIGHT 
= wx
.PyEventBinder( wxEVT_MENU_HIGHLIGHT
, 1) 
3080 EVT_MENU_HIGHLIGHT_ALL 
= wx
.PyEventBinder( wxEVT_MENU_HIGHLIGHT 
) 
3081 EVT_SET_FOCUS 
= wx
.PyEventBinder( wxEVT_SET_FOCUS 
) 
3082 EVT_KILL_FOCUS 
= wx
.PyEventBinder( wxEVT_KILL_FOCUS 
) 
3083 EVT_CHILD_FOCUS 
= wx
.PyEventBinder( wxEVT_CHILD_FOCUS 
) 
3084 EVT_ACTIVATE 
= wx
.PyEventBinder( wxEVT_ACTIVATE 
) 
3085 EVT_ACTIVATE_APP 
= wx
.PyEventBinder( wxEVT_ACTIVATE_APP 
) 
3086 EVT_END_SESSION 
= wx
.PyEventBinder( wxEVT_END_SESSION 
) 
3087 EVT_QUERY_END_SESSION 
= wx
.PyEventBinder( wxEVT_QUERY_END_SESSION 
) 
3088 EVT_DROP_FILES 
= wx
.PyEventBinder( wxEVT_DROP_FILES 
) 
3089 EVT_INIT_DIALOG 
= wx
.PyEventBinder( wxEVT_INIT_DIALOG 
) 
3090 EVT_SYS_COLOUR_CHANGED 
= wx
.PyEventBinder( wxEVT_SYS_COLOUR_CHANGED 
) 
3091 EVT_DISPLAY_CHANGED 
= wx
.PyEventBinder( wxEVT_DISPLAY_CHANGED 
) 
3092 EVT_SHOW 
= wx
.PyEventBinder( wxEVT_SHOW 
) 
3093 EVT_MAXIMIZE 
= wx
.PyEventBinder( wxEVT_MAXIMIZE 
) 
3094 EVT_ICONIZE 
= wx
.PyEventBinder( wxEVT_ICONIZE 
) 
3095 EVT_NAVIGATION_KEY 
= wx
.PyEventBinder( wxEVT_NAVIGATION_KEY 
) 
3096 EVT_PALETTE_CHANGED 
= wx
.PyEventBinder( wxEVT_PALETTE_CHANGED 
) 
3097 EVT_QUERY_NEW_PALETTE 
= wx
.PyEventBinder( wxEVT_QUERY_NEW_PALETTE 
) 
3098 EVT_WINDOW_CREATE 
= wx
.PyEventBinder( wxEVT_CREATE 
) 
3099 EVT_WINDOW_DESTROY 
= wx
.PyEventBinder( wxEVT_DESTROY 
) 
3100 EVT_SET_CURSOR 
= wx
.PyEventBinder( wxEVT_SET_CURSOR 
) 
3101 EVT_MOUSE_CAPTURE_CHANGED 
= wx
.PyEventBinder( wxEVT_MOUSE_CAPTURE_CHANGED 
) 
3103 EVT_LEFT_DOWN 
= wx
.PyEventBinder( wxEVT_LEFT_DOWN 
) 
3104 EVT_LEFT_UP 
= wx
.PyEventBinder( wxEVT_LEFT_UP 
) 
3105 EVT_MIDDLE_DOWN 
= wx
.PyEventBinder( wxEVT_MIDDLE_DOWN 
) 
3106 EVT_MIDDLE_UP 
= wx
.PyEventBinder( wxEVT_MIDDLE_UP 
) 
3107 EVT_RIGHT_DOWN 
= wx
.PyEventBinder( wxEVT_RIGHT_DOWN 
) 
3108 EVT_RIGHT_UP 
= wx
.PyEventBinder( wxEVT_RIGHT_UP 
) 
3109 EVT_MOTION 
= wx
.PyEventBinder( wxEVT_MOTION 
) 
3110 EVT_LEFT_DCLICK 
= wx
.PyEventBinder( wxEVT_LEFT_DCLICK 
) 
3111 EVT_MIDDLE_DCLICK 
= wx
.PyEventBinder( wxEVT_MIDDLE_DCLICK 
) 
3112 EVT_RIGHT_DCLICK 
= wx
.PyEventBinder( wxEVT_RIGHT_DCLICK 
) 
3113 EVT_LEAVE_WINDOW 
= wx
.PyEventBinder( wxEVT_LEAVE_WINDOW 
) 
3114 EVT_ENTER_WINDOW 
= wx
.PyEventBinder( wxEVT_ENTER_WINDOW 
) 
3115 EVT_MOUSEWHEEL 
= wx
.PyEventBinder( wxEVT_MOUSEWHEEL 
) 
3117 EVT_MOUSE_EVENTS 
= wx
.PyEventBinder([ wxEVT_LEFT_DOWN
, 
3125                                      wxEVT_MIDDLE_DCLICK
, 
3133 # Scrolling from wxWindow (sent to wxScrolledWindow) 
3134 EVT_SCROLLWIN 
= wx
.PyEventBinder([ wxEVT_SCROLLWIN_TOP
,  
3135                                   wxEVT_SCROLLWIN_BOTTOM
, 
3136                                   wxEVT_SCROLLWIN_LINEUP
, 
3137                                   wxEVT_SCROLLWIN_LINEDOWN
, 
3138                                   wxEVT_SCROLLWIN_PAGEUP
,  
3139                                   wxEVT_SCROLLWIN_PAGEDOWN
, 
3140                                   wxEVT_SCROLLWIN_THUMBTRACK
, 
3141                                   wxEVT_SCROLLWIN_THUMBRELEASE
, 
3144 EVT_SCROLLWIN_TOP 
= wx
.PyEventBinder( wxEVT_SCROLLWIN_TOP 
) 
3145 EVT_SCROLLWIN_BOTTOM 
= wx
.PyEventBinder( wxEVT_SCROLLWIN_BOTTOM 
) 
3146 EVT_SCROLLWIN_LINEUP 
= wx
.PyEventBinder( wxEVT_SCROLLWIN_LINEUP 
) 
3147 EVT_SCROLLWIN_LINEDOWN 
= wx
.PyEventBinder( wxEVT_SCROLLWIN_LINEDOWN 
) 
3148 EVT_SCROLLWIN_PAGEUP 
= wx
.PyEventBinder( wxEVT_SCROLLWIN_PAGEUP 
) 
3149 EVT_SCROLLWIN_PAGEDOWN 
= wx
.PyEventBinder( wxEVT_SCROLLWIN_PAGEDOWN 
) 
3150 EVT_SCROLLWIN_THUMBTRACK 
= wx
.PyEventBinder( wxEVT_SCROLLWIN_THUMBTRACK 
) 
3151 EVT_SCROLLWIN_THUMBRELEASE 
= wx
.PyEventBinder( wxEVT_SCROLLWIN_THUMBRELEASE 
) 
3153 # Scrolling from wxSlider and wxScrollBar 
3154 EVT_SCROLL 
= wx
.PyEventBinder([ wxEVT_SCROLL_TOP
,  
3155                                wxEVT_SCROLL_BOTTOM
,  
3156                                wxEVT_SCROLL_LINEUP
,  
3157                                wxEVT_SCROLL_LINEDOWN
,  
3158                                wxEVT_SCROLL_PAGEUP
,  
3159                                wxEVT_SCROLL_PAGEDOWN
,  
3160                                wxEVT_SCROLL_THUMBTRACK
,  
3161                                wxEVT_SCROLL_THUMBRELEASE
,  
3162                                wxEVT_SCROLL_ENDSCROLL
, 
3165 EVT_SCROLL_TOP 
= wx
.PyEventBinder( wxEVT_SCROLL_TOP 
) 
3166 EVT_SCROLL_BOTTOM 
= wx
.PyEventBinder( wxEVT_SCROLL_BOTTOM 
) 
3167 EVT_SCROLL_LINEUP 
= wx
.PyEventBinder( wxEVT_SCROLL_LINEUP 
) 
3168 EVT_SCROLL_LINEDOWN 
= wx
.PyEventBinder( wxEVT_SCROLL_LINEDOWN 
) 
3169 EVT_SCROLL_PAGEUP 
= wx
.PyEventBinder( wxEVT_SCROLL_PAGEUP 
) 
3170 EVT_SCROLL_PAGEDOWN 
= wx
.PyEventBinder( wxEVT_SCROLL_PAGEDOWN 
) 
3171 EVT_SCROLL_THUMBTRACK 
= wx
.PyEventBinder( wxEVT_SCROLL_THUMBTRACK 
) 
3172 EVT_SCROLL_THUMBRELEASE 
= wx
.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE 
) 
3173 EVT_SCROLL_ENDSCROLL 
= wx
.PyEventBinder( wxEVT_SCROLL_ENDSCROLL 
) 
3175 # Scrolling from wxSlider and wxScrollBar, with an id 
3176 EVT_COMMAND_SCROLL 
= wx
.PyEventBinder([ wxEVT_SCROLL_TOP
,  
3177                                        wxEVT_SCROLL_BOTTOM
,  
3178                                        wxEVT_SCROLL_LINEUP
,  
3179                                        wxEVT_SCROLL_LINEDOWN
,  
3180                                        wxEVT_SCROLL_PAGEUP
,  
3181                                        wxEVT_SCROLL_PAGEDOWN
,  
3182                                        wxEVT_SCROLL_THUMBTRACK
,  
3183                                        wxEVT_SCROLL_THUMBRELEASE
, 
3184                                        wxEVT_SCROLL_ENDSCROLL
, 
3187 EVT_COMMAND_SCROLL_TOP 
= wx
.PyEventBinder( wxEVT_SCROLL_TOP
, 1) 
3188 EVT_COMMAND_SCROLL_BOTTOM 
= wx
.PyEventBinder( wxEVT_SCROLL_BOTTOM
, 1) 
3189 EVT_COMMAND_SCROLL_LINEUP 
= wx
.PyEventBinder( wxEVT_SCROLL_LINEUP
, 1) 
3190 EVT_COMMAND_SCROLL_LINEDOWN 
= wx
.PyEventBinder( wxEVT_SCROLL_LINEDOWN
, 1) 
3191 EVT_COMMAND_SCROLL_PAGEUP 
= wx
.PyEventBinder( wxEVT_SCROLL_PAGEUP
, 1) 
3192 EVT_COMMAND_SCROLL_PAGEDOWN 
= wx
.PyEventBinder( wxEVT_SCROLL_PAGEDOWN
, 1) 
3193 EVT_COMMAND_SCROLL_THUMBTRACK 
= wx
.PyEventBinder( wxEVT_SCROLL_THUMBTRACK
, 1) 
3194 EVT_COMMAND_SCROLL_THUMBRELEASE 
= wx
.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE
, 1) 
3195 EVT_COMMAND_SCROLL_ENDSCROLL 
= wx
.PyEventBinder( wxEVT_SCROLL_ENDSCROLL
, 1) 
3197 EVT_BUTTON 
= wx
.PyEventBinder( wxEVT_COMMAND_BUTTON_CLICKED
, 1) 
3198 EVT_CHECKBOX 
= wx
.PyEventBinder( wxEVT_COMMAND_CHECKBOX_CLICKED
, 1) 
3199 EVT_CHOICE 
= wx
.PyEventBinder( wxEVT_COMMAND_CHOICE_SELECTED
, 1) 
3200 EVT_LISTBOX 
= wx
.PyEventBinder( wxEVT_COMMAND_LISTBOX_SELECTED
, 1) 
3201 EVT_LISTBOX_DCLICK 
= wx
.PyEventBinder( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 1) 
3202 EVT_MENU 
= wx
.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED
, 1) 
3203 EVT_MENU_RANGE 
= wx
.PyEventBinder( wxEVT_COMMAND_MENU_SELECTED
, 2) 
3204 EVT_SLIDER 
= wx
.PyEventBinder( wxEVT_COMMAND_SLIDER_UPDATED
, 1) 
3205 EVT_RADIOBOX 
= wx
.PyEventBinder( wxEVT_COMMAND_RADIOBOX_SELECTED
, 1) 
3206 EVT_RADIOBUTTON 
= wx
.PyEventBinder( wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 1) 
3208 EVT_SCROLLBAR 
= wx
.PyEventBinder( wxEVT_COMMAND_SCROLLBAR_UPDATED
, 1) 
3209 EVT_VLBOX 
= wx
.PyEventBinder( wxEVT_COMMAND_VLBOX_SELECTED
, 1) 
3210 EVT_COMBOBOX 
= wx
.PyEventBinder( wxEVT_COMMAND_COMBOBOX_SELECTED
, 1) 
3211 EVT_TOOL 
= wx
.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED
, 1) 
3212 EVT_TOOL_RANGE 
= wx
.PyEventBinder( wxEVT_COMMAND_TOOL_CLICKED
, 2) 
3213 EVT_TOOL_RCLICKED 
= wx
.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED
, 1) 
3214 EVT_TOOL_RCLICKED_RANGE 
= wx
.PyEventBinder( wxEVT_COMMAND_TOOL_RCLICKED
, 2) 
3215 EVT_TOOL_ENTER 
= wx
.PyEventBinder( wxEVT_COMMAND_TOOL_ENTER
, 1) 
3216 EVT_CHECKLISTBOX 
= wx
.PyEventBinder( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 1) 
3219 EVT_COMMAND_LEFT_CLICK 
= wx
.PyEventBinder( wxEVT_COMMAND_LEFT_CLICK
, 1) 
3220 EVT_COMMAND_LEFT_DCLICK 
= wx
.PyEventBinder( wxEVT_COMMAND_LEFT_DCLICK
, 1) 
3221 EVT_COMMAND_RIGHT_CLICK 
= wx
.PyEventBinder( wxEVT_COMMAND_RIGHT_CLICK
, 1) 
3222 EVT_COMMAND_RIGHT_DCLICK 
= wx
.PyEventBinder( wxEVT_COMMAND_RIGHT_DCLICK
, 1) 
3223 EVT_COMMAND_SET_FOCUS 
= wx
.PyEventBinder( wxEVT_COMMAND_SET_FOCUS
, 1) 
3224 EVT_COMMAND_KILL_FOCUS 
= wx
.PyEventBinder( wxEVT_COMMAND_KILL_FOCUS
, 1) 
3225 EVT_COMMAND_ENTER 
= wx
.PyEventBinder( wxEVT_COMMAND_ENTER
, 1) 
3227 EVT_IDLE 
= wx
.PyEventBinder( wxEVT_IDLE 
) 
3229 EVT_UPDATE_UI 
= wx
.PyEventBinder( wxEVT_UPDATE_UI
, 1) 
3230 EVT_UPDATE_UI_RANGE 
= wx
.PyEventBinder( wxEVT_UPDATE_UI
, 2) 
3232 EVT_CONTEXT_MENU 
= wx
.PyEventBinder( wxEVT_CONTEXT_MENU 
) 
3236 #--------------------------------------------------------------------------- 
3238 class Event(Object
): 
3239     """Proxy of C++ Event class""" 
3240     def __init__(self
): raise RuntimeError, "No constructor defined" 
3242         return "<%s.%s; proxy of C++ wxEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3243     def __del__(self
, destroy
=_core_
.delete_Event
): 
3246             if self
.thisown
: destroy(self
) 
3249     def SetEventType(*args
, **kwargs
): 
3250         """SetEventType(self, wxEventType typ)""" 
3251         return _core_
.Event_SetEventType(*args
, **kwargs
) 
3253     def GetEventType(*args
, **kwargs
): 
3254         """GetEventType(self) -> wxEventType""" 
3255         return _core_
.Event_GetEventType(*args
, **kwargs
) 
3257     def GetEventObject(*args
, **kwargs
): 
3258         """GetEventObject(self) -> Object""" 
3259         return _core_
.Event_GetEventObject(*args
, **kwargs
) 
3261     def SetEventObject(*args
, **kwargs
): 
3262         """SetEventObject(self, Object obj)""" 
3263         return _core_
.Event_SetEventObject(*args
, **kwargs
) 
3265     def GetTimestamp(*args
, **kwargs
): 
3266         """GetTimestamp(self) -> long""" 
3267         return _core_
.Event_GetTimestamp(*args
, **kwargs
) 
3269     def SetTimestamp(*args
, **kwargs
): 
3270         """SetTimestamp(self, long ts=0)""" 
3271         return _core_
.Event_SetTimestamp(*args
, **kwargs
) 
3273     def GetId(*args
, **kwargs
): 
3274         """GetId(self) -> int""" 
3275         return _core_
.Event_GetId(*args
, **kwargs
) 
3277     def SetId(*args
, **kwargs
): 
3278         """SetId(self, int Id)""" 
3279         return _core_
.Event_SetId(*args
, **kwargs
) 
3281     def IsCommandEvent(*args
, **kwargs
): 
3282         """IsCommandEvent(self) -> bool""" 
3283         return _core_
.Event_IsCommandEvent(*args
, **kwargs
) 
3285     def Skip(*args
, **kwargs
): 
3287         Skip(self, bool skip=True) 
3289         Called by an event handler, it controls whether additional event 
3290         handlers bound to this event will be called after the current event 
3291         handler returns.  Skip(false) (the default setting) will prevent 
3292         additional event handlers from being called and control will be 
3293         returned to the sender of the event immediately after the current 
3294         handler has finished.  Skip(True) will cause the event processing 
3295         system to continue searching for a handler function for this event. 
3298         return _core_
.Event_Skip(*args
, **kwargs
) 
3300     def GetSkipped(*args
, **kwargs
): 
3301         """GetSkipped(self) -> bool""" 
3302         return _core_
.Event_GetSkipped(*args
, **kwargs
) 
3304     def ShouldPropagate(*args
, **kwargs
): 
3305         """ShouldPropagate(self) -> bool""" 
3306         return _core_
.Event_ShouldPropagate(*args
, **kwargs
) 
3308     def StopPropagation(*args
, **kwargs
): 
3309         """StopPropagation(self) -> int""" 
3310         return _core_
.Event_StopPropagation(*args
, **kwargs
) 
3312     def ResumePropagation(*args
, **kwargs
): 
3313         """ResumePropagation(self, int propagationLevel)""" 
3314         return _core_
.Event_ResumePropagation(*args
, **kwargs
) 
3316     def Clone(*args
, **kwargs
): 
3317         """Clone(self) -> Event""" 
3318         return _core_
.Event_Clone(*args
, **kwargs
) 
3321 class EventPtr(Event
): 
3322     def __init__(self
, this
): 
3324         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3325         self
.__class
__ = Event
 
3326 _core_
.Event_swigregister(EventPtr
) 
3328 #--------------------------------------------------------------------------- 
3330 class PropagationDisabler(object): 
3331     """Proxy of C++ PropagationDisabler class""" 
3333         return "<%s.%s; proxy of C++ wxPropagationDisabler instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3334     def __init__(self
, *args
, **kwargs
): 
3335         """__init__(self, Event event) -> PropagationDisabler""" 
3336         newobj 
= _core_
.new_PropagationDisabler(*args
, **kwargs
) 
3337         self
.this 
= newobj
.this
 
3340     def __del__(self
, destroy
=_core_
.delete_PropagationDisabler
): 
3343             if self
.thisown
: destroy(self
) 
3347 class PropagationDisablerPtr(PropagationDisabler
): 
3348     def __init__(self
, this
): 
3350         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3351         self
.__class
__ = PropagationDisabler
 
3352 _core_
.PropagationDisabler_swigregister(PropagationDisablerPtr
) 
3354 class PropagateOnce(object): 
3355     """Proxy of C++ PropagateOnce class""" 
3357         return "<%s.%s; proxy of C++ wxPropagateOnce instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3358     def __init__(self
, *args
, **kwargs
): 
3359         """__init__(self, Event event) -> PropagateOnce""" 
3360         newobj 
= _core_
.new_PropagateOnce(*args
, **kwargs
) 
3361         self
.this 
= newobj
.this
 
3364     def __del__(self
, destroy
=_core_
.delete_PropagateOnce
): 
3367             if self
.thisown
: destroy(self
) 
3371 class PropagateOncePtr(PropagateOnce
): 
3372     def __init__(self
, this
): 
3374         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3375         self
.__class
__ = PropagateOnce
 
3376 _core_
.PropagateOnce_swigregister(PropagateOncePtr
) 
3378 #--------------------------------------------------------------------------- 
3380 class CommandEvent(Event
): 
3381     """Proxy of C++ CommandEvent class""" 
3383         return "<%s.%s; proxy of C++ wxCommandEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3384     def __init__(self
, *args
, **kwargs
): 
3385         """__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent""" 
3386         newobj 
= _core_
.new_CommandEvent(*args
, **kwargs
) 
3387         self
.this 
= newobj
.this
 
3390     def GetSelection(*args
, **kwargs
): 
3391         """GetSelection(self) -> int""" 
3392         return _core_
.CommandEvent_GetSelection(*args
, **kwargs
) 
3394     def SetString(*args
, **kwargs
): 
3395         """SetString(self, String s)""" 
3396         return _core_
.CommandEvent_SetString(*args
, **kwargs
) 
3398     def GetString(*args
, **kwargs
): 
3399         """GetString(self) -> String""" 
3400         return _core_
.CommandEvent_GetString(*args
, **kwargs
) 
3402     def IsChecked(*args
, **kwargs
): 
3403         """IsChecked(self) -> bool""" 
3404         return _core_
.CommandEvent_IsChecked(*args
, **kwargs
) 
3407     def IsSelection(*args
, **kwargs
): 
3408         """IsSelection(self) -> bool""" 
3409         return _core_
.CommandEvent_IsSelection(*args
, **kwargs
) 
3411     def SetExtraLong(*args
, **kwargs
): 
3412         """SetExtraLong(self, long extraLong)""" 
3413         return _core_
.CommandEvent_SetExtraLong(*args
, **kwargs
) 
3415     def GetExtraLong(*args
, **kwargs
): 
3416         """GetExtraLong(self) -> long""" 
3417         return _core_
.CommandEvent_GetExtraLong(*args
, **kwargs
) 
3419     def SetInt(*args
, **kwargs
): 
3420         """SetInt(self, int i)""" 
3421         return _core_
.CommandEvent_SetInt(*args
, **kwargs
) 
3423     def GetInt(*args
, **kwargs
): 
3424         """GetInt(self) -> long""" 
3425         return _core_
.CommandEvent_GetInt(*args
, **kwargs
) 
3427     def Clone(*args
, **kwargs
): 
3428         """Clone(self) -> Event""" 
3429         return _core_
.CommandEvent_Clone(*args
, **kwargs
) 
3432 class CommandEventPtr(CommandEvent
): 
3433     def __init__(self
, this
): 
3435         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3436         self
.__class
__ = CommandEvent
 
3437 _core_
.CommandEvent_swigregister(CommandEventPtr
) 
3439 #--------------------------------------------------------------------------- 
3441 class NotifyEvent(CommandEvent
): 
3442     """Proxy of C++ NotifyEvent class""" 
3444         return "<%s.%s; proxy of C++ wxNotifyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3445     def __init__(self
, *args
, **kwargs
): 
3446         """__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent""" 
3447         newobj 
= _core_
.new_NotifyEvent(*args
, **kwargs
) 
3448         self
.this 
= newobj
.this
 
3451     def Veto(*args
, **kwargs
): 
3453         return _core_
.NotifyEvent_Veto(*args
, **kwargs
) 
3455     def Allow(*args
, **kwargs
): 
3457         return _core_
.NotifyEvent_Allow(*args
, **kwargs
) 
3459     def IsAllowed(*args
, **kwargs
): 
3460         """IsAllowed(self) -> bool""" 
3461         return _core_
.NotifyEvent_IsAllowed(*args
, **kwargs
) 
3464 class NotifyEventPtr(NotifyEvent
): 
3465     def __init__(self
, this
): 
3467         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3468         self
.__class
__ = NotifyEvent
 
3469 _core_
.NotifyEvent_swigregister(NotifyEventPtr
) 
3471 #--------------------------------------------------------------------------- 
3473 class ScrollEvent(CommandEvent
): 
3474     """Proxy of C++ ScrollEvent class""" 
3476         return "<%s.%s; proxy of C++ wxScrollEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3477     def __init__(self
, *args
, **kwargs
): 
3479         __init__(self, wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0,  
3480             int orient=0) -> ScrollEvent 
3482         newobj 
= _core_
.new_ScrollEvent(*args
, **kwargs
) 
3483         self
.this 
= newobj
.this
 
3486     def GetOrientation(*args
, **kwargs
): 
3487         """GetOrientation(self) -> int""" 
3488         return _core_
.ScrollEvent_GetOrientation(*args
, **kwargs
) 
3490     def GetPosition(*args
, **kwargs
): 
3491         """GetPosition(self) -> int""" 
3492         return _core_
.ScrollEvent_GetPosition(*args
, **kwargs
) 
3494     def SetOrientation(*args
, **kwargs
): 
3495         """SetOrientation(self, int orient)""" 
3496         return _core_
.ScrollEvent_SetOrientation(*args
, **kwargs
) 
3498     def SetPosition(*args
, **kwargs
): 
3499         """SetPosition(self, int pos)""" 
3500         return _core_
.ScrollEvent_SetPosition(*args
, **kwargs
) 
3503 class ScrollEventPtr(ScrollEvent
): 
3504     def __init__(self
, this
): 
3506         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3507         self
.__class
__ = ScrollEvent
 
3508 _core_
.ScrollEvent_swigregister(ScrollEventPtr
) 
3510 #--------------------------------------------------------------------------- 
3512 class ScrollWinEvent(Event
): 
3513     """Proxy of C++ ScrollWinEvent class""" 
3515         return "<%s.%s; proxy of C++ wxScrollWinEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3516     def __init__(self
, *args
, **kwargs
): 
3517         """__init__(self, wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent""" 
3518         newobj 
= _core_
.new_ScrollWinEvent(*args
, **kwargs
) 
3519         self
.this 
= newobj
.this
 
3522     def GetOrientation(*args
, **kwargs
): 
3523         """GetOrientation(self) -> int""" 
3524         return _core_
.ScrollWinEvent_GetOrientation(*args
, **kwargs
) 
3526     def GetPosition(*args
, **kwargs
): 
3527         """GetPosition(self) -> int""" 
3528         return _core_
.ScrollWinEvent_GetPosition(*args
, **kwargs
) 
3530     def SetOrientation(*args
, **kwargs
): 
3531         """SetOrientation(self, int orient)""" 
3532         return _core_
.ScrollWinEvent_SetOrientation(*args
, **kwargs
) 
3534     def SetPosition(*args
, **kwargs
): 
3535         """SetPosition(self, int pos)""" 
3536         return _core_
.ScrollWinEvent_SetPosition(*args
, **kwargs
) 
3539 class ScrollWinEventPtr(ScrollWinEvent
): 
3540     def __init__(self
, this
): 
3542         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3543         self
.__class
__ = ScrollWinEvent
 
3544 _core_
.ScrollWinEvent_swigregister(ScrollWinEventPtr
) 
3546 #--------------------------------------------------------------------------- 
3548 MOUSE_BTN_ANY 
= _core_
.MOUSE_BTN_ANY
 
3549 MOUSE_BTN_NONE 
= _core_
.MOUSE_BTN_NONE
 
3550 MOUSE_BTN_LEFT 
= _core_
.MOUSE_BTN_LEFT
 
3551 MOUSE_BTN_MIDDLE 
= _core_
.MOUSE_BTN_MIDDLE
 
3552 MOUSE_BTN_RIGHT 
= _core_
.MOUSE_BTN_RIGHT
 
3553 class MouseEvent(Event
): 
3554     """Proxy of C++ MouseEvent class""" 
3556         return "<%s.%s; proxy of C++ wxMouseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3557     def __init__(self
, *args
, **kwargs
): 
3558         """__init__(self, wxEventType mouseType=wxEVT_NULL) -> MouseEvent""" 
3559         newobj 
= _core_
.new_MouseEvent(*args
, **kwargs
) 
3560         self
.this 
= newobj
.this
 
3563     def IsButton(*args
, **kwargs
): 
3564         """IsButton(self) -> bool""" 
3565         return _core_
.MouseEvent_IsButton(*args
, **kwargs
) 
3567     def ButtonDown(*args
, **kwargs
): 
3568         """ButtonDown(self, int but=MOUSE_BTN_ANY) -> bool""" 
3569         return _core_
.MouseEvent_ButtonDown(*args
, **kwargs
) 
3571     def ButtonDClick(*args
, **kwargs
): 
3572         """ButtonDClick(self, int but=MOUSE_BTN_ANY) -> bool""" 
3573         return _core_
.MouseEvent_ButtonDClick(*args
, **kwargs
) 
3575     def ButtonUp(*args
, **kwargs
): 
3576         """ButtonUp(self, int but=MOUSE_BTN_ANY) -> bool""" 
3577         return _core_
.MouseEvent_ButtonUp(*args
, **kwargs
) 
3579     def Button(*args
, **kwargs
): 
3580         """Button(self, int but) -> bool""" 
3581         return _core_
.MouseEvent_Button(*args
, **kwargs
) 
3583     def ButtonIsDown(*args
, **kwargs
): 
3584         """ButtonIsDown(self, int but) -> bool""" 
3585         return _core_
.MouseEvent_ButtonIsDown(*args
, **kwargs
) 
3587     def GetButton(*args
, **kwargs
): 
3588         """GetButton(self) -> int""" 
3589         return _core_
.MouseEvent_GetButton(*args
, **kwargs
) 
3591     def ControlDown(*args
, **kwargs
): 
3592         """ControlDown(self) -> bool""" 
3593         return _core_
.MouseEvent_ControlDown(*args
, **kwargs
) 
3595     def MetaDown(*args
, **kwargs
): 
3596         """MetaDown(self) -> bool""" 
3597         return _core_
.MouseEvent_MetaDown(*args
, **kwargs
) 
3599     def AltDown(*args
, **kwargs
): 
3600         """AltDown(self) -> bool""" 
3601         return _core_
.MouseEvent_AltDown(*args
, **kwargs
) 
3603     def ShiftDown(*args
, **kwargs
): 
3604         """ShiftDown(self) -> bool""" 
3605         return _core_
.MouseEvent_ShiftDown(*args
, **kwargs
) 
3607     def CmdDown(*args
, **kwargs
): 
3609         CmdDown(self) -> bool 
3611         "Cmd" is a pseudo key which is the same as Control for PC and Unix 
3612         platforms but the special "Apple" (a.k.a as "Command") key on 
3613         Macs: it makes often sense to use it instead of, say, `ControlDown` 
3614         because Cmd key is used for the same thing under Mac as Ctrl 
3615         elsewhere. The Ctrl still exists, it's just not used for this 
3616         purpose. So for non-Mac platforms this is the same as `ControlDown` 
3617         and Macs this is the same as `MetaDown`. 
3619         return _core_
.MouseEvent_CmdDown(*args
, **kwargs
) 
3621     def LeftDown(*args
, **kwargs
): 
3622         """LeftDown(self) -> bool""" 
3623         return _core_
.MouseEvent_LeftDown(*args
, **kwargs
) 
3625     def MiddleDown(*args
, **kwargs
): 
3626         """MiddleDown(self) -> bool""" 
3627         return _core_
.MouseEvent_MiddleDown(*args
, **kwargs
) 
3629     def RightDown(*args
, **kwargs
): 
3630         """RightDown(self) -> bool""" 
3631         return _core_
.MouseEvent_RightDown(*args
, **kwargs
) 
3633     def LeftUp(*args
, **kwargs
): 
3634         """LeftUp(self) -> bool""" 
3635         return _core_
.MouseEvent_LeftUp(*args
, **kwargs
) 
3637     def MiddleUp(*args
, **kwargs
): 
3638         """MiddleUp(self) -> bool""" 
3639         return _core_
.MouseEvent_MiddleUp(*args
, **kwargs
) 
3641     def RightUp(*args
, **kwargs
): 
3642         """RightUp(self) -> bool""" 
3643         return _core_
.MouseEvent_RightUp(*args
, **kwargs
) 
3645     def LeftDClick(*args
, **kwargs
): 
3646         """LeftDClick(self) -> bool""" 
3647         return _core_
.MouseEvent_LeftDClick(*args
, **kwargs
) 
3649     def MiddleDClick(*args
, **kwargs
): 
3650         """MiddleDClick(self) -> bool""" 
3651         return _core_
.MouseEvent_MiddleDClick(*args
, **kwargs
) 
3653     def RightDClick(*args
, **kwargs
): 
3654         """RightDClick(self) -> bool""" 
3655         return _core_
.MouseEvent_RightDClick(*args
, **kwargs
) 
3657     def LeftIsDown(*args
, **kwargs
): 
3658         """LeftIsDown(self) -> bool""" 
3659         return _core_
.MouseEvent_LeftIsDown(*args
, **kwargs
) 
3661     def MiddleIsDown(*args
, **kwargs
): 
3662         """MiddleIsDown(self) -> bool""" 
3663         return _core_
.MouseEvent_MiddleIsDown(*args
, **kwargs
) 
3665     def RightIsDown(*args
, **kwargs
): 
3666         """RightIsDown(self) -> bool""" 
3667         return _core_
.MouseEvent_RightIsDown(*args
, **kwargs
) 
3669     def Dragging(*args
, **kwargs
): 
3670         """Dragging(self) -> bool""" 
3671         return _core_
.MouseEvent_Dragging(*args
, **kwargs
) 
3673     def Moving(*args
, **kwargs
): 
3674         """Moving(self) -> bool""" 
3675         return _core_
.MouseEvent_Moving(*args
, **kwargs
) 
3677     def Entering(*args
, **kwargs
): 
3678         """Entering(self) -> bool""" 
3679         return _core_
.MouseEvent_Entering(*args
, **kwargs
) 
3681     def Leaving(*args
, **kwargs
): 
3682         """Leaving(self) -> bool""" 
3683         return _core_
.MouseEvent_Leaving(*args
, **kwargs
) 
3685     def GetPosition(*args
, **kwargs
): 
3687         GetPosition(self) -> Point 
3689         Returns the position of the mouse in window coordinates when the event 
3692         return _core_
.MouseEvent_GetPosition(*args
, **kwargs
) 
3694     def GetPositionTuple(*args
, **kwargs
): 
3696         GetPositionTuple() -> (x,y) 
3698         Returns the position of the mouse in window coordinates when the event 
3701         return _core_
.MouseEvent_GetPositionTuple(*args
, **kwargs
) 
3703     def GetLogicalPosition(*args
, **kwargs
): 
3704         """GetLogicalPosition(self, DC dc) -> Point""" 
3705         return _core_
.MouseEvent_GetLogicalPosition(*args
, **kwargs
) 
3707     def GetX(*args
, **kwargs
): 
3708         """GetX(self) -> int""" 
3709         return _core_
.MouseEvent_GetX(*args
, **kwargs
) 
3711     def GetY(*args
, **kwargs
): 
3712         """GetY(self) -> int""" 
3713         return _core_
.MouseEvent_GetY(*args
, **kwargs
) 
3715     def GetWheelRotation(*args
, **kwargs
): 
3716         """GetWheelRotation(self) -> int""" 
3717         return _core_
.MouseEvent_GetWheelRotation(*args
, **kwargs
) 
3719     def GetWheelDelta(*args
, **kwargs
): 
3720         """GetWheelDelta(self) -> int""" 
3721         return _core_
.MouseEvent_GetWheelDelta(*args
, **kwargs
) 
3723     def GetLinesPerAction(*args
, **kwargs
): 
3724         """GetLinesPerAction(self) -> int""" 
3725         return _core_
.MouseEvent_GetLinesPerAction(*args
, **kwargs
) 
3727     def IsPageScroll(*args
, **kwargs
): 
3728         """IsPageScroll(self) -> bool""" 
3729         return _core_
.MouseEvent_IsPageScroll(*args
, **kwargs
) 
3731     m_x 
= property(_core_
.MouseEvent_m_x_get
, _core_
.MouseEvent_m_x_set
) 
3732     m_y 
= property(_core_
.MouseEvent_m_y_get
, _core_
.MouseEvent_m_y_set
) 
3733     m_leftDown 
= property(_core_
.MouseEvent_m_leftDown_get
, _core_
.MouseEvent_m_leftDown_set
) 
3734     m_middleDown 
= property(_core_
.MouseEvent_m_middleDown_get
, _core_
.MouseEvent_m_middleDown_set
) 
3735     m_rightDown 
= property(_core_
.MouseEvent_m_rightDown_get
, _core_
.MouseEvent_m_rightDown_set
) 
3736     m_controlDown 
= property(_core_
.MouseEvent_m_controlDown_get
, _core_
.MouseEvent_m_controlDown_set
) 
3737     m_shiftDown 
= property(_core_
.MouseEvent_m_shiftDown_get
, _core_
.MouseEvent_m_shiftDown_set
) 
3738     m_altDown 
= property(_core_
.MouseEvent_m_altDown_get
, _core_
.MouseEvent_m_altDown_set
) 
3739     m_metaDown 
= property(_core_
.MouseEvent_m_metaDown_get
, _core_
.MouseEvent_m_metaDown_set
) 
3740     m_wheelRotation 
= property(_core_
.MouseEvent_m_wheelRotation_get
, _core_
.MouseEvent_m_wheelRotation_set
) 
3741     m_wheelDelta 
= property(_core_
.MouseEvent_m_wheelDelta_get
, _core_
.MouseEvent_m_wheelDelta_set
) 
3742     m_linesPerAction 
= property(_core_
.MouseEvent_m_linesPerAction_get
, _core_
.MouseEvent_m_linesPerAction_set
) 
3744 class MouseEventPtr(MouseEvent
): 
3745     def __init__(self
, this
): 
3747         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3748         self
.__class
__ = MouseEvent
 
3749 _core_
.MouseEvent_swigregister(MouseEventPtr
) 
3751 #--------------------------------------------------------------------------- 
3753 class SetCursorEvent(Event
): 
3754     """Proxy of C++ SetCursorEvent class""" 
3756         return "<%s.%s; proxy of C++ wxSetCursorEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3757     def __init__(self
, *args
, **kwargs
): 
3758         """__init__(self, int x=0, int y=0) -> SetCursorEvent""" 
3759         newobj 
= _core_
.new_SetCursorEvent(*args
, **kwargs
) 
3760         self
.this 
= newobj
.this
 
3763     def GetX(*args
, **kwargs
): 
3764         """GetX(self) -> int""" 
3765         return _core_
.SetCursorEvent_GetX(*args
, **kwargs
) 
3767     def GetY(*args
, **kwargs
): 
3768         """GetY(self) -> int""" 
3769         return _core_
.SetCursorEvent_GetY(*args
, **kwargs
) 
3771     def SetCursor(*args
, **kwargs
): 
3772         """SetCursor(self, Cursor cursor)""" 
3773         return _core_
.SetCursorEvent_SetCursor(*args
, **kwargs
) 
3775     def GetCursor(*args
, **kwargs
): 
3776         """GetCursor(self) -> Cursor""" 
3777         return _core_
.SetCursorEvent_GetCursor(*args
, **kwargs
) 
3779     def HasCursor(*args
, **kwargs
): 
3780         """HasCursor(self) -> bool""" 
3781         return _core_
.SetCursorEvent_HasCursor(*args
, **kwargs
) 
3784 class SetCursorEventPtr(SetCursorEvent
): 
3785     def __init__(self
, this
): 
3787         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3788         self
.__class
__ = SetCursorEvent
 
3789 _core_
.SetCursorEvent_swigregister(SetCursorEventPtr
) 
3791 #--------------------------------------------------------------------------- 
3793 class KeyEvent(Event
): 
3794     """Proxy of C++ KeyEvent class""" 
3796         return "<%s.%s; proxy of C++ wxKeyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3797     def __init__(self
, *args
, **kwargs
): 
3798         """__init__(self, wxEventType keyType=wxEVT_NULL) -> KeyEvent""" 
3799         newobj 
= _core_
.new_KeyEvent(*args
, **kwargs
) 
3800         self
.this 
= newobj
.this
 
3803     def ControlDown(*args
, **kwargs
): 
3804         """ControlDown(self) -> bool""" 
3805         return _core_
.KeyEvent_ControlDown(*args
, **kwargs
) 
3807     def MetaDown(*args
, **kwargs
): 
3808         """MetaDown(self) -> bool""" 
3809         return _core_
.KeyEvent_MetaDown(*args
, **kwargs
) 
3811     def AltDown(*args
, **kwargs
): 
3812         """AltDown(self) -> bool""" 
3813         return _core_
.KeyEvent_AltDown(*args
, **kwargs
) 
3815     def ShiftDown(*args
, **kwargs
): 
3816         """ShiftDown(self) -> bool""" 
3817         return _core_
.KeyEvent_ShiftDown(*args
, **kwargs
) 
3819     def CmdDown(*args
, **kwargs
): 
3821         CmdDown(self) -> bool 
3823         "Cmd" is a pseudo key which is the same as Control for PC and Unix 
3824         platforms but the special "Apple" (a.k.a as "Command") key on 
3825         Macs: it makes often sense to use it instead of, say, `ControlDown` 
3826         because Cmd key is used for the same thing under Mac as Ctrl 
3827         elsewhere. The Ctrl still exists, it's just not used for this 
3828         purpose. So for non-Mac platforms this is the same as `ControlDown` 
3829         and Macs this is the same as `MetaDown`. 
3831         return _core_
.KeyEvent_CmdDown(*args
, **kwargs
) 
3833     def HasModifiers(*args
, **kwargs
): 
3834         """HasModifiers(self) -> bool""" 
3835         return _core_
.KeyEvent_HasModifiers(*args
, **kwargs
) 
3837     def GetKeyCode(*args
, **kwargs
): 
3838         """GetKeyCode(self) -> int""" 
3839         return _core_
.KeyEvent_GetKeyCode(*args
, **kwargs
) 
3841     KeyCode 
= GetKeyCode 
 
3842     def GetUnicodeKey(*args
, **kwargs
): 
3843         """GetUnicodeKey(self) -> int""" 
3844         return _core_
.KeyEvent_GetUnicodeKey(*args
, **kwargs
) 
3846     GetUniChar 
= GetUnicodeKey 
 
3847     def GetRawKeyCode(*args
, **kwargs
): 
3848         """GetRawKeyCode(self) -> unsigned int""" 
3849         return _core_
.KeyEvent_GetRawKeyCode(*args
, **kwargs
) 
3851     def GetRawKeyFlags(*args
, **kwargs
): 
3852         """GetRawKeyFlags(self) -> unsigned int""" 
3853         return _core_
.KeyEvent_GetRawKeyFlags(*args
, **kwargs
) 
3855     def GetPosition(*args
, **kwargs
): 
3857         GetPosition(self) -> Point 
3859         Find the position of the event. 
3861         return _core_
.KeyEvent_GetPosition(*args
, **kwargs
) 
3863     def GetPositionTuple(*args
, **kwargs
): 
3865         GetPositionTuple() -> (x,y) 
3867         Find the position of the event. 
3869         return _core_
.KeyEvent_GetPositionTuple(*args
, **kwargs
) 
3871     def GetX(*args
, **kwargs
): 
3872         """GetX(self) -> int""" 
3873         return _core_
.KeyEvent_GetX(*args
, **kwargs
) 
3875     def GetY(*args
, **kwargs
): 
3876         """GetY(self) -> int""" 
3877         return _core_
.KeyEvent_GetY(*args
, **kwargs
) 
3879     m_x 
= property(_core_
.KeyEvent_m_x_get
, _core_
.KeyEvent_m_x_set
) 
3880     m_y 
= property(_core_
.KeyEvent_m_y_get
, _core_
.KeyEvent_m_y_set
) 
3881     m_keyCode 
= property(_core_
.KeyEvent_m_keyCode_get
, _core_
.KeyEvent_m_keyCode_set
) 
3882     m_controlDown 
= property(_core_
.KeyEvent_m_controlDown_get
, _core_
.KeyEvent_m_controlDown_set
) 
3883     m_shiftDown 
= property(_core_
.KeyEvent_m_shiftDown_get
, _core_
.KeyEvent_m_shiftDown_set
) 
3884     m_altDown 
= property(_core_
.KeyEvent_m_altDown_get
, _core_
.KeyEvent_m_altDown_set
) 
3885     m_metaDown 
= property(_core_
.KeyEvent_m_metaDown_get
, _core_
.KeyEvent_m_metaDown_set
) 
3886     m_scanCode 
= property(_core_
.KeyEvent_m_scanCode_get
, _core_
.KeyEvent_m_scanCode_set
) 
3887     m_rawCode 
= property(_core_
.KeyEvent_m_rawCode_get
, _core_
.KeyEvent_m_rawCode_set
) 
3888     m_rawFlags 
= property(_core_
.KeyEvent_m_rawFlags_get
, _core_
.KeyEvent_m_rawFlags_set
) 
3890 class KeyEventPtr(KeyEvent
): 
3891     def __init__(self
, this
): 
3893         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3894         self
.__class
__ = KeyEvent
 
3895 _core_
.KeyEvent_swigregister(KeyEventPtr
) 
3897 #--------------------------------------------------------------------------- 
3899 class SizeEvent(Event
): 
3900     """Proxy of C++ SizeEvent class""" 
3902         return "<%s.%s; proxy of C++ wxSizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3903     def __init__(self
, *args
, **kwargs
): 
3904         """__init__(self, Size sz=DefaultSize, int winid=0) -> SizeEvent""" 
3905         newobj 
= _core_
.new_SizeEvent(*args
, **kwargs
) 
3906         self
.this 
= newobj
.this
 
3909     def GetSize(*args
, **kwargs
): 
3910         """GetSize(self) -> Size""" 
3911         return _core_
.SizeEvent_GetSize(*args
, **kwargs
) 
3913     def GetRect(*args
, **kwargs
): 
3914         """GetRect(self) -> Rect""" 
3915         return _core_
.SizeEvent_GetRect(*args
, **kwargs
) 
3917     def SetRect(*args
, **kwargs
): 
3918         """SetRect(self, Rect rect)""" 
3919         return _core_
.SizeEvent_SetRect(*args
, **kwargs
) 
3921     def SetSize(*args
, **kwargs
): 
3922         """SetSize(self, Size size)""" 
3923         return _core_
.SizeEvent_SetSize(*args
, **kwargs
) 
3925     m_size 
= property(_core_
.SizeEvent_m_size_get
, _core_
.SizeEvent_m_size_set
) 
3926     m_rect 
= property(_core_
.SizeEvent_m_rect_get
, _core_
.SizeEvent_m_rect_set
) 
3928 class SizeEventPtr(SizeEvent
): 
3929     def __init__(self
, this
): 
3931         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3932         self
.__class
__ = SizeEvent
 
3933 _core_
.SizeEvent_swigregister(SizeEventPtr
) 
3935 #--------------------------------------------------------------------------- 
3937 class MoveEvent(Event
): 
3938     """Proxy of C++ MoveEvent class""" 
3940         return "<%s.%s; proxy of C++ wxMoveEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3941     def __init__(self
, *args
, **kwargs
): 
3942         """__init__(self, Point pos=DefaultPosition, int winid=0) -> MoveEvent""" 
3943         newobj 
= _core_
.new_MoveEvent(*args
, **kwargs
) 
3944         self
.this 
= newobj
.this
 
3947     def GetPosition(*args
, **kwargs
): 
3948         """GetPosition(self) -> Point""" 
3949         return _core_
.MoveEvent_GetPosition(*args
, **kwargs
) 
3951     def GetRect(*args
, **kwargs
): 
3952         """GetRect(self) -> Rect""" 
3953         return _core_
.MoveEvent_GetRect(*args
, **kwargs
) 
3955     def SetRect(*args
, **kwargs
): 
3956         """SetRect(self, Rect rect)""" 
3957         return _core_
.MoveEvent_SetRect(*args
, **kwargs
) 
3959     def SetPosition(*args
, **kwargs
): 
3960         """SetPosition(self, Point pos)""" 
3961         return _core_
.MoveEvent_SetPosition(*args
, **kwargs
) 
3963     m_pos 
=  property(GetPosition
, SetPosition
) 
3964     m_rect 
= property(GetRect
, SetRect
) 
3967 class MoveEventPtr(MoveEvent
): 
3968     def __init__(self
, this
): 
3970         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3971         self
.__class
__ = MoveEvent
 
3972 _core_
.MoveEvent_swigregister(MoveEventPtr
) 
3974 #--------------------------------------------------------------------------- 
3976 class PaintEvent(Event
): 
3977     """Proxy of C++ PaintEvent class""" 
3979         return "<%s.%s; proxy of C++ wxPaintEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3980     def __init__(self
, *args
, **kwargs
): 
3981         """__init__(self, int Id=0) -> PaintEvent""" 
3982         newobj 
= _core_
.new_PaintEvent(*args
, **kwargs
) 
3983         self
.this 
= newobj
.this
 
3987 class PaintEventPtr(PaintEvent
): 
3988     def __init__(self
, this
): 
3990         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
3991         self
.__class
__ = PaintEvent
 
3992 _core_
.PaintEvent_swigregister(PaintEventPtr
) 
3994 class NcPaintEvent(Event
): 
3995     """Proxy of C++ NcPaintEvent class""" 
3997         return "<%s.%s; proxy of C++ wxNcPaintEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
3998     def __init__(self
, *args
, **kwargs
): 
3999         """__init__(self, int winid=0) -> NcPaintEvent""" 
4000         newobj 
= _core_
.new_NcPaintEvent(*args
, **kwargs
) 
4001         self
.this 
= newobj
.this
 
4005 class NcPaintEventPtr(NcPaintEvent
): 
4006     def __init__(self
, this
): 
4008         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4009         self
.__class
__ = NcPaintEvent
 
4010 _core_
.NcPaintEvent_swigregister(NcPaintEventPtr
) 
4012 #--------------------------------------------------------------------------- 
4014 class EraseEvent(Event
): 
4015     """Proxy of C++ EraseEvent class""" 
4017         return "<%s.%s; proxy of C++ wxEraseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4018     def __init__(self
, *args
, **kwargs
): 
4019         """__init__(self, int Id=0, DC dc=(wxDC *) NULL) -> EraseEvent""" 
4020         newobj 
= _core_
.new_EraseEvent(*args
, **kwargs
) 
4021         self
.this 
= newobj
.this
 
4024     def GetDC(*args
, **kwargs
): 
4025         """GetDC(self) -> DC""" 
4026         return _core_
.EraseEvent_GetDC(*args
, **kwargs
) 
4029 class EraseEventPtr(EraseEvent
): 
4030     def __init__(self
, this
): 
4032         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4033         self
.__class
__ = EraseEvent
 
4034 _core_
.EraseEvent_swigregister(EraseEventPtr
) 
4036 #--------------------------------------------------------------------------- 
4038 class FocusEvent(Event
): 
4039     """Proxy of C++ FocusEvent class""" 
4041         return "<%s.%s; proxy of C++ wxFocusEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4042     def __init__(self
, *args
, **kwargs
): 
4043         """__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent""" 
4044         newobj 
= _core_
.new_FocusEvent(*args
, **kwargs
) 
4045         self
.this 
= newobj
.this
 
4048     def GetWindow(*args
, **kwargs
): 
4049         """GetWindow(self) -> Window""" 
4050         return _core_
.FocusEvent_GetWindow(*args
, **kwargs
) 
4052     def SetWindow(*args
, **kwargs
): 
4053         """SetWindow(self, Window win)""" 
4054         return _core_
.FocusEvent_SetWindow(*args
, **kwargs
) 
4057 class FocusEventPtr(FocusEvent
): 
4058     def __init__(self
, this
): 
4060         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4061         self
.__class
__ = FocusEvent
 
4062 _core_
.FocusEvent_swigregister(FocusEventPtr
) 
4064 #--------------------------------------------------------------------------- 
4066 class ChildFocusEvent(CommandEvent
): 
4067     """Proxy of C++ ChildFocusEvent class""" 
4069         return "<%s.%s; proxy of C++ wxChildFocusEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4070     def __init__(self
, *args
, **kwargs
): 
4071         """__init__(self, Window win=None) -> ChildFocusEvent""" 
4072         newobj 
= _core_
.new_ChildFocusEvent(*args
, **kwargs
) 
4073         self
.this 
= newobj
.this
 
4076     def GetWindow(*args
, **kwargs
): 
4077         """GetWindow(self) -> Window""" 
4078         return _core_
.ChildFocusEvent_GetWindow(*args
, **kwargs
) 
4081 class ChildFocusEventPtr(ChildFocusEvent
): 
4082     def __init__(self
, this
): 
4084         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4085         self
.__class
__ = ChildFocusEvent
 
4086 _core_
.ChildFocusEvent_swigregister(ChildFocusEventPtr
) 
4088 #--------------------------------------------------------------------------- 
4090 class ActivateEvent(Event
): 
4091     """Proxy of C++ ActivateEvent class""" 
4093         return "<%s.%s; proxy of C++ wxActivateEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4094     def __init__(self
, *args
, **kwargs
): 
4095         """__init__(self, wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent""" 
4096         newobj 
= _core_
.new_ActivateEvent(*args
, **kwargs
) 
4097         self
.this 
= newobj
.this
 
4100     def GetActive(*args
, **kwargs
): 
4101         """GetActive(self) -> bool""" 
4102         return _core_
.ActivateEvent_GetActive(*args
, **kwargs
) 
4105 class ActivateEventPtr(ActivateEvent
): 
4106     def __init__(self
, this
): 
4108         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4109         self
.__class
__ = ActivateEvent
 
4110 _core_
.ActivateEvent_swigregister(ActivateEventPtr
) 
4112 #--------------------------------------------------------------------------- 
4114 class InitDialogEvent(Event
): 
4115     """Proxy of C++ InitDialogEvent class""" 
4117         return "<%s.%s; proxy of C++ wxInitDialogEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4118     def __init__(self
, *args
, **kwargs
): 
4119         """__init__(self, int Id=0) -> InitDialogEvent""" 
4120         newobj 
= _core_
.new_InitDialogEvent(*args
, **kwargs
) 
4121         self
.this 
= newobj
.this
 
4125 class InitDialogEventPtr(InitDialogEvent
): 
4126     def __init__(self
, this
): 
4128         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4129         self
.__class
__ = InitDialogEvent
 
4130 _core_
.InitDialogEvent_swigregister(InitDialogEventPtr
) 
4132 #--------------------------------------------------------------------------- 
4134 class MenuEvent(Event
): 
4135     """Proxy of C++ MenuEvent class""" 
4137         return "<%s.%s; proxy of C++ wxMenuEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4138     def __init__(self
, *args
, **kwargs
): 
4139         """__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent""" 
4140         newobj 
= _core_
.new_MenuEvent(*args
, **kwargs
) 
4141         self
.this 
= newobj
.this
 
4144     def GetMenuId(*args
, **kwargs
): 
4145         """GetMenuId(self) -> int""" 
4146         return _core_
.MenuEvent_GetMenuId(*args
, **kwargs
) 
4148     def IsPopup(*args
, **kwargs
): 
4149         """IsPopup(self) -> bool""" 
4150         return _core_
.MenuEvent_IsPopup(*args
, **kwargs
) 
4152     def GetMenu(*args
, **kwargs
): 
4153         """GetMenu(self) -> Menu""" 
4154         return _core_
.MenuEvent_GetMenu(*args
, **kwargs
) 
4157 class MenuEventPtr(MenuEvent
): 
4158     def __init__(self
, this
): 
4160         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4161         self
.__class
__ = MenuEvent
 
4162 _core_
.MenuEvent_swigregister(MenuEventPtr
) 
4164 #--------------------------------------------------------------------------- 
4166 class CloseEvent(Event
): 
4167     """Proxy of C++ CloseEvent class""" 
4169         return "<%s.%s; proxy of C++ wxCloseEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4170     def __init__(self
, *args
, **kwargs
): 
4171         """__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent""" 
4172         newobj 
= _core_
.new_CloseEvent(*args
, **kwargs
) 
4173         self
.this 
= newobj
.this
 
4176     def SetLoggingOff(*args
, **kwargs
): 
4177         """SetLoggingOff(self, bool logOff)""" 
4178         return _core_
.CloseEvent_SetLoggingOff(*args
, **kwargs
) 
4180     def GetLoggingOff(*args
, **kwargs
): 
4181         """GetLoggingOff(self) -> bool""" 
4182         return _core_
.CloseEvent_GetLoggingOff(*args
, **kwargs
) 
4184     def Veto(*args
, **kwargs
): 
4185         """Veto(self, bool veto=True)""" 
4186         return _core_
.CloseEvent_Veto(*args
, **kwargs
) 
4188     def SetCanVeto(*args
, **kwargs
): 
4189         """SetCanVeto(self, bool canVeto)""" 
4190         return _core_
.CloseEvent_SetCanVeto(*args
, **kwargs
) 
4192     def CanVeto(*args
, **kwargs
): 
4193         """CanVeto(self) -> bool""" 
4194         return _core_
.CloseEvent_CanVeto(*args
, **kwargs
) 
4196     def GetVeto(*args
, **kwargs
): 
4197         """GetVeto(self) -> bool""" 
4198         return _core_
.CloseEvent_GetVeto(*args
, **kwargs
) 
4201 class CloseEventPtr(CloseEvent
): 
4202     def __init__(self
, this
): 
4204         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4205         self
.__class
__ = CloseEvent
 
4206 _core_
.CloseEvent_swigregister(CloseEventPtr
) 
4208 #--------------------------------------------------------------------------- 
4210 class ShowEvent(Event
): 
4211     """Proxy of C++ ShowEvent class""" 
4213         return "<%s.%s; proxy of C++ wxShowEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4214     def __init__(self
, *args
, **kwargs
): 
4215         """__init__(self, int winid=0, bool show=False) -> ShowEvent""" 
4216         newobj 
= _core_
.new_ShowEvent(*args
, **kwargs
) 
4217         self
.this 
= newobj
.this
 
4220     def SetShow(*args
, **kwargs
): 
4221         """SetShow(self, bool show)""" 
4222         return _core_
.ShowEvent_SetShow(*args
, **kwargs
) 
4224     def GetShow(*args
, **kwargs
): 
4225         """GetShow(self) -> bool""" 
4226         return _core_
.ShowEvent_GetShow(*args
, **kwargs
) 
4229 class ShowEventPtr(ShowEvent
): 
4230     def __init__(self
, this
): 
4232         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4233         self
.__class
__ = ShowEvent
 
4234 _core_
.ShowEvent_swigregister(ShowEventPtr
) 
4236 #--------------------------------------------------------------------------- 
4238 class IconizeEvent(Event
): 
4239     """Proxy of C++ IconizeEvent class""" 
4241         return "<%s.%s; proxy of C++ wxIconizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4242     def __init__(self
, *args
, **kwargs
): 
4243         """__init__(self, int id=0, bool iconized=True) -> IconizeEvent""" 
4244         newobj 
= _core_
.new_IconizeEvent(*args
, **kwargs
) 
4245         self
.this 
= newobj
.this
 
4248     def Iconized(*args
, **kwargs
): 
4249         """Iconized(self) -> bool""" 
4250         return _core_
.IconizeEvent_Iconized(*args
, **kwargs
) 
4253 class IconizeEventPtr(IconizeEvent
): 
4254     def __init__(self
, this
): 
4256         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4257         self
.__class
__ = IconizeEvent
 
4258 _core_
.IconizeEvent_swigregister(IconizeEventPtr
) 
4260 #--------------------------------------------------------------------------- 
4262 class MaximizeEvent(Event
): 
4263     """Proxy of C++ MaximizeEvent class""" 
4265         return "<%s.%s; proxy of C++ wxMaximizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4266     def __init__(self
, *args
, **kwargs
): 
4267         """__init__(self, int id=0) -> MaximizeEvent""" 
4268         newobj 
= _core_
.new_MaximizeEvent(*args
, **kwargs
) 
4269         self
.this 
= newobj
.this
 
4273 class MaximizeEventPtr(MaximizeEvent
): 
4274     def __init__(self
, this
): 
4276         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4277         self
.__class
__ = MaximizeEvent
 
4278 _core_
.MaximizeEvent_swigregister(MaximizeEventPtr
) 
4280 #--------------------------------------------------------------------------- 
4282 class DropFilesEvent(Event
): 
4283     """Proxy of C++ DropFilesEvent class""" 
4284     def __init__(self
): raise RuntimeError, "No constructor defined" 
4286         return "<%s.%s; proxy of C++ wxDropFilesEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4287     def GetPosition(*args
, **kwargs
): 
4288         """GetPosition(self) -> Point""" 
4289         return _core_
.DropFilesEvent_GetPosition(*args
, **kwargs
) 
4291     def GetNumberOfFiles(*args
, **kwargs
): 
4292         """GetNumberOfFiles(self) -> int""" 
4293         return _core_
.DropFilesEvent_GetNumberOfFiles(*args
, **kwargs
) 
4295     def GetFiles(*args
, **kwargs
): 
4296         """GetFiles(self) -> PyObject""" 
4297         return _core_
.DropFilesEvent_GetFiles(*args
, **kwargs
) 
4300 class DropFilesEventPtr(DropFilesEvent
): 
4301     def __init__(self
, this
): 
4303         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4304         self
.__class
__ = DropFilesEvent
 
4305 _core_
.DropFilesEvent_swigregister(DropFilesEventPtr
) 
4307 #--------------------------------------------------------------------------- 
4309 UPDATE_UI_PROCESS_ALL 
= _core_
.UPDATE_UI_PROCESS_ALL
 
4310 UPDATE_UI_PROCESS_SPECIFIED 
= _core_
.UPDATE_UI_PROCESS_SPECIFIED
 
4311 class UpdateUIEvent(CommandEvent
): 
4312     """Proxy of C++ UpdateUIEvent class""" 
4314         return "<%s.%s; proxy of C++ wxUpdateUIEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4315     def __init__(self
, *args
, **kwargs
): 
4316         """__init__(self, int commandId=0) -> UpdateUIEvent""" 
4317         newobj 
= _core_
.new_UpdateUIEvent(*args
, **kwargs
) 
4318         self
.this 
= newobj
.this
 
4321     def GetChecked(*args
, **kwargs
): 
4322         """GetChecked(self) -> bool""" 
4323         return _core_
.UpdateUIEvent_GetChecked(*args
, **kwargs
) 
4325     def GetEnabled(*args
, **kwargs
): 
4326         """GetEnabled(self) -> bool""" 
4327         return _core_
.UpdateUIEvent_GetEnabled(*args
, **kwargs
) 
4329     def GetText(*args
, **kwargs
): 
4330         """GetText(self) -> String""" 
4331         return _core_
.UpdateUIEvent_GetText(*args
, **kwargs
) 
4333     def GetSetText(*args
, **kwargs
): 
4334         """GetSetText(self) -> bool""" 
4335         return _core_
.UpdateUIEvent_GetSetText(*args
, **kwargs
) 
4337     def GetSetChecked(*args
, **kwargs
): 
4338         """GetSetChecked(self) -> bool""" 
4339         return _core_
.UpdateUIEvent_GetSetChecked(*args
, **kwargs
) 
4341     def GetSetEnabled(*args
, **kwargs
): 
4342         """GetSetEnabled(self) -> bool""" 
4343         return _core_
.UpdateUIEvent_GetSetEnabled(*args
, **kwargs
) 
4345     def Check(*args
, **kwargs
): 
4346         """Check(self, bool check)""" 
4347         return _core_
.UpdateUIEvent_Check(*args
, **kwargs
) 
4349     def Enable(*args
, **kwargs
): 
4350         """Enable(self, bool enable)""" 
4351         return _core_
.UpdateUIEvent_Enable(*args
, **kwargs
) 
4353     def SetText(*args
, **kwargs
): 
4354         """SetText(self, String text)""" 
4355         return _core_
.UpdateUIEvent_SetText(*args
, **kwargs
) 
4357     def SetUpdateInterval(*args
, **kwargs
): 
4358         """SetUpdateInterval(long updateInterval)""" 
4359         return _core_
.UpdateUIEvent_SetUpdateInterval(*args
, **kwargs
) 
4361     SetUpdateInterval 
= staticmethod(SetUpdateInterval
) 
4362     def GetUpdateInterval(*args
, **kwargs
): 
4363         """GetUpdateInterval() -> long""" 
4364         return _core_
.UpdateUIEvent_GetUpdateInterval(*args
, **kwargs
) 
4366     GetUpdateInterval 
= staticmethod(GetUpdateInterval
) 
4367     def CanUpdate(*args
, **kwargs
): 
4368         """CanUpdate(Window win) -> bool""" 
4369         return _core_
.UpdateUIEvent_CanUpdate(*args
, **kwargs
) 
4371     CanUpdate 
= staticmethod(CanUpdate
) 
4372     def ResetUpdateTime(*args
, **kwargs
): 
4373         """ResetUpdateTime()""" 
4374         return _core_
.UpdateUIEvent_ResetUpdateTime(*args
, **kwargs
) 
4376     ResetUpdateTime 
= staticmethod(ResetUpdateTime
) 
4377     def SetMode(*args
, **kwargs
): 
4378         """SetMode(int mode)""" 
4379         return _core_
.UpdateUIEvent_SetMode(*args
, **kwargs
) 
4381     SetMode 
= staticmethod(SetMode
) 
4382     def GetMode(*args
, **kwargs
): 
4383         """GetMode() -> int""" 
4384         return _core_
.UpdateUIEvent_GetMode(*args
, **kwargs
) 
4386     GetMode 
= staticmethod(GetMode
) 
4388 class UpdateUIEventPtr(UpdateUIEvent
): 
4389     def __init__(self
, this
): 
4391         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4392         self
.__class
__ = UpdateUIEvent
 
4393 _core_
.UpdateUIEvent_swigregister(UpdateUIEventPtr
) 
4395 def UpdateUIEvent_SetUpdateInterval(*args
, **kwargs
): 
4396     """UpdateUIEvent_SetUpdateInterval(long updateInterval)""" 
4397     return _core_
.UpdateUIEvent_SetUpdateInterval(*args
, **kwargs
) 
4399 def UpdateUIEvent_GetUpdateInterval(*args
, **kwargs
): 
4400     """UpdateUIEvent_GetUpdateInterval() -> long""" 
4401     return _core_
.UpdateUIEvent_GetUpdateInterval(*args
, **kwargs
) 
4403 def UpdateUIEvent_CanUpdate(*args
, **kwargs
): 
4404     """UpdateUIEvent_CanUpdate(Window win) -> bool""" 
4405     return _core_
.UpdateUIEvent_CanUpdate(*args
, **kwargs
) 
4407 def UpdateUIEvent_ResetUpdateTime(*args
, **kwargs
): 
4408     """UpdateUIEvent_ResetUpdateTime()""" 
4409     return _core_
.UpdateUIEvent_ResetUpdateTime(*args
, **kwargs
) 
4411 def UpdateUIEvent_SetMode(*args
, **kwargs
): 
4412     """UpdateUIEvent_SetMode(int mode)""" 
4413     return _core_
.UpdateUIEvent_SetMode(*args
, **kwargs
) 
4415 def UpdateUIEvent_GetMode(*args
, **kwargs
): 
4416     """UpdateUIEvent_GetMode() -> int""" 
4417     return _core_
.UpdateUIEvent_GetMode(*args
, **kwargs
) 
4419 #--------------------------------------------------------------------------- 
4421 class SysColourChangedEvent(Event
): 
4422     """Proxy of C++ SysColourChangedEvent class""" 
4424         return "<%s.%s; proxy of C++ wxSysColourChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4425     def __init__(self
, *args
, **kwargs
): 
4426         """__init__(self) -> SysColourChangedEvent""" 
4427         newobj 
= _core_
.new_SysColourChangedEvent(*args
, **kwargs
) 
4428         self
.this 
= newobj
.this
 
4432 class SysColourChangedEventPtr(SysColourChangedEvent
): 
4433     def __init__(self
, this
): 
4435         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4436         self
.__class
__ = SysColourChangedEvent
 
4437 _core_
.SysColourChangedEvent_swigregister(SysColourChangedEventPtr
) 
4439 #--------------------------------------------------------------------------- 
4441 class MouseCaptureChangedEvent(Event
): 
4442     """Proxy of C++ MouseCaptureChangedEvent class""" 
4444         return "<%s.%s; proxy of C++ wxMouseCaptureChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4445     def __init__(self
, *args
, **kwargs
): 
4446         """__init__(self, int winid=0, Window gainedCapture=None) -> MouseCaptureChangedEvent""" 
4447         newobj 
= _core_
.new_MouseCaptureChangedEvent(*args
, **kwargs
) 
4448         self
.this 
= newobj
.this
 
4451     def GetCapturedWindow(*args
, **kwargs
): 
4452         """GetCapturedWindow(self) -> Window""" 
4453         return _core_
.MouseCaptureChangedEvent_GetCapturedWindow(*args
, **kwargs
) 
4456 class MouseCaptureChangedEventPtr(MouseCaptureChangedEvent
): 
4457     def __init__(self
, this
): 
4459         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4460         self
.__class
__ = MouseCaptureChangedEvent
 
4461 _core_
.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEventPtr
) 
4463 #--------------------------------------------------------------------------- 
4465 class DisplayChangedEvent(Event
): 
4466     """Proxy of C++ DisplayChangedEvent class""" 
4468         return "<%s.%s; proxy of C++ wxDisplayChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4469     def __init__(self
, *args
, **kwargs
): 
4470         """__init__(self) -> DisplayChangedEvent""" 
4471         newobj 
= _core_
.new_DisplayChangedEvent(*args
, **kwargs
) 
4472         self
.this 
= newobj
.this
 
4476 class DisplayChangedEventPtr(DisplayChangedEvent
): 
4477     def __init__(self
, this
): 
4479         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4480         self
.__class
__ = DisplayChangedEvent
 
4481 _core_
.DisplayChangedEvent_swigregister(DisplayChangedEventPtr
) 
4483 #--------------------------------------------------------------------------- 
4485 class PaletteChangedEvent(Event
): 
4486     """Proxy of C++ PaletteChangedEvent class""" 
4488         return "<%s.%s; proxy of C++ wxPaletteChangedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4489     def __init__(self
, *args
, **kwargs
): 
4490         """__init__(self, int id=0) -> PaletteChangedEvent""" 
4491         newobj 
= _core_
.new_PaletteChangedEvent(*args
, **kwargs
) 
4492         self
.this 
= newobj
.this
 
4495     def SetChangedWindow(*args
, **kwargs
): 
4496         """SetChangedWindow(self, Window win)""" 
4497         return _core_
.PaletteChangedEvent_SetChangedWindow(*args
, **kwargs
) 
4499     def GetChangedWindow(*args
, **kwargs
): 
4500         """GetChangedWindow(self) -> Window""" 
4501         return _core_
.PaletteChangedEvent_GetChangedWindow(*args
, **kwargs
) 
4504 class PaletteChangedEventPtr(PaletteChangedEvent
): 
4505     def __init__(self
, this
): 
4507         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4508         self
.__class
__ = PaletteChangedEvent
 
4509 _core_
.PaletteChangedEvent_swigregister(PaletteChangedEventPtr
) 
4511 #--------------------------------------------------------------------------- 
4513 class QueryNewPaletteEvent(Event
): 
4514     """Proxy of C++ QueryNewPaletteEvent class""" 
4516         return "<%s.%s; proxy of C++ wxQueryNewPaletteEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4517     def __init__(self
, *args
, **kwargs
): 
4518         """__init__(self, int winid=0) -> QueryNewPaletteEvent""" 
4519         newobj 
= _core_
.new_QueryNewPaletteEvent(*args
, **kwargs
) 
4520         self
.this 
= newobj
.this
 
4523     def SetPaletteRealized(*args
, **kwargs
): 
4524         """SetPaletteRealized(self, bool realized)""" 
4525         return _core_
.QueryNewPaletteEvent_SetPaletteRealized(*args
, **kwargs
) 
4527     def GetPaletteRealized(*args
, **kwargs
): 
4528         """GetPaletteRealized(self) -> bool""" 
4529         return _core_
.QueryNewPaletteEvent_GetPaletteRealized(*args
, **kwargs
) 
4532 class QueryNewPaletteEventPtr(QueryNewPaletteEvent
): 
4533     def __init__(self
, this
): 
4535         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4536         self
.__class
__ = QueryNewPaletteEvent
 
4537 _core_
.QueryNewPaletteEvent_swigregister(QueryNewPaletteEventPtr
) 
4539 #--------------------------------------------------------------------------- 
4541 class NavigationKeyEvent(Event
): 
4542     """Proxy of C++ NavigationKeyEvent class""" 
4544         return "<%s.%s; proxy of C++ wxNavigationKeyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4545     def __init__(self
, *args
, **kwargs
): 
4546         """__init__(self) -> NavigationKeyEvent""" 
4547         newobj 
= _core_
.new_NavigationKeyEvent(*args
, **kwargs
) 
4548         self
.this 
= newobj
.this
 
4551     def GetDirection(*args
, **kwargs
): 
4552         """GetDirection(self) -> bool""" 
4553         return _core_
.NavigationKeyEvent_GetDirection(*args
, **kwargs
) 
4555     def SetDirection(*args
, **kwargs
): 
4556         """SetDirection(self, bool forward)""" 
4557         return _core_
.NavigationKeyEvent_SetDirection(*args
, **kwargs
) 
4559     def IsWindowChange(*args
, **kwargs
): 
4560         """IsWindowChange(self) -> bool""" 
4561         return _core_
.NavigationKeyEvent_IsWindowChange(*args
, **kwargs
) 
4563     def SetWindowChange(*args
, **kwargs
): 
4564         """SetWindowChange(self, bool ischange)""" 
4565         return _core_
.NavigationKeyEvent_SetWindowChange(*args
, **kwargs
) 
4567     def SetFlags(*args
, **kwargs
): 
4568         """SetFlags(self, long flags)""" 
4569         return _core_
.NavigationKeyEvent_SetFlags(*args
, **kwargs
) 
4571     def GetCurrentFocus(*args
, **kwargs
): 
4572         """GetCurrentFocus(self) -> Window""" 
4573         return _core_
.NavigationKeyEvent_GetCurrentFocus(*args
, **kwargs
) 
4575     def SetCurrentFocus(*args
, **kwargs
): 
4576         """SetCurrentFocus(self, Window win)""" 
4577         return _core_
.NavigationKeyEvent_SetCurrentFocus(*args
, **kwargs
) 
4579     IsBackward 
= _core_
.NavigationKeyEvent_IsBackward
 
4580     IsForward 
= _core_
.NavigationKeyEvent_IsForward
 
4581     WinChange 
= _core_
.NavigationKeyEvent_WinChange
 
4583 class NavigationKeyEventPtr(NavigationKeyEvent
): 
4584     def __init__(self
, this
): 
4586         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4587         self
.__class
__ = NavigationKeyEvent
 
4588 _core_
.NavigationKeyEvent_swigregister(NavigationKeyEventPtr
) 
4590 #--------------------------------------------------------------------------- 
4592 class WindowCreateEvent(CommandEvent
): 
4593     """Proxy of C++ WindowCreateEvent class""" 
4595         return "<%s.%s; proxy of C++ wxWindowCreateEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4596     def __init__(self
, *args
, **kwargs
): 
4597         """__init__(self, Window win=None) -> WindowCreateEvent""" 
4598         newobj 
= _core_
.new_WindowCreateEvent(*args
, **kwargs
) 
4599         self
.this 
= newobj
.this
 
4602     def GetWindow(*args
, **kwargs
): 
4603         """GetWindow(self) -> Window""" 
4604         return _core_
.WindowCreateEvent_GetWindow(*args
, **kwargs
) 
4607 class WindowCreateEventPtr(WindowCreateEvent
): 
4608     def __init__(self
, this
): 
4610         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4611         self
.__class
__ = WindowCreateEvent
 
4612 _core_
.WindowCreateEvent_swigregister(WindowCreateEventPtr
) 
4614 class WindowDestroyEvent(CommandEvent
): 
4615     """Proxy of C++ WindowDestroyEvent class""" 
4617         return "<%s.%s; proxy of C++ wxWindowDestroyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4618     def __init__(self
, *args
, **kwargs
): 
4619         """__init__(self, Window win=None) -> WindowDestroyEvent""" 
4620         newobj 
= _core_
.new_WindowDestroyEvent(*args
, **kwargs
) 
4621         self
.this 
= newobj
.this
 
4624     def GetWindow(*args
, **kwargs
): 
4625         """GetWindow(self) -> Window""" 
4626         return _core_
.WindowDestroyEvent_GetWindow(*args
, **kwargs
) 
4629 class WindowDestroyEventPtr(WindowDestroyEvent
): 
4630     def __init__(self
, this
): 
4632         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4633         self
.__class
__ = WindowDestroyEvent
 
4634 _core_
.WindowDestroyEvent_swigregister(WindowDestroyEventPtr
) 
4636 #--------------------------------------------------------------------------- 
4638 class ContextMenuEvent(CommandEvent
): 
4639     """Proxy of C++ ContextMenuEvent class""" 
4641         return "<%s.%s; proxy of C++ wxContextMenuEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4642     def __init__(self
, *args
, **kwargs
): 
4643         """__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent""" 
4644         newobj 
= _core_
.new_ContextMenuEvent(*args
, **kwargs
) 
4645         self
.this 
= newobj
.this
 
4648     def GetPosition(*args
, **kwargs
): 
4649         """GetPosition(self) -> Point""" 
4650         return _core_
.ContextMenuEvent_GetPosition(*args
, **kwargs
) 
4652     def SetPosition(*args
, **kwargs
): 
4653         """SetPosition(self, Point pos)""" 
4654         return _core_
.ContextMenuEvent_SetPosition(*args
, **kwargs
) 
4657 class ContextMenuEventPtr(ContextMenuEvent
): 
4658     def __init__(self
, this
): 
4660         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4661         self
.__class
__ = ContextMenuEvent
 
4662 _core_
.ContextMenuEvent_swigregister(ContextMenuEventPtr
) 
4664 #--------------------------------------------------------------------------- 
4666 IDLE_PROCESS_ALL 
= _core_
.IDLE_PROCESS_ALL
 
4667 IDLE_PROCESS_SPECIFIED 
= _core_
.IDLE_PROCESS_SPECIFIED
 
4668 class IdleEvent(Event
): 
4669     """Proxy of C++ IdleEvent class""" 
4671         return "<%s.%s; proxy of C++ wxIdleEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4672     def __init__(self
, *args
, **kwargs
): 
4673         """__init__(self) -> IdleEvent""" 
4674         newobj 
= _core_
.new_IdleEvent(*args
, **kwargs
) 
4675         self
.this 
= newobj
.this
 
4678     def RequestMore(*args
, **kwargs
): 
4679         """RequestMore(self, bool needMore=True)""" 
4680         return _core_
.IdleEvent_RequestMore(*args
, **kwargs
) 
4682     def MoreRequested(*args
, **kwargs
): 
4683         """MoreRequested(self) -> bool""" 
4684         return _core_
.IdleEvent_MoreRequested(*args
, **kwargs
) 
4686     def SetMode(*args
, **kwargs
): 
4687         """SetMode(int mode)""" 
4688         return _core_
.IdleEvent_SetMode(*args
, **kwargs
) 
4690     SetMode 
= staticmethod(SetMode
) 
4691     def GetMode(*args
, **kwargs
): 
4692         """GetMode() -> int""" 
4693         return _core_
.IdleEvent_GetMode(*args
, **kwargs
) 
4695     GetMode 
= staticmethod(GetMode
) 
4696     def CanSend(*args
, **kwargs
): 
4697         """CanSend(Window win) -> bool""" 
4698         return _core_
.IdleEvent_CanSend(*args
, **kwargs
) 
4700     CanSend 
= staticmethod(CanSend
) 
4702 class IdleEventPtr(IdleEvent
): 
4703     def __init__(self
, this
): 
4705         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4706         self
.__class
__ = IdleEvent
 
4707 _core_
.IdleEvent_swigregister(IdleEventPtr
) 
4709 def IdleEvent_SetMode(*args
, **kwargs
): 
4710     """IdleEvent_SetMode(int mode)""" 
4711     return _core_
.IdleEvent_SetMode(*args
, **kwargs
) 
4713 def IdleEvent_GetMode(*args
, **kwargs
): 
4714     """IdleEvent_GetMode() -> int""" 
4715     return _core_
.IdleEvent_GetMode(*args
, **kwargs
) 
4717 def IdleEvent_CanSend(*args
, **kwargs
): 
4718     """IdleEvent_CanSend(Window win) -> bool""" 
4719     return _core_
.IdleEvent_CanSend(*args
, **kwargs
) 
4721 #--------------------------------------------------------------------------- 
4723 class PyEvent(Event
): 
4724     """Proxy of C++ PyEvent class""" 
4726         return "<%s.%s; proxy of C++ wxPyEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4727     def __init__(self
, *args
, **kwargs
): 
4728         """__init__(self, int winid=0, wxEventType commandType=wxEVT_NULL) -> PyEvent""" 
4729         newobj 
= _core_
.new_PyEvent(*args
, **kwargs
) 
4730         self
.this 
= newobj
.this
 
4735     def __del__(self
, destroy
=_core_
.delete_PyEvent
): 
4738             if self
.thisown
: destroy(self
) 
4741     def SetSelf(*args
, **kwargs
): 
4742         """SetSelf(self, PyObject self)""" 
4743         return _core_
.PyEvent_SetSelf(*args
, **kwargs
) 
4745     def GetSelf(*args
, **kwargs
): 
4746         """GetSelf(self) -> PyObject""" 
4747         return _core_
.PyEvent_GetSelf(*args
, **kwargs
) 
4750 class PyEventPtr(PyEvent
): 
4751     def __init__(self
, this
): 
4753         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4754         self
.__class
__ = PyEvent
 
4755 _core_
.PyEvent_swigregister(PyEventPtr
) 
4757 class PyCommandEvent(CommandEvent
): 
4758     """Proxy of C++ PyCommandEvent class""" 
4760         return "<%s.%s; proxy of C++ wxPyCommandEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4761     def __init__(self
, *args
, **kwargs
): 
4762         """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> PyCommandEvent""" 
4763         newobj 
= _core_
.new_PyCommandEvent(*args
, **kwargs
) 
4764         self
.this 
= newobj
.this
 
4769     def __del__(self
, destroy
=_core_
.delete_PyCommandEvent
): 
4772             if self
.thisown
: destroy(self
) 
4775     def SetSelf(*args
, **kwargs
): 
4776         """SetSelf(self, PyObject self)""" 
4777         return _core_
.PyCommandEvent_SetSelf(*args
, **kwargs
) 
4779     def GetSelf(*args
, **kwargs
): 
4780         """GetSelf(self) -> PyObject""" 
4781         return _core_
.PyCommandEvent_GetSelf(*args
, **kwargs
) 
4784 class PyCommandEventPtr(PyCommandEvent
): 
4785     def __init__(self
, this
): 
4787         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
4788         self
.__class
__ = PyCommandEvent
 
4789 _core_
.PyCommandEvent_swigregister(PyCommandEventPtr
) 
4791 #--------------------------------------------------------------------------- 
4793 PYAPP_ASSERT_SUPPRESS 
= _core_
.PYAPP_ASSERT_SUPPRESS
 
4794 PYAPP_ASSERT_EXCEPTION 
= _core_
.PYAPP_ASSERT_EXCEPTION
 
4795 PYAPP_ASSERT_DIALOG 
= _core_
.PYAPP_ASSERT_DIALOG
 
4796 PYAPP_ASSERT_LOG 
= _core_
.PYAPP_ASSERT_LOG
 
4797 PRINT_WINDOWS 
= _core_
.PRINT_WINDOWS
 
4798 PRINT_POSTSCRIPT 
= _core_
.PRINT_POSTSCRIPT
 
4799 class PyApp(EvtHandler
): 
4801     The ``wx.PyApp`` class is an *implementation detail*, please use the 
4802     `wx.App` class (or some other derived class) instead. 
4805         return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
4806     def __init__(self
, *args
, **kwargs
): 
4808         __init__(self) -> PyApp 
4810         Create a new application object, starting the bootstrap process. 
4812         newobj 
= _core_
.new_PyApp(*args
, **kwargs
) 
4813         self
.this 
= newobj
.this
 
4816         self
._setCallbackInfo
(self
, PyApp
) 
4817         self
._setOORInfo
(self
) 
4819     def __del__(self
, destroy
=_core_
.delete_PyApp
): 
4822             if self
.thisown
: destroy(self
) 
4825     def _setCallbackInfo(*args
, **kwargs
): 
4826         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
4827         return _core_
.PyApp__setCallbackInfo(*args
, **kwargs
) 
4829     def GetAppName(*args
, **kwargs
): 
4831         GetAppName(self) -> String 
4833         Get the application name. 
4835         return _core_
.PyApp_GetAppName(*args
, **kwargs
) 
4837     def SetAppName(*args
, **kwargs
): 
4839         SetAppName(self, String name) 
4841         Set the application name. This value may be used automatically by 
4842         `wx.Config` and such. 
4844         return _core_
.PyApp_SetAppName(*args
, **kwargs
) 
4846     def GetClassName(*args
, **kwargs
): 
4848         GetClassName(self) -> String 
4850         Get the application's class name. 
4852         return _core_
.PyApp_GetClassName(*args
, **kwargs
) 
4854     def SetClassName(*args
, **kwargs
): 
4856         SetClassName(self, String name) 
4858         Set the application's class name. This value may be used for 
4859         X-resources if applicable for the platform 
4861         return _core_
.PyApp_SetClassName(*args
, **kwargs
) 
4863     def GetVendorName(*args
, **kwargs
): 
4865         GetVendorName(self) -> String 
4867         Get the application's vendor name. 
4869         return _core_
.PyApp_GetVendorName(*args
, **kwargs
) 
4871     def SetVendorName(*args
, **kwargs
): 
4873         SetVendorName(self, String name) 
4875         Set the application's vendor name. This value may be used 
4876         automatically by `wx.Config` and such. 
4878         return _core_
.PyApp_SetVendorName(*args
, **kwargs
) 
4880     def GetTraits(*args
, **kwargs
): 
4882         GetTraits(self) -> wxAppTraits 
4884         Return (and create if necessary) the app traits object to which we 
4885         delegate for everything which either should be configurable by the 
4886         user (then he can change the default behaviour simply by overriding 
4887         CreateTraits() and returning his own traits object) or which is 
4888         GUI/console dependent as then wx.AppTraits allows us to abstract the 
4889         differences behind the common facade. 
4891         :todo: Add support for overriding CreateAppTraits in wxPython. 
4893         return _core_
.PyApp_GetTraits(*args
, **kwargs
) 
4895     def ProcessPendingEvents(*args
, **kwargs
): 
4897         ProcessPendingEvents(self) 
4899         Process all events in the Pending Events list -- it is necessary to 
4900         call this function to process posted events. This normally happens 
4901         during each event loop iteration. 
4903         return _core_
.PyApp_ProcessPendingEvents(*args
, **kwargs
) 
4905     def Yield(*args
, **kwargs
): 
4907         Yield(self, bool onlyIfNeeded=False) -> bool 
4909         Process all currently pending events right now, instead of waiting 
4910         until return to the event loop.  It is an error to call ``Yield`` 
4911         recursively unless the value of ``onlyIfNeeded`` is True. 
4913         :warning: This function is dangerous as it can lead to unexpected 
4914               reentrancies (i.e. when called from an event handler it may 
4915               result in calling the same event handler again), use with 
4916               extreme care or, better, don't use at all! 
4918         :see: `wx.Yield`, `wx.YieldIfNeeded`, `wx.SafeYield` 
4921         return _core_
.PyApp_Yield(*args
, **kwargs
) 
4923     def WakeUpIdle(*args
, **kwargs
): 
4927         Make sure that idle events are sent again. 
4928         :see: `wx.WakeUpIdle` 
4930         return _core_
.PyApp_WakeUpIdle(*args
, **kwargs
) 
4932     def IsMainLoopRunning(*args
, **kwargs
): 
4934         IsMainLoopRunning() -> bool 
4936         Returns True if we're running the main loop, i.e. if the events can 
4937         currently be dispatched. 
4939         return _core_
.PyApp_IsMainLoopRunning(*args
, **kwargs
) 
4941     IsMainLoopRunning 
= staticmethod(IsMainLoopRunning
) 
4942     def MainLoop(*args
, **kwargs
): 
4944         MainLoop(self) -> int 
4946         Execute the main GUI loop, the function doesn't normally return until 
4947         all top level windows have been closed and destroyed. 
4949         return _core_
.PyApp_MainLoop(*args
, **kwargs
) 
4951     def Exit(*args
, **kwargs
): 
4955         Exit the main loop thus terminating the application. 
4958         return _core_
.PyApp_Exit(*args
, **kwargs
) 
4960     def ExitMainLoop(*args
, **kwargs
): 
4964         Exit the main GUI loop during the next iteration of the main 
4965         loop, (i.e. it does not stop the program immediately!) 
4967         return _core_
.PyApp_ExitMainLoop(*args
, **kwargs
) 
4969     def Pending(*args
, **kwargs
): 
4971         Pending(self) -> bool 
4973         Returns True if there are unprocessed events in the event queue. 
4975         return _core_
.PyApp_Pending(*args
, **kwargs
) 
4977     def Dispatch(*args
, **kwargs
): 
4979         Dispatch(self) -> bool 
4981         Process the first event in the event queue (blocks until an event 
4982         appears if there are none currently) 
4984         return _core_
.PyApp_Dispatch(*args
, **kwargs
) 
4986     def ProcessIdle(*args
, **kwargs
): 
4988         ProcessIdle(self) -> bool 
4990         Called from the MainLoop when the application becomes idle (there are 
4991         no pending events) and sends a `wx.IdleEvent` to all interested 
4992         parties.  Returns True if more idle events are needed, False if not. 
4994         return _core_
.PyApp_ProcessIdle(*args
, **kwargs
) 
4996     def SendIdleEvents(*args
, **kwargs
): 
4998         SendIdleEvents(self, Window win, IdleEvent event) -> bool 
5000         Send idle event to window and all subwindows.  Returns True if more 
5001         idle time is requested. 
5003         return _core_
.PyApp_SendIdleEvents(*args
, **kwargs
) 
5005     def IsActive(*args
, **kwargs
): 
5007         IsActive(self) -> bool 
5009         Return True if our app has focus. 
5011         return _core_
.PyApp_IsActive(*args
, **kwargs
) 
5013     def SetTopWindow(*args
, **kwargs
): 
5015         SetTopWindow(self, Window win) 
5017         Set the *main* top level window 
5019         return _core_
.PyApp_SetTopWindow(*args
, **kwargs
) 
5021     def GetTopWindow(*args
, **kwargs
): 
5023         GetTopWindow(self) -> Window 
5025         Return the *main* top level window (if it hadn't been set previously 
5026         with SetTopWindow(), will return just some top level window and, if 
5027         there not any, will return None) 
5029         return _core_
.PyApp_GetTopWindow(*args
, **kwargs
) 
5031     def SetExitOnFrameDelete(*args
, **kwargs
): 
5033         SetExitOnFrameDelete(self, bool flag) 
5035         Control the exit behaviour: by default, the program will exit the main 
5036         loop (and so, usually, terminate) when the last top-level program 
5037         window is deleted.  Beware that if you disable this behaviour (with 
5038         SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() 
5039         explicitly from somewhere. 
5041         return _core_
.PyApp_SetExitOnFrameDelete(*args
, **kwargs
) 
5043     def GetExitOnFrameDelete(*args
, **kwargs
): 
5045         GetExitOnFrameDelete(self) -> bool 
5047         Get the current exit behaviour setting. 
5049         return _core_
.PyApp_GetExitOnFrameDelete(*args
, **kwargs
) 
5051     def SetUseBestVisual(*args
, **kwargs
): 
5053         SetUseBestVisual(self, bool flag) 
5055         Set whether the app should try to use the best available visual on 
5056         systems where more than one is available, (Sun, SGI, XFree86 4, etc.) 
5058         return _core_
.PyApp_SetUseBestVisual(*args
, **kwargs
) 
5060     def GetUseBestVisual(*args
, **kwargs
): 
5062         GetUseBestVisual(self) -> bool 
5064         Get current UseBestVisual setting. 
5066         return _core_
.PyApp_GetUseBestVisual(*args
, **kwargs
) 
5068     def SetPrintMode(*args
, **kwargs
): 
5069         """SetPrintMode(self, int mode)""" 
5070         return _core_
.PyApp_SetPrintMode(*args
, **kwargs
) 
5072     def GetPrintMode(*args
, **kwargs
): 
5073         """GetPrintMode(self) -> int""" 
5074         return _core_
.PyApp_GetPrintMode(*args
, **kwargs
) 
5076     def SetAssertMode(*args
, **kwargs
): 
5078         SetAssertMode(self, int mode) 
5080         Set the OnAssert behaviour for debug and hybrid builds. 
5082         return _core_
.PyApp_SetAssertMode(*args
, **kwargs
) 
5084     def GetAssertMode(*args
, **kwargs
): 
5086         GetAssertMode(self) -> int 
5088         Get the current OnAssert behaviour setting. 
5090         return _core_
.PyApp_GetAssertMode(*args
, **kwargs
) 
5092     def GetMacSupportPCMenuShortcuts(*args
, **kwargs
): 
5093         """GetMacSupportPCMenuShortcuts() -> bool""" 
5094         return _core_
.PyApp_GetMacSupportPCMenuShortcuts(*args
, **kwargs
) 
5096     GetMacSupportPCMenuShortcuts 
= staticmethod(GetMacSupportPCMenuShortcuts
) 
5097     def GetMacAboutMenuItemId(*args
, **kwargs
): 
5098         """GetMacAboutMenuItemId() -> long""" 
5099         return _core_
.PyApp_GetMacAboutMenuItemId(*args
, **kwargs
) 
5101     GetMacAboutMenuItemId 
= staticmethod(GetMacAboutMenuItemId
) 
5102     def GetMacPreferencesMenuItemId(*args
, **kwargs
): 
5103         """GetMacPreferencesMenuItemId() -> long""" 
5104         return _core_
.PyApp_GetMacPreferencesMenuItemId(*args
, **kwargs
) 
5106     GetMacPreferencesMenuItemId 
= staticmethod(GetMacPreferencesMenuItemId
) 
5107     def GetMacExitMenuItemId(*args
, **kwargs
): 
5108         """GetMacExitMenuItemId() -> long""" 
5109         return _core_
.PyApp_GetMacExitMenuItemId(*args
, **kwargs
) 
5111     GetMacExitMenuItemId 
= staticmethod(GetMacExitMenuItemId
) 
5112     def GetMacHelpMenuTitleName(*args
, **kwargs
): 
5113         """GetMacHelpMenuTitleName() -> String""" 
5114         return _core_
.PyApp_GetMacHelpMenuTitleName(*args
, **kwargs
) 
5116     GetMacHelpMenuTitleName 
= staticmethod(GetMacHelpMenuTitleName
) 
5117     def SetMacSupportPCMenuShortcuts(*args
, **kwargs
): 
5118         """SetMacSupportPCMenuShortcuts(bool val)""" 
5119         return _core_
.PyApp_SetMacSupportPCMenuShortcuts(*args
, **kwargs
) 
5121     SetMacSupportPCMenuShortcuts 
= staticmethod(SetMacSupportPCMenuShortcuts
) 
5122     def SetMacAboutMenuItemId(*args
, **kwargs
): 
5123         """SetMacAboutMenuItemId(long val)""" 
5124         return _core_
.PyApp_SetMacAboutMenuItemId(*args
, **kwargs
) 
5126     SetMacAboutMenuItemId 
= staticmethod(SetMacAboutMenuItemId
) 
5127     def SetMacPreferencesMenuItemId(*args
, **kwargs
): 
5128         """SetMacPreferencesMenuItemId(long val)""" 
5129         return _core_
.PyApp_SetMacPreferencesMenuItemId(*args
, **kwargs
) 
5131     SetMacPreferencesMenuItemId 
= staticmethod(SetMacPreferencesMenuItemId
) 
5132     def SetMacExitMenuItemId(*args
, **kwargs
): 
5133         """SetMacExitMenuItemId(long val)""" 
5134         return _core_
.PyApp_SetMacExitMenuItemId(*args
, **kwargs
) 
5136     SetMacExitMenuItemId 
= staticmethod(SetMacExitMenuItemId
) 
5137     def SetMacHelpMenuTitleName(*args
, **kwargs
): 
5138         """SetMacHelpMenuTitleName(String val)""" 
5139         return _core_
.PyApp_SetMacHelpMenuTitleName(*args
, **kwargs
) 
5141     SetMacHelpMenuTitleName 
= staticmethod(SetMacHelpMenuTitleName
) 
5142     def _BootstrapApp(*args
, **kwargs
): 
5146         For internal use only 
5148         return _core_
.PyApp__BootstrapApp(*args
, **kwargs
) 
5150     def GetComCtl32Version(*args
, **kwargs
): 
5152         GetComCtl32Version() -> int 
5154         Returns 400, 470, 471, etc. for comctl32.dll 4.00, 4.70, 4.71 or 0 if 
5155         it wasn't found at all.  Raises an exception on non-Windows platforms. 
5157         return _core_
.PyApp_GetComCtl32Version(*args
, **kwargs
) 
5159     GetComCtl32Version 
= staticmethod(GetComCtl32Version
) 
5161 class PyAppPtr(PyApp
): 
5162     def __init__(self
, this
): 
5164         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5165         self
.__class
__ = PyApp
 
5166 _core_
.PyApp_swigregister(PyAppPtr
) 
5168 def PyApp_IsMainLoopRunning(*args
, **kwargs
): 
5170     PyApp_IsMainLoopRunning() -> bool 
5172     Returns True if we're running the main loop, i.e. if the events can 
5173     currently be dispatched. 
5175     return _core_
.PyApp_IsMainLoopRunning(*args
, **kwargs
) 
5177 def PyApp_GetMacSupportPCMenuShortcuts(*args
, **kwargs
): 
5178     """PyApp_GetMacSupportPCMenuShortcuts() -> bool""" 
5179     return _core_
.PyApp_GetMacSupportPCMenuShortcuts(*args
, **kwargs
) 
5181 def PyApp_GetMacAboutMenuItemId(*args
, **kwargs
): 
5182     """PyApp_GetMacAboutMenuItemId() -> long""" 
5183     return _core_
.PyApp_GetMacAboutMenuItemId(*args
, **kwargs
) 
5185 def PyApp_GetMacPreferencesMenuItemId(*args
, **kwargs
): 
5186     """PyApp_GetMacPreferencesMenuItemId() -> long""" 
5187     return _core_
.PyApp_GetMacPreferencesMenuItemId(*args
, **kwargs
) 
5189 def PyApp_GetMacExitMenuItemId(*args
, **kwargs
): 
5190     """PyApp_GetMacExitMenuItemId() -> long""" 
5191     return _core_
.PyApp_GetMacExitMenuItemId(*args
, **kwargs
) 
5193 def PyApp_GetMacHelpMenuTitleName(*args
, **kwargs
): 
5194     """PyApp_GetMacHelpMenuTitleName() -> String""" 
5195     return _core_
.PyApp_GetMacHelpMenuTitleName(*args
, **kwargs
) 
5197 def PyApp_SetMacSupportPCMenuShortcuts(*args
, **kwargs
): 
5198     """PyApp_SetMacSupportPCMenuShortcuts(bool val)""" 
5199     return _core_
.PyApp_SetMacSupportPCMenuShortcuts(*args
, **kwargs
) 
5201 def PyApp_SetMacAboutMenuItemId(*args
, **kwargs
): 
5202     """PyApp_SetMacAboutMenuItemId(long val)""" 
5203     return _core_
.PyApp_SetMacAboutMenuItemId(*args
, **kwargs
) 
5205 def PyApp_SetMacPreferencesMenuItemId(*args
, **kwargs
): 
5206     """PyApp_SetMacPreferencesMenuItemId(long val)""" 
5207     return _core_
.PyApp_SetMacPreferencesMenuItemId(*args
, **kwargs
) 
5209 def PyApp_SetMacExitMenuItemId(*args
, **kwargs
): 
5210     """PyApp_SetMacExitMenuItemId(long val)""" 
5211     return _core_
.PyApp_SetMacExitMenuItemId(*args
, **kwargs
) 
5213 def PyApp_SetMacHelpMenuTitleName(*args
, **kwargs
): 
5214     """PyApp_SetMacHelpMenuTitleName(String val)""" 
5215     return _core_
.PyApp_SetMacHelpMenuTitleName(*args
, **kwargs
) 
5217 def PyApp_GetComCtl32Version(*args
, **kwargs
): 
5219     PyApp_GetComCtl32Version() -> int 
5221     Returns 400, 470, 471, etc. for comctl32.dll 4.00, 4.70, 4.71 or 0 if 
5222     it wasn't found at all.  Raises an exception on non-Windows platforms. 
5224     return _core_
.PyApp_GetComCtl32Version(*args
, **kwargs
) 
5226 #--------------------------------------------------------------------------- 
5229 def Exit(*args
, **kwargs
): 
5233     Force an exit of the application.  Convenience for wx.GetApp().Exit() 
5235     return _core_
.Exit(*args
, **kwargs
) 
5237 def Yield(*args
, **kwargs
): 
5241     Yield to other apps/messages.  Convenience for wx.GetApp().Yield() 
5243     return _core_
.Yield(*args
, **kwargs
) 
5245 def YieldIfNeeded(*args
, **kwargs
): 
5247     YieldIfNeeded() -> bool 
5249     Yield to other apps/messages.  Convenience for wx.GetApp().Yield(True) 
5251     return _core_
.YieldIfNeeded(*args
, **kwargs
) 
5253 def SafeYield(*args
, **kwargs
): 
5255     SafeYield(Window win=None, bool onlyIfNeeded=False) -> bool 
5257     This function is similar to `wx.Yield`, except that it disables the 
5258     user input to all program windows before calling `wx.Yield` and 
5259     re-enables it again afterwards. If ``win`` is not None, this window 
5260     will remain enabled, allowing the implementation of some limited user 
5263     :Returns: the result of the call to `wx.Yield`. 
5265     return _core_
.SafeYield(*args
, **kwargs
) 
5267 def WakeUpIdle(*args
, **kwargs
): 
5271     Cause the message queue to become empty again, so idle events will be 
5274     return _core_
.WakeUpIdle(*args
, **kwargs
) 
5276 def PostEvent(*args
, **kwargs
): 
5278     PostEvent(EvtHandler dest, Event event) 
5280     Send an event to a window or other wx.EvtHandler to be processed 
5283     return _core_
.PostEvent(*args
, **kwargs
) 
5285 def App_CleanUp(*args
, **kwargs
): 
5289     For internal use only, it is used to cleanup after wxWidgets when 
5292     return _core_
.App_CleanUp(*args
, **kwargs
) 
5294 def GetApp(*args
, **kwargs
): 
5298     Return a reference to the current wx.App object. 
5300     return _core_
.GetApp(*args
, **kwargs
) 
5302 def SetDefaultPyEncoding(*args
, **kwargs
): 
5304     SetDefaultPyEncoding(string encoding) 
5306     Sets the encoding that wxPython will use when it needs to convert a 
5307     Python string or unicode object to or from a wxString. 
5309     The default encoding is the value of ``locale.getdefaultlocale()[1]`` 
5310     but please be aware that the default encoding within the same locale 
5311     may be slightly different on different platforms.  For example, please 
5312     see http://www.alanwood.net/demos/charsetdiffs.html for differences 
5313     between the common latin/roman encodings. 
5315     return _core_
.SetDefaultPyEncoding(*args
, **kwargs
) 
5317 def GetDefaultPyEncoding(*args
, **kwargs
): 
5319     GetDefaultPyEncoding() -> string 
5321     Gets the current encoding that wxPython will use when it needs to 
5322     convert a Python string or unicode object to or from a wxString. 
5324     return _core_
.GetDefaultPyEncoding(*args
, **kwargs
) 
5325 #---------------------------------------------------------------------- 
5327 class PyOnDemandOutputWindow
: 
5329     A class that can be used for redirecting Python's stdout and 
5330     stderr streams.  It will do nothing until something is wrriten to 
5331     the stream at which point it will create a Frame with a text area 
5332     and write the text there. 
5334     def __init__(self
, title 
= "wxPython: stdout/stderr"): 
5337         self
.pos    
= wx
.DefaultPosition
 
5338         self
.size   
= (450, 300) 
5341     def SetParent(self
, parent
): 
5342         """Set the window to be used as the popup Frame's parent.""" 
5343         self
.parent 
= parent
 
5346     def CreateOutputWindow(self
, st
): 
5347         self
.frame 
= wx
.Frame(self
.parent
, -1, self
.title
, self
.pos
, self
.size
, 
5348                               style
=wx
.DEFAULT_FRAME_STYLE
) 
5349         self
.text  
= wx
.TextCtrl(self
.frame
, -1, "", 
5350                                  style
=wx
.TE_MULTILINE|wx
.TE_READONLY
) 
5351         self
.text
.AppendText(st
) 
5352         self
.frame
.Show(True) 
5353         EVT_CLOSE(self
.frame
, self
.OnCloseWindow
) 
5356     def OnCloseWindow(self
, event
): 
5357         if self
.frame 
is not None: 
5358             self
.frame
.Destroy() 
5363     # These methods provide the file-like output behaviour. 
5364     def write(self
, text
): 
5366         Create the output window if needed and write the string to it. 
5367         If not called in the context of the gui thread then uses 
5368         CallAfter to do the work there. 
5370         if self
.frame 
is None: 
5371             if not wx
.Thread_IsMain(): 
5372                 wx
.CallAfter(self
.CreateOutputWindow
, text
) 
5374                 self
.CreateOutputWindow(text
) 
5376             if not wx
.Thread_IsMain(): 
5377                 wx
.CallAfter(self
.text
.AppendText
, text
) 
5379                 self
.text
.AppendText(text
) 
5383         if self
.frame 
is not None: 
5384             wx
.CallAfter(self
.frame
.Close
) 
5392 #---------------------------------------------------------------------- 
5394 _defRedirect 
= (wx
.Platform 
== '__WXMSW__' or wx
.Platform 
== '__WXMAC__') 
5396 class App(wx
.PyApp
): 
5398     The ``wx.App`` class represents the application and is used to: 
5400       * bootstrap the wxPython system and initialize the underlying 
5402       * set and get application-wide properties 
5403       * implement the windowing system main message or event loop, 
5404         and to dispatch events to window instances 
5407     Every application must have a ``wx.App`` instance, and all 
5408     creation of UI objects should be delayed until after the 
5409     ``wx.App`` object has been created in order to ensure that the gui 
5410     platform and wxWidgets have been fully initialized. 
5412     Normally you would derive from this class and implement an 
5413     ``OnInit`` method that creates a frame and then calls 
5414     ``self.SetTopWindow(frame)``. 
5416     :see: `wx.PySimpleApp` for a simpler app class that can be used 
5420     outputWindowClass 
= PyOnDemandOutputWindow
 
5422     def __init__(self
, redirect
=_defRedirect
, filename
=None, 
5423                  useBestVisual
=False, clearSigInt
=True): 
5425         Construct a ``wx.App`` object.   
5427         :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be 
5428             redirected?  Defaults to True on Windows and Mac, False 
5429             otherwise.  If `filename` is None then output will be 
5430             redirected to a window that pops up as needed.  (You can 
5431             control what kind of window is created for the output by 
5432             resetting the class variable ``outputWindowClass`` to a 
5433             class of your choosing.) 
5435         :param filename: The name of a file to redirect output to, if 
5438         :param useBestVisual: Should the app try to use the best 
5439             available visual provided by the system (only relevant on 
5440             systems that have more than one visual.)  This parameter 
5441             must be used instead of calling `SetUseBestVisual` later 
5442             on because it must be set before the underlying GUI 
5443             toolkit is initialized. 
5445         :param clearSigInt: Should SIGINT be cleared?  This allows the 
5446             app to terminate upon a Ctrl-C in the console like other 
5449         :note: You should override OnInit to do applicaition 
5450             initialization to ensure that the system, toolkit and 
5451             wxWidgets are fully initialized. 
5453         wx
.PyApp
.__init
__(self
) 
5455         if wx
.Platform 
== "__WXMAC__": 
5458                 if not MacOS
.WMAvailable(): 
5460 This program needs access to the screen. Please run with 'pythonw', 
5461 not 'python', and only when you are logged in on the main display of 
5469         # This has to be done before OnInit 
5470         self
.SetUseBestVisual(useBestVisual
) 
5472         # Set the default handler for SIGINT.  This fixes a problem 
5473         # where if Ctrl-C is pressed in the console that started this 
5474         # app then it will not appear to do anything, (not even send 
5475         # KeyboardInterrupt???)  but will later segfault on exit.  By 
5476         # setting the default handler then the app will exit, as 
5477         # expected (depending on platform.) 
5481                 signal
.signal(signal
.SIGINT
, signal
.SIG_DFL
) 
5485         # Save and redirect the stdio to a window? 
5486         self
.stdioWin 
= None 
5487         self
.saveStdio 
= (_sys
.stdout
, _sys
.stderr
) 
5489             self
.RedirectStdio(filename
) 
5491         # Use Python's install prefix as the default   
5492         wx
.StandardPaths
.Get().SetInstallPrefix(_sys
.prefix
) 
5494         # This finishes the initialization of wxWindows and then calls 
5495         # the OnInit that should be present in the derived class 
5496         self
._BootstrapApp
() 
5501             self
.RestoreStdio()  # Just in case the MainLoop was overridden 
5506     def SetTopWindow(self
, frame
): 
5507         """Set the \"main\" top level window""" 
5509             self
.stdioWin
.SetParent(frame
) 
5510         wx
.PyApp
.SetTopWindow(self
, frame
) 
5514         """Execute the main GUI event loop""" 
5515         wx
.PyApp
.MainLoop(self
) 
5519     def RedirectStdio(self
, filename
=None): 
5520         """Redirect sys.stdout and sys.stderr to a file or a popup window.""" 
5522             _sys
.stdout 
= _sys
.stderr 
= open(filename
, 'a') 
5524             self
.stdioWin 
= self
.outputWindowClass() 
5525             _sys
.stdout 
= _sys
.stderr 
= self
.stdioWin
 
5528     def RestoreStdio(self
): 
5529         _sys
.stdout
, _sys
.stderr 
= self
.saveStdio
 
5532     def SetOutputWindowAttributes(self
, title
=None, pos
=None, size
=None): 
5534         Set the title, position and/or size of the output window if 
5535         the stdio has been redirected.  This should be called before 
5536         any output would cause the output window to be created. 
5539             if title 
is not None: 
5540                 self
.stdioWin
.title 
= title
 
5542                 self
.stdioWin
.pos 
= pos
 
5543             if size 
is not None: 
5544                 self
.stdioWin
.size 
= size
 
5549 # change from wx.PyApp_XX to wx.App_XX 
5550 App_GetMacSupportPCMenuShortcuts 
= _core_
.PyApp_GetMacSupportPCMenuShortcuts
 
5551 App_GetMacAboutMenuItemId        
= _core_
.PyApp_GetMacAboutMenuItemId
 
5552 App_GetMacPreferencesMenuItemId  
= _core_
.PyApp_GetMacPreferencesMenuItemId
 
5553 App_GetMacExitMenuItemId         
= _core_
.PyApp_GetMacExitMenuItemId
 
5554 App_GetMacHelpMenuTitleName      
= _core_
.PyApp_GetMacHelpMenuTitleName
 
5555 App_SetMacSupportPCMenuShortcuts 
= _core_
.PyApp_SetMacSupportPCMenuShortcuts
 
5556 App_SetMacAboutMenuItemId        
= _core_
.PyApp_SetMacAboutMenuItemId
 
5557 App_SetMacPreferencesMenuItemId  
= _core_
.PyApp_SetMacPreferencesMenuItemId
 
5558 App_SetMacExitMenuItemId         
= _core_
.PyApp_SetMacExitMenuItemId
 
5559 App_SetMacHelpMenuTitleName      
= _core_
.PyApp_SetMacHelpMenuTitleName
 
5560 App_GetComCtl32Version           
= _core_
.PyApp_GetComCtl32Version
 
5562 #---------------------------------------------------------------------------- 
5564 class PySimpleApp(wx
.App
): 
5566     A simple application class.  You can just create one of these and 
5567     then then make your top level windows later, and not have to worry 
5568     about OnInit.  For example:: 
5570         app = wx.PySimpleApp() 
5571         frame = wx.Frame(None, title='Hello World') 
5578     def __init__(self
, redirect
=False, filename
=None, 
5579                  useBestVisual
=False, clearSigInt
=True): 
5581         :see: `wx.App.__init__` 
5583         wx
.App
.__init
__(self
, redirect
, filename
, useBestVisual
, clearSigInt
) 
5590 # Is anybody using this one? 
5591 class PyWidgetTester(wx
.App
): 
5592     def __init__(self
, size 
= (250, 100)): 
5594         wx
.App
.__init
__(self
, 0) 
5597         self
.frame 
= wx
.Frame(None, -1, "Widget Tester", pos
=(0,0), size
=self
.size
) 
5598         self
.SetTopWindow(self
.frame
) 
5601     def SetWidget(self
, widgetClass
, *args
, **kwargs
): 
5602         w 
= widgetClass(self
.frame
, *args
, **kwargs
) 
5603         self
.frame
.Show(True) 
5605 #---------------------------------------------------------------------------- 
5606 # DO NOT hold any other references to this object.  This is how we 
5607 # know when to cleanup system resources that wxWidgets is holding.  When 
5608 # the sys module is unloaded, the refcount on sys.__wxPythonCleanup 
5609 # goes to zero and it calls the wx.App_CleanUp function. 
5611 class __wxPyCleanup
: 
5613         self
.cleanup 
= _core_
.App_CleanUp
 
5617 _sys
.__wxPythonCleanup 
= __wxPyCleanup() 
5619 ## # another possible solution, but it gets called too early... 
5621 ## atexit.register(_core_.wxApp_CleanUp) 
5624 #---------------------------------------------------------------------------- 
5626 #--------------------------------------------------------------------------- 
5628 class EventLoop(object): 
5629     """Proxy of C++ EventLoop class""" 
5631         return "<%s.%s; proxy of C++ wxEventLoop instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5632     def __init__(self
, *args
, **kwargs
): 
5633         """__init__(self) -> EventLoop""" 
5634         newobj 
= _core_
.new_EventLoop(*args
, **kwargs
) 
5635         self
.this 
= newobj
.this
 
5638     def __del__(self
, destroy
=_core_
.delete_EventLoop
): 
5641             if self
.thisown
: destroy(self
) 
5644     def Run(*args
, **kwargs
): 
5645         """Run(self) -> int""" 
5646         return _core_
.EventLoop_Run(*args
, **kwargs
) 
5648     def Exit(*args
, **kwargs
): 
5649         """Exit(self, int rc=0)""" 
5650         return _core_
.EventLoop_Exit(*args
, **kwargs
) 
5652     def Pending(*args
, **kwargs
): 
5653         """Pending(self) -> bool""" 
5654         return _core_
.EventLoop_Pending(*args
, **kwargs
) 
5656     def Dispatch(*args
, **kwargs
): 
5657         """Dispatch(self) -> bool""" 
5658         return _core_
.EventLoop_Dispatch(*args
, **kwargs
) 
5660     def IsRunning(*args
, **kwargs
): 
5661         """IsRunning(self) -> bool""" 
5662         return _core_
.EventLoop_IsRunning(*args
, **kwargs
) 
5664     def GetActive(*args
, **kwargs
): 
5665         """GetActive() -> EventLoop""" 
5666         return _core_
.EventLoop_GetActive(*args
, **kwargs
) 
5668     GetActive 
= staticmethod(GetActive
) 
5669     def SetActive(*args
, **kwargs
): 
5670         """SetActive(EventLoop loop)""" 
5671         return _core_
.EventLoop_SetActive(*args
, **kwargs
) 
5673     SetActive 
= staticmethod(SetActive
) 
5675 class EventLoopPtr(EventLoop
): 
5676     def __init__(self
, this
): 
5678         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5679         self
.__class
__ = EventLoop
 
5680 _core_
.EventLoop_swigregister(EventLoopPtr
) 
5682 def EventLoop_GetActive(*args
, **kwargs
): 
5683     """EventLoop_GetActive() -> EventLoop""" 
5684     return _core_
.EventLoop_GetActive(*args
, **kwargs
) 
5686 def EventLoop_SetActive(*args
, **kwargs
): 
5687     """EventLoop_SetActive(EventLoop loop)""" 
5688     return _core_
.EventLoop_SetActive(*args
, **kwargs
) 
5690 #--------------------------------------------------------------------------- 
5692 class AcceleratorEntry(object): 
5694     A class used to define items in an `wx.AcceleratorTable`.  wxPython 
5695     programs can choose to use wx.AcceleratorEntry objects, but using a 
5696     list of 3-tuple of integers (flags, keyCode, cmdID) usually works just 
5697     as well.  See `__init__` for  of the tuple values. 
5699     :see: `wx.AcceleratorTable` 
5702         return "<%s.%s; proxy of C++ wxAcceleratorEntry instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5703     def __init__(self
, *args
, **kwargs
): 
5705         __init__(self, int flags=0, int keyCode=0, int cmdID=0) -> AcceleratorEntry 
5707         Construct a wx.AcceleratorEntry. 
5709         newobj 
= _core_
.new_AcceleratorEntry(*args
, **kwargs
) 
5710         self
.this 
= newobj
.this
 
5713     def __del__(self
, destroy
=_core_
.delete_AcceleratorEntry
): 
5716             if self
.thisown
: destroy(self
) 
5719     def Set(*args
, **kwargs
): 
5721         Set(self, int flags, int keyCode, int cmd) 
5723         (Re)set the attributes of a wx.AcceleratorEntry. 
5726         return _core_
.AcceleratorEntry_Set(*args
, **kwargs
) 
5728     def GetFlags(*args
, **kwargs
): 
5730         GetFlags(self) -> int 
5732         Get the AcceleratorEntry's flags. 
5734         return _core_
.AcceleratorEntry_GetFlags(*args
, **kwargs
) 
5736     def GetKeyCode(*args
, **kwargs
): 
5738         GetKeyCode(self) -> int 
5740         Get the AcceleratorEntry's keycode. 
5742         return _core_
.AcceleratorEntry_GetKeyCode(*args
, **kwargs
) 
5744     def GetCommand(*args
, **kwargs
): 
5746         GetCommand(self) -> int 
5748         Get the AcceleratorEntry's command ID. 
5750         return _core_
.AcceleratorEntry_GetCommand(*args
, **kwargs
) 
5753 class AcceleratorEntryPtr(AcceleratorEntry
): 
5754     def __init__(self
, this
): 
5756         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5757         self
.__class
__ = AcceleratorEntry
 
5758 _core_
.AcceleratorEntry_swigregister(AcceleratorEntryPtr
) 
5760 class AcceleratorTable(Object
): 
5762     An accelerator table allows the application to specify a table of 
5763     keyboard shortcuts for menus or other commands. On Windows, menu or 
5764     button commands are supported; on GTK, only menu commands are 
5768         return "<%s.%s; proxy of C++ wxAcceleratorTable instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5769     def __init__(self
, *args
, **kwargs
): 
5771         __init__(entries) -> AcceleratorTable 
5773         Construct an AcceleratorTable from a list of `wx.AcceleratorEntry` 
5774         items or or of 3-tuples (flags, keyCode, cmdID) 
5776         :see: `wx.AcceleratorEntry` 
5778         newobj 
= _core_
.new_AcceleratorTable(*args
, **kwargs
) 
5779         self
.this 
= newobj
.this
 
5782     def __del__(self
, destroy
=_core_
.delete_AcceleratorTable
): 
5785             if self
.thisown
: destroy(self
) 
5788     def Ok(*args
, **kwargs
): 
5789         """Ok(self) -> bool""" 
5790         return _core_
.AcceleratorTable_Ok(*args
, **kwargs
) 
5793 class AcceleratorTablePtr(AcceleratorTable
): 
5794     def __init__(self
, this
): 
5796         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5797         self
.__class
__ = AcceleratorTable
 
5798 _core_
.AcceleratorTable_swigregister(AcceleratorTablePtr
) 
5801 def GetAccelFromString(*args
, **kwargs
): 
5802     """GetAccelFromString(String label) -> AcceleratorEntry""" 
5803     return _core_
.GetAccelFromString(*args
, **kwargs
) 
5804 #--------------------------------------------------------------------------- 
5806 class VisualAttributes(object): 
5807     """struct containing all the visual attributes of a control""" 
5809         return "<%s.%s; proxy of C++ wxVisualAttributes instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5810     def __init__(self
, *args
, **kwargs
): 
5812         __init__(self) -> VisualAttributes 
5814         struct containing all the visual attributes of a control 
5816         newobj 
= _core_
.new_VisualAttributes(*args
, **kwargs
) 
5817         self
.this 
= newobj
.this
 
5820     def __del__(self
, destroy
=_core_
.delete_VisualAttributes
): 
5823             if self
.thisown
: destroy(self
) 
5826     font 
= property(_core_
.VisualAttributes_font_get
, _core_
.VisualAttributes_font_set
) 
5827     colFg 
= property(_core_
.VisualAttributes_colFg_get
, _core_
.VisualAttributes_colFg_set
) 
5828     colBg 
= property(_core_
.VisualAttributes_colBg_get
, _core_
.VisualAttributes_colBg_set
) 
5830 class VisualAttributesPtr(VisualAttributes
): 
5831     def __init__(self
, this
): 
5833         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
5834         self
.__class
__ = VisualAttributes
 
5835 _core_
.VisualAttributes_swigregister(VisualAttributesPtr
) 
5836 NullAcceleratorTable 
= cvar
.NullAcceleratorTable
 
5837 PanelNameStr 
= cvar
.PanelNameStr
 
5839 WINDOW_VARIANT_NORMAL 
= _core_
.WINDOW_VARIANT_NORMAL
 
5840 WINDOW_VARIANT_SMALL 
= _core_
.WINDOW_VARIANT_SMALL
 
5841 WINDOW_VARIANT_MINI 
= _core_
.WINDOW_VARIANT_MINI
 
5842 WINDOW_VARIANT_LARGE 
= _core_
.WINDOW_VARIANT_LARGE
 
5843 WINDOW_VARIANT_MAX 
= _core_
.WINDOW_VARIANT_MAX
 
5844 class Window(EvtHandler
): 
5846     wx.Window is the base class for all windows and represents any visible 
5847     object on the screen. All controls, top level windows and so on are 
5848     wx.Windows. Sizers and device contexts are not however, as they don't 
5849     appear on screen themselves. 
5853         return "<%s.%s; proxy of C++ wxWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
5854     def __init__(self
, *args
, **kwargs
): 
5856         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
5857             Size size=DefaultSize, long style=0, String name=PanelNameStr) -> Window 
5859         Construct and show a generic Window. 
5861         newobj 
= _core_
.new_Window(*args
, **kwargs
) 
5862         self
.this 
= newobj
.this
 
5865         self
._setOORInfo
(self
) 
5867     def Create(*args
, **kwargs
): 
5869         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
5870             Size size=DefaultSize, long style=0, String name=PanelNameStr) -> bool 
5872         Create the GUI part of the Window for 2-phase creation mode. 
5874         return _core_
.Window_Create(*args
, **kwargs
) 
5876     def Close(*args
, **kwargs
): 
5878         Close(self, bool force=False) -> bool 
5880         This function simply generates a EVT_CLOSE event whose handler usually 
5881         tries to close the window. It doesn't close the window itself, 
5882         however.  If force is False (the default) then the window's close 
5883         handler will be allowed to veto the destruction of the window. 
5885         return _core_
.Window_Close(*args
, **kwargs
) 
5887     def Destroy(*args
, **kwargs
): 
5889         Destroy(self) -> bool 
5891         Destroys the window safely.  Frames and dialogs are not destroyed 
5892         immediately when this function is called -- they are added to a list 
5893         of windows to be deleted on idle time, when all the window's events 
5894         have been processed. This prevents problems with events being sent to 
5895         non-existent windows. 
5897         Returns True if the window has either been successfully deleted, or it 
5898         has been added to the list of windows pending real deletion. 
5900         return _core_
.Window_Destroy(*args
, **kwargs
) 
5902     def DestroyChildren(*args
, **kwargs
): 
5904         DestroyChildren(self) -> bool 
5906         Destroys all children of a window. Called automatically by the 
5909         return _core_
.Window_DestroyChildren(*args
, **kwargs
) 
5911     def IsBeingDeleted(*args
, **kwargs
): 
5913         IsBeingDeleted(self) -> bool 
5915         Is the window in the process of being deleted? 
5917         return _core_
.Window_IsBeingDeleted(*args
, **kwargs
) 
5919     def SetTitle(*args
, **kwargs
): 
5921         SetTitle(self, String title) 
5923         Sets the window's title. Applicable only to frames and dialogs. 
5925         return _core_
.Window_SetTitle(*args
, **kwargs
) 
5927     def GetTitle(*args
, **kwargs
): 
5929         GetTitle(self) -> String 
5931         Gets the window's title. Applicable only to frames and dialogs. 
5933         return _core_
.Window_GetTitle(*args
, **kwargs
) 
5935     def SetLabel(*args
, **kwargs
): 
5937         SetLabel(self, String label) 
5939         Set the text which the window shows in its label if applicable. 
5941         return _core_
.Window_SetLabel(*args
, **kwargs
) 
5943     def GetLabel(*args
, **kwargs
): 
5945         GetLabel(self) -> String 
5947         Generic way of getting a label from any window, for identification 
5948         purposes.  The interpretation of this function differs from class to 
5949         class. For frames and dialogs, the value returned is the title. For 
5950         buttons or static text controls, it is the button text. This function 
5951         can be useful for meta-programs such as testing tools or special-needs 
5952         access programs)which need to identify windows by name. 
5954         return _core_
.Window_GetLabel(*args
, **kwargs
) 
5956     def SetName(*args
, **kwargs
): 
5958         SetName(self, String name) 
5960         Sets the window's name.  The window name is used for ressource setting 
5961         in X, it is not the same as the window title/label 
5963         return _core_
.Window_SetName(*args
, **kwargs
) 
5965     def GetName(*args
, **kwargs
): 
5967         GetName(self) -> String 
5969         Returns the windows name.  This name is not guaranteed to be unique; 
5970         it is up to the programmer to supply an appropriate name in the window 
5971         constructor or via wx.Window.SetName. 
5973         return _core_
.Window_GetName(*args
, **kwargs
) 
5975     def SetWindowVariant(*args
, **kwargs
): 
5977         SetWindowVariant(self, int variant) 
5979         Sets the variant of the window/font size to use for this window, if 
5980         the platform supports variants, for example, wxMac. 
5982         return _core_
.Window_SetWindowVariant(*args
, **kwargs
) 
5984     def GetWindowVariant(*args
, **kwargs
): 
5985         """GetWindowVariant(self) -> int""" 
5986         return _core_
.Window_GetWindowVariant(*args
, **kwargs
) 
5988     def SetId(*args
, **kwargs
): 
5990         SetId(self, int winid) 
5992         Sets the identifier of the window.  Each window has an integer 
5993         identifier. If the application has not provided one, an identifier 
5994         will be generated. Normally, the identifier should be provided on 
5995         creation and should not be modified subsequently. 
5997         return _core_
.Window_SetId(*args
, **kwargs
) 
5999     def GetId(*args
, **kwargs
): 
6003         Returns the identifier of the window.  Each window has an integer 
6004         identifier. If the application has not provided one (or the default Id 
6005         -1 is used) then an unique identifier with a negative value will be 
6008         return _core_
.Window_GetId(*args
, **kwargs
) 
6010     def NewControlId(*args
, **kwargs
): 
6012         NewControlId() -> int 
6014         Generate a control id for the controls which were not given one. 
6016         return _core_
.Window_NewControlId(*args
, **kwargs
) 
6018     NewControlId 
= staticmethod(NewControlId
) 
6019     def NextControlId(*args
, **kwargs
): 
6021         NextControlId(int winid) -> int 
6023         Get the id of the control following the one with the given 
6026         return _core_
.Window_NextControlId(*args
, **kwargs
) 
6028     NextControlId 
= staticmethod(NextControlId
) 
6029     def PrevControlId(*args
, **kwargs
): 
6031         PrevControlId(int winid) -> int 
6033         Get the id of the control preceding the one with the given 
6036         return _core_
.Window_PrevControlId(*args
, **kwargs
) 
6038     PrevControlId 
= staticmethod(PrevControlId
) 
6039     def SetSize(*args
, **kwargs
): 
6041         SetSize(self, Size size) 
6043         Sets the size of the window in pixels. 
6045         return _core_
.Window_SetSize(*args
, **kwargs
) 
6047     def SetDimensions(*args
, **kwargs
): 
6049         SetDimensions(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO) 
6051         Sets the position and size of the window in pixels.  The sizeFlags 
6052         parameter indicates the interpretation of the other params if they are 
6055             ========================  ====================================== 
6056             wx.SIZE_AUTO              A -1 indicates that a class-specific 
6057                                       default should be used. 
6058             wx.SIZE_USE_EXISTING      Axisting dimensions should be used if 
6059                                       -1 values are supplied. 
6060             wxSIZE_ALLOW_MINUS_ONE    Allow dimensions of -1 and less to be 
6061                                       interpreted as real dimensions, not 
6063             ========================  ====================================== 
6066         return _core_
.Window_SetDimensions(*args
, **kwargs
) 
6068     def SetRect(*args
, **kwargs
): 
6070         SetRect(self, Rect rect, int sizeFlags=SIZE_AUTO) 
6072         Sets the position and size of the window in pixels using a wx.Rect. 
6074         return _core_
.Window_SetRect(*args
, **kwargs
) 
6076     def SetSizeWH(*args
, **kwargs
): 
6078         SetSizeWH(self, int width, int height) 
6080         Sets the size of the window in pixels. 
6082         return _core_
.Window_SetSizeWH(*args
, **kwargs
) 
6084     def Move(*args
, **kwargs
): 
6086         Move(self, Point pt, int flags=SIZE_USE_EXISTING) 
6088         Moves the window to the given position. 
6090         return _core_
.Window_Move(*args
, **kwargs
) 
6093     def MoveXY(*args
, **kwargs
): 
6095         MoveXY(self, int x, int y, int flags=SIZE_USE_EXISTING) 
6097         Moves the window to the given position. 
6099         return _core_
.Window_MoveXY(*args
, **kwargs
) 
6101     def SetBestFittingSize(*args
, **kwargs
): 
6103         SetBestFittingSize(self, Size size=DefaultSize) 
6105         A 'Smart' SetSize that will fill in default size components with the 
6106         window's *best size* values.  Also set's the minsize for use with sizers. 
6108         return _core_
.Window_SetBestFittingSize(*args
, **kwargs
) 
6110     def Raise(*args
, **kwargs
): 
6114         Raises the window to the top of the window hierarchy if it is a 
6115         managed window (dialog or frame). 
6117         return _core_
.Window_Raise(*args
, **kwargs
) 
6119     def Lower(*args
, **kwargs
): 
6123         Lowers the window to the bottom of the window hierarchy if it is a 
6124         managed window (dialog or frame). 
6126         return _core_
.Window_Lower(*args
, **kwargs
) 
6128     def SetClientSize(*args
, **kwargs
): 
6130         SetClientSize(self, Size size) 
6132         This sets the size of the window client area in pixels. Using this 
6133         function to size a window tends to be more device-independent than 
6134         wx.Window.SetSize, since the application need not worry about what 
6135         dimensions the border or title bar have when trying to fit the window 
6136         around panel items, for example. 
6138         return _core_
.Window_SetClientSize(*args
, **kwargs
) 
6140     def SetClientSizeWH(*args
, **kwargs
): 
6142         SetClientSizeWH(self, int width, int height) 
6144         This sets the size of the window client area in pixels. Using this 
6145         function to size a window tends to be more device-independent than 
6146         wx.Window.SetSize, since the application need not worry about what 
6147         dimensions the border or title bar have when trying to fit the window 
6148         around panel items, for example. 
6150         return _core_
.Window_SetClientSizeWH(*args
, **kwargs
) 
6152     def SetClientRect(*args
, **kwargs
): 
6154         SetClientRect(self, Rect rect) 
6156         This sets the size of the window client area in pixels. Using this 
6157         function to size a window tends to be more device-independent than 
6158         wx.Window.SetSize, since the application need not worry about what 
6159         dimensions the border or title bar have when trying to fit the window 
6160         around panel items, for example. 
6162         return _core_
.Window_SetClientRect(*args
, **kwargs
) 
6164     def GetPosition(*args
, **kwargs
): 
6166         GetPosition(self) -> Point 
6168         Get the window's position. 
6170         return _core_
.Window_GetPosition(*args
, **kwargs
) 
6172     def GetPositionTuple(*args
, **kwargs
): 
6174         GetPositionTuple() -> (x,y) 
6176         Get the window's position. 
6178         return _core_
.Window_GetPositionTuple(*args
, **kwargs
) 
6180     def GetSize(*args
, **kwargs
): 
6182         GetSize(self) -> Size 
6184         Get the window size. 
6186         return _core_
.Window_GetSize(*args
, **kwargs
) 
6188     def GetSizeTuple(*args
, **kwargs
): 
6190         GetSizeTuple() -> (width, height) 
6192         Get the window size. 
6194         return _core_
.Window_GetSizeTuple(*args
, **kwargs
) 
6196     def GetRect(*args
, **kwargs
): 
6198         GetRect(self) -> Rect 
6200         Returns the size and position of the window as a wx.Rect object. 
6202         return _core_
.Window_GetRect(*args
, **kwargs
) 
6204     def GetClientSize(*args
, **kwargs
): 
6206         GetClientSize(self) -> Size 
6208         This gets the size of the window's 'client area' in pixels. The client 
6209         area is the area which may be drawn on by the programmer, excluding 
6210         title bar, border, scrollbars, etc. 
6212         return _core_
.Window_GetClientSize(*args
, **kwargs
) 
6214     def GetClientSizeTuple(*args
, **kwargs
): 
6216         GetClientSizeTuple() -> (width, height) 
6218         This gets the size of the window's 'client area' in pixels. The client 
6219         area is the area which may be drawn on by the programmer, excluding 
6220         title bar, border, scrollbars, etc. 
6222         return _core_
.Window_GetClientSizeTuple(*args
, **kwargs
) 
6224     def GetClientAreaOrigin(*args
, **kwargs
): 
6226         GetClientAreaOrigin(self) -> Point 
6228         Get the origin of the client area of the window relative to the 
6229         window's top left corner (the client area may be shifted because of 
6230         the borders, scrollbars, other decorations...) 
6232         return _core_
.Window_GetClientAreaOrigin(*args
, **kwargs
) 
6234     def GetClientRect(*args
, **kwargs
): 
6236         GetClientRect(self) -> Rect 
6238         Get the client area position and size as a `wx.Rect` object. 
6240         return _core_
.Window_GetClientRect(*args
, **kwargs
) 
6242     def GetBestSize(*args
, **kwargs
): 
6244         GetBestSize(self) -> Size 
6246         This function returns the best acceptable minimal size for the 
6247         window, if applicable. For example, for a static text control, it will 
6248         be the minimal size such that the control label is not truncated. For 
6249         windows containing subwindows (suzh aswx.Panel), the size returned by 
6250         this function will be the same as the size the window would have had 
6253         return _core_
.Window_GetBestSize(*args
, **kwargs
) 
6255     def GetBestSizeTuple(*args
, **kwargs
): 
6257         GetBestSizeTuple() -> (width, height) 
6259         This function returns the best acceptable minimal size for the 
6260         window, if applicable. For example, for a static text control, it will 
6261         be the minimal size such that the control label is not truncated. For 
6262         windows containing subwindows (suzh aswx.Panel), the size returned by 
6263         this function will be the same as the size the window would have had 
6266         return _core_
.Window_GetBestSizeTuple(*args
, **kwargs
) 
6268     def InvalidateBestSize(*args
, **kwargs
): 
6270         InvalidateBestSize(self) 
6272         Reset the cached best size value so it will be recalculated the next 
6275         return _core_
.Window_InvalidateBestSize(*args
, **kwargs
) 
6277     def GetBestFittingSize(*args
, **kwargs
): 
6279         GetBestFittingSize(self) -> Size 
6281         This function will merge the window's best size into the window's 
6282         minimum size, giving priority to the min size components, and returns 
6286         return _core_
.Window_GetBestFittingSize(*args
, **kwargs
) 
6288     def GetAdjustedBestSize(*args
, **kwargs
): 
6290         GetAdjustedBestSize(self) -> Size 
6292         This method is similar to GetBestSize, except in one 
6293         thing. GetBestSize should return the minimum untruncated size of the 
6294         window, while this method will return the largest of BestSize and any 
6295         user specified minimum size. ie. it is the minimum size the window 
6296         should currently be drawn at, not the minimal size it can possibly 
6299         return _core_
.Window_GetAdjustedBestSize(*args
, **kwargs
) 
6301     def Center(*args
, **kwargs
): 
6303         Center(self, int direction=BOTH) 
6305         Centers the window.  The parameter specifies the direction for 
6306         cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may 
6307         also include wx.CENTER_ON_SCREEN flag if you want to center the window 
6308         on the entire screen and not on its parent window.  If it is a 
6309         top-level window and has no parent then it will always be centered 
6310         relative to the screen. 
6312         return _core_
.Window_Center(*args
, **kwargs
) 
6315     def CenterOnScreen(*args
, **kwargs
): 
6317         CenterOnScreen(self, int dir=BOTH) 
6319         Center on screen (only works for top level windows) 
6321         return _core_
.Window_CenterOnScreen(*args
, **kwargs
) 
6323     CentreOnScreen 
= CenterOnScreen 
 
6324     def CenterOnParent(*args
, **kwargs
): 
6326         CenterOnParent(self, int dir=BOTH) 
6328         Center with respect to the the parent window 
6330         return _core_
.Window_CenterOnParent(*args
, **kwargs
) 
6332     CentreOnParent 
= CenterOnParent 
 
6333     def Fit(*args
, **kwargs
): 
6337         Sizes the window so that it fits around its subwindows. This function 
6338         won't do anything if there are no subwindows and will only really work 
6339         correctly if sizers are used for the subwindows layout. Also, if the 
6340         window has exactly one subwindow it is better (faster and the result 
6341         is more precise as Fit adds some margin to account for fuzziness of 
6342         its calculations) to call window.SetClientSize(child.GetSize()) 
6343         instead of calling Fit. 
6345         return _core_
.Window_Fit(*args
, **kwargs
) 
6347     def FitInside(*args
, **kwargs
): 
6351         Similar to Fit, but sizes the interior (virtual) size of a 
6352         window. Mainly useful with scrolled windows to reset scrollbars after 
6353         sizing changes that do not trigger a size event, and/or scrolled 
6354         windows without an interior sizer. This function similarly won't do 
6355         anything if there are no subwindows. 
6357         return _core_
.Window_FitInside(*args
, **kwargs
) 
6359     def SetSizeHints(*args
, **kwargs
): 
6361         SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1,  
6364         Allows specification of minimum and maximum window sizes, and window 
6365         size increments. If a pair of values is not set (or set to -1), the 
6366         default values will be used.  If this function is called, the user 
6367         will not be able to size the window outside the given bounds (if it is 
6368         a top-level window.)  Sizers will also inspect the minimum window size 
6369         and will use that value if set when calculating layout. 
6371         The resizing increments are only significant under Motif or Xt. 
6373         return _core_
.Window_SetSizeHints(*args
, **kwargs
) 
6375     def SetSizeHintsSz(*args
, **kwargs
): 
6377         SetSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize) 
6379         Allows specification of minimum and maximum window sizes, and window 
6380         size increments. If a pair of values is not set (or set to -1), the 
6381         default values will be used.  If this function is called, the user 
6382         will not be able to size the window outside the given bounds (if it is 
6383         a top-level window.)  Sizers will also inspect the minimum window size 
6384         and will use that value if set when calculating layout. 
6386         The resizing increments are only significant under Motif or Xt. 
6388         return _core_
.Window_SetSizeHintsSz(*args
, **kwargs
) 
6390     def SetVirtualSizeHints(*args
, **kwargs
): 
6392         SetVirtualSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1) 
6394         Allows specification of minimum and maximum virtual window sizes. If a 
6395         pair of values is not set (or set to -1), the default values will be 
6396         used.  If this function is called, the user will not be able to size 
6397         the virtual area of the window outside the given bounds. 
6399         return _core_
.Window_SetVirtualSizeHints(*args
, **kwargs
) 
6401     def SetVirtualSizeHintsSz(*args
, **kwargs
): 
6403         SetVirtualSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize) 
6405         Allows specification of minimum and maximum virtual window sizes. If a 
6406         pair of values is not set (or set to -1), the default values will be 
6407         used.  If this function is called, the user will not be able to size 
6408         the virtual area of the window outside the given bounds. 
6410         return _core_
.Window_SetVirtualSizeHintsSz(*args
, **kwargs
) 
6412     def GetMaxSize(*args
, **kwargs
): 
6413         """GetMaxSize(self) -> Size""" 
6414         return _core_
.Window_GetMaxSize(*args
, **kwargs
) 
6416     def GetMinSize(*args
, **kwargs
): 
6417         """GetMinSize(self) -> Size""" 
6418         return _core_
.Window_GetMinSize(*args
, **kwargs
) 
6420     def SetMinSize(*args
, **kwargs
): 
6422         SetMinSize(self, Size minSize) 
6424         A more convenient method than `SetSizeHints` for setting just the 
6427         return _core_
.Window_SetMinSize(*args
, **kwargs
) 
6429     def SetMaxSize(*args
, **kwargs
): 
6431         SetMaxSize(self, Size maxSize) 
6433         A more convenient method than `SetSizeHints` for setting just the 
6436         return _core_
.Window_SetMaxSize(*args
, **kwargs
) 
6438     def GetMinWidth(*args
, **kwargs
): 
6439         """GetMinWidth(self) -> int""" 
6440         return _core_
.Window_GetMinWidth(*args
, **kwargs
) 
6442     def GetMinHeight(*args
, **kwargs
): 
6443         """GetMinHeight(self) -> int""" 
6444         return _core_
.Window_GetMinHeight(*args
, **kwargs
) 
6446     def GetMaxWidth(*args
, **kwargs
): 
6447         """GetMaxWidth(self) -> int""" 
6448         return _core_
.Window_GetMaxWidth(*args
, **kwargs
) 
6450     def GetMaxHeight(*args
, **kwargs
): 
6451         """GetMaxHeight(self) -> int""" 
6452         return _core_
.Window_GetMaxHeight(*args
, **kwargs
) 
6454     def SetVirtualSize(*args
, **kwargs
): 
6456         SetVirtualSize(self, Size size) 
6458         Set the the virtual size of a window in pixels.  For most windows this 
6459         is just the client area of the window, but for some like scrolled 
6460         windows it is more or less independent of the screen window size. 
6462         return _core_
.Window_SetVirtualSize(*args
, **kwargs
) 
6464     def SetVirtualSizeWH(*args
, **kwargs
): 
6466         SetVirtualSizeWH(self, int w, int h) 
6468         Set the the virtual size of a window in pixels.  For most windows this 
6469         is just the client area of the window, but for some like scrolled 
6470         windows it is more or less independent of the screen window size. 
6472         return _core_
.Window_SetVirtualSizeWH(*args
, **kwargs
) 
6474     def GetVirtualSize(*args
, **kwargs
): 
6476         GetVirtualSize(self) -> Size 
6478         Get the the virtual size of the window in pixels.  For most windows 
6479         this is just the client area of the window, but for some like scrolled 
6480         windows it is more or less independent of the screen window size. 
6482         return _core_
.Window_GetVirtualSize(*args
, **kwargs
) 
6484     def GetVirtualSizeTuple(*args
, **kwargs
): 
6486         GetVirtualSizeTuple() -> (width, height) 
6488         Get the the virtual size of the window in pixels.  For most windows 
6489         this is just the client area of the window, but for some like scrolled 
6490         windows it is more or less independent of the screen window size. 
6492         return _core_
.Window_GetVirtualSizeTuple(*args
, **kwargs
) 
6494     def GetBestVirtualSize(*args
, **kwargs
): 
6496         GetBestVirtualSize(self) -> Size 
6498         Return the largest of ClientSize and BestSize (as determined by a 
6499         sizer, interior children, or other means) 
6501         return _core_
.Window_GetBestVirtualSize(*args
, **kwargs
) 
6503     def Show(*args
, **kwargs
): 
6505         Show(self, bool show=True) -> bool 
6507         Shows or hides the window. You may need to call Raise for a top level 
6508         window if you want to bring it to top, although this is not needed if 
6509         Show is called immediately after the frame creation.  Returns True if 
6510         the window has been shown or hidden or False if nothing was done 
6511         because it already was in the requested state. 
6513         return _core_
.Window_Show(*args
, **kwargs
) 
6515     def Hide(*args
, **kwargs
): 
6519         Equivalent to calling Show(False). 
6521         return _core_
.Window_Hide(*args
, **kwargs
) 
6523     def Enable(*args
, **kwargs
): 
6525         Enable(self, bool enable=True) -> bool 
6527         Enable or disable the window for user input. Note that when a parent 
6528         window is disabled, all of its children are disabled as well and they 
6529         are reenabled again when the parent is.  Returns true if the window 
6530         has been enabled or disabled, false if nothing was done, i.e. if the 
6531         window had already been in the specified state. 
6533         return _core_
.Window_Enable(*args
, **kwargs
) 
6535     def Disable(*args
, **kwargs
): 
6537         Disable(self) -> bool 
6539         Disables the window, same as Enable(false). 
6541         return _core_
.Window_Disable(*args
, **kwargs
) 
6543     def IsShown(*args
, **kwargs
): 
6545         IsShown(self) -> bool 
6547         Returns true if the window is shown, false if it has been hidden. 
6549         return _core_
.Window_IsShown(*args
, **kwargs
) 
6551     def IsEnabled(*args
, **kwargs
): 
6553         IsEnabled(self) -> bool 
6555         Returns true if the window is enabled for input, false otherwise. 
6557         return _core_
.Window_IsEnabled(*args
, **kwargs
) 
6559     def SetWindowStyleFlag(*args
, **kwargs
): 
6561         SetWindowStyleFlag(self, long style) 
6563         Sets the style of the window. Please note that some styles cannot be 
6564         changed after the window creation and that Refresh() might need to be 
6565         called after changing the others for the change to take place 
6568         return _core_
.Window_SetWindowStyleFlag(*args
, **kwargs
) 
6570     def GetWindowStyleFlag(*args
, **kwargs
): 
6572         GetWindowStyleFlag(self) -> long 
6574         Gets the window style that was passed to the constructor or Create 
6577         return _core_
.Window_GetWindowStyleFlag(*args
, **kwargs
) 
6579     SetWindowStyle 
= SetWindowStyleFlag
; GetWindowStyle 
= GetWindowStyleFlag 
 
6580     def HasFlag(*args
, **kwargs
): 
6582         HasFlag(self, int flag) -> bool 
6584         Test if the given style is set for this window. 
6586         return _core_
.Window_HasFlag(*args
, **kwargs
) 
6588     def IsRetained(*args
, **kwargs
): 
6590         IsRetained(self) -> bool 
6592         Returns true if the window is retained, false otherwise.  Retained 
6593         windows are only available on X platforms. 
6595         return _core_
.Window_IsRetained(*args
, **kwargs
) 
6597     def SetExtraStyle(*args
, **kwargs
): 
6599         SetExtraStyle(self, long exStyle) 
6601         Sets the extra style bits for the window.  Extra styles are the less 
6602         often used style bits which can't be set with the constructor or with 
6603         SetWindowStyleFlag() 
6605         return _core_
.Window_SetExtraStyle(*args
, **kwargs
) 
6607     def GetExtraStyle(*args
, **kwargs
): 
6609         GetExtraStyle(self) -> long 
6611         Returns the extra style bits for the window. 
6613         return _core_
.Window_GetExtraStyle(*args
, **kwargs
) 
6615     def MakeModal(*args
, **kwargs
): 
6617         MakeModal(self, bool modal=True) 
6619         Disables all other windows in the application so that the user can 
6620         only interact with this window.  Passing False will reverse this 
6623         return _core_
.Window_MakeModal(*args
, **kwargs
) 
6625     def SetThemeEnabled(*args
, **kwargs
): 
6627         SetThemeEnabled(self, bool enableTheme) 
6629         This function tells a window if it should use the system's "theme" 
6630          code to draw the windows' background instead if its own background 
6631          drawing code. This will only have an effect on platforms that support 
6632          the notion of themes in user defined windows. One such platform is 
6633          GTK+ where windows can have (very colourful) backgrounds defined by a 
6634          user's selected theme. 
6636         Dialogs, notebook pages and the status bar have this flag set to true 
6637         by default so that the default look and feel is simulated best. 
6639         return _core_
.Window_SetThemeEnabled(*args
, **kwargs
) 
6641     def GetThemeEnabled(*args
, **kwargs
): 
6643         GetThemeEnabled(self) -> bool 
6645         Return the themeEnabled flag. 
6647         return _core_
.Window_GetThemeEnabled(*args
, **kwargs
) 
6649     def SetFocus(*args
, **kwargs
): 
6653         Set's the focus to this window, allowing it to receive keyboard input. 
6655         return _core_
.Window_SetFocus(*args
, **kwargs
) 
6657     def SetFocusFromKbd(*args
, **kwargs
): 
6659         SetFocusFromKbd(self) 
6661         Set focus to this window as the result of a keyboard action.  Normally 
6662         only called internally. 
6664         return _core_
.Window_SetFocusFromKbd(*args
, **kwargs
) 
6666     def FindFocus(*args
, **kwargs
): 
6668         FindFocus() -> Window 
6670         Returns the window or control that currently has the keyboard focus, 
6673         return _core_
.Window_FindFocus(*args
, **kwargs
) 
6675     FindFocus 
= staticmethod(FindFocus
) 
6676     def AcceptsFocus(*args
, **kwargs
): 
6678         AcceptsFocus(self) -> bool 
6680         Can this window have focus? 
6682         return _core_
.Window_AcceptsFocus(*args
, **kwargs
) 
6684     def AcceptsFocusFromKeyboard(*args
, **kwargs
): 
6686         AcceptsFocusFromKeyboard(self) -> bool 
6688         Can this window be given focus by keyboard navigation? if not, the 
6689         only way to give it focus (provided it accepts it at all) is to click 
6692         return _core_
.Window_AcceptsFocusFromKeyboard(*args
, **kwargs
) 
6694     def GetDefaultItem(*args
, **kwargs
): 
6696         GetDefaultItem(self) -> Window 
6698         Get the default child of this parent, i.e. the one which is activated 
6699         by pressing <Enter> such as the OK button on a wx.Dialog. 
6701         return _core_
.Window_GetDefaultItem(*args
, **kwargs
) 
6703     def SetDefaultItem(*args
, **kwargs
): 
6705         SetDefaultItem(self, Window child) -> Window 
6707         Set this child as default, return the old default. 
6709         return _core_
.Window_SetDefaultItem(*args
, **kwargs
) 
6711     def SetTmpDefaultItem(*args
, **kwargs
): 
6713         SetTmpDefaultItem(self, Window win) 
6715         Set this child as temporary default 
6717         return _core_
.Window_SetTmpDefaultItem(*args
, **kwargs
) 
6719     def Navigate(*args
, **kwargs
): 
6721         Navigate(self, int flags=NavigationKeyEvent.IsForward) -> bool 
6723         Does keyboard navigation from this window to another, by sending a 
6724         `wx.NavigationKeyEvent`. 
6726         return _core_
.Window_Navigate(*args
, **kwargs
) 
6728     def MoveAfterInTabOrder(*args
, **kwargs
): 
6730         MoveAfterInTabOrder(self, Window win) 
6732         Moves this window in the tab navigation order after the specified 
6733         sibling window.  This means that when the user presses the TAB key on 
6734         that other window, the focus switches to this window. 
6736         The default tab order is the same as creation order.  This function 
6737         and `MoveBeforeInTabOrder` allow to change it after creating all the 
6741         return _core_
.Window_MoveAfterInTabOrder(*args
, **kwargs
) 
6743     def MoveBeforeInTabOrder(*args
, **kwargs
): 
6745         MoveBeforeInTabOrder(self, Window win) 
6747         Same as `MoveAfterInTabOrder` except that it inserts this window just 
6748         before win instead of putting it right after it. 
6750         return _core_
.Window_MoveBeforeInTabOrder(*args
, **kwargs
) 
6752     def GetChildren(*args
, **kwargs
): 
6754         GetChildren(self) -> PyObject 
6756         Returns a list of the window's children.  NOTE: Currently this is a 
6757         copy of the child window list maintained by the window, so the return 
6758         value of this function is only valid as long as the window's children 
6761         return _core_
.Window_GetChildren(*args
, **kwargs
) 
6763     def GetParent(*args
, **kwargs
): 
6765         GetParent(self) -> Window 
6767         Returns the parent window of this window, or None if there isn't one. 
6769         return _core_
.Window_GetParent(*args
, **kwargs
) 
6771     def GetGrandParent(*args
, **kwargs
): 
6773         GetGrandParent(self) -> Window 
6775         Returns the parent of the parent of this window, or None if there 
6778         return _core_
.Window_GetGrandParent(*args
, **kwargs
) 
6780     def IsTopLevel(*args
, **kwargs
): 
6782         IsTopLevel(self) -> bool 
6784         Returns true if the given window is a top-level one. Currently all 
6785         frames and dialogs are always considered to be top-level windows (even 
6786         if they have a parent window). 
6788         return _core_
.Window_IsTopLevel(*args
, **kwargs
) 
6790     def Reparent(*args
, **kwargs
): 
6792         Reparent(self, Window newParent) -> bool 
6794         Reparents the window, i.e the window will be removed from its current 
6795         parent window (e.g. a non-standard toolbar in a wxFrame) and then 
6796         re-inserted into another. Available on Windows and GTK.  Returns True 
6797         if the parent was changed, False otherwise (error or newParent == 
6800         return _core_
.Window_Reparent(*args
, **kwargs
) 
6802     def AddChild(*args
, **kwargs
): 
6804         AddChild(self, Window child) 
6806         Adds a child window. This is called automatically by window creation 
6807         functions so should not be required by the application programmer. 
6809         return _core_
.Window_AddChild(*args
, **kwargs
) 
6811     def RemoveChild(*args
, **kwargs
): 
6813         RemoveChild(self, Window child) 
6815         Removes a child window. This is called automatically by window 
6816         deletion functions so should not be required by the application 
6819         return _core_
.Window_RemoveChild(*args
, **kwargs
) 
6821     def FindWindowById(*args
, **kwargs
): 
6823         FindWindowById(self, long winid) -> Window 
6825         Find a chld of this window by window ID 
6827         return _core_
.Window_FindWindowById(*args
, **kwargs
) 
6829     def FindWindowByName(*args
, **kwargs
): 
6831         FindWindowByName(self, String name) -> Window 
6833         Find a child of this window by name 
6835         return _core_
.Window_FindWindowByName(*args
, **kwargs
) 
6837     def GetEventHandler(*args
, **kwargs
): 
6839         GetEventHandler(self) -> EvtHandler 
6841         Returns the event handler for this window. By default, the window is 
6842         its own event handler. 
6844         return _core_
.Window_GetEventHandler(*args
, **kwargs
) 
6846     def SetEventHandler(*args
, **kwargs
): 
6848         SetEventHandler(self, EvtHandler handler) 
6850         Sets the event handler for this window.  An event handler is an object 
6851         that is capable of processing the events sent to a window. By default, 
6852         the window is its own event handler, but an application may wish to 
6853         substitute another, for example to allow central implementation of 
6854         event-handling for a variety of different window classes. 
6856         It is usually better to use `wx.Window.PushEventHandler` since this sets 
6857         up a chain of event handlers, where an event not handled by one event 
6858         handler is handed to the next one in the chain. 
6860         return _core_
.Window_SetEventHandler(*args
, **kwargs
) 
6862     def PushEventHandler(*args
, **kwargs
): 
6864         PushEventHandler(self, EvtHandler handler) 
6866         Pushes this event handler onto the event handler stack for the window. 
6867         An event handler is an object that is capable of processing the events 
6868         sent to a window. By default, the window is its own event handler, but 
6869         an application may wish to substitute another, for example to allow 
6870         central implementation of event-handling for a variety of different 
6873         wx.Window.PushEventHandler allows an application to set up a chain of 
6874         event handlers, where an event not handled by one event handler is 
6875         handed to the next one in the chain. Use `wx.Window.PopEventHandler` to 
6876         remove the event handler. 
6878         return _core_
.Window_PushEventHandler(*args
, **kwargs
) 
6880     def PopEventHandler(*args
, **kwargs
): 
6882         PopEventHandler(self, bool deleteHandler=False) -> EvtHandler 
6884         Removes and returns the top-most event handler on the event handler 
6885         stack.  If deleteHandler is True then the wx.EvtHandler object will be 
6886         destroyed after it is popped. 
6888         return _core_
.Window_PopEventHandler(*args
, **kwargs
) 
6890     def RemoveEventHandler(*args
, **kwargs
): 
6892         RemoveEventHandler(self, EvtHandler handler) -> bool 
6894         Find the given handler in the event handler chain and remove (but not 
6895         delete) it from the event handler chain, return True if it was found 
6896         and False otherwise (this also results in an assert failure so this 
6897         function should only be called when the handler is supposed to be 
6900         return _core_
.Window_RemoveEventHandler(*args
, **kwargs
) 
6902     def SetValidator(*args
, **kwargs
): 
6904         SetValidator(self, Validator validator) 
6906         Deletes the current validator (if any) and sets the window validator, 
6907         having called wx.Validator.Clone to create a new validator of this 
6910         return _core_
.Window_SetValidator(*args
, **kwargs
) 
6912     def GetValidator(*args
, **kwargs
): 
6914         GetValidator(self) -> Validator 
6916         Returns a pointer to the current validator for the window, or None if 
6919         return _core_
.Window_GetValidator(*args
, **kwargs
) 
6921     def Validate(*args
, **kwargs
): 
6923         Validate(self) -> bool 
6925         Validates the current values of the child controls using their 
6926         validators.  If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra 
6927         style flag set, the method will also call Validate() of all child 
6928         windows.  Returns false if any of the validations failed. 
6930         return _core_
.Window_Validate(*args
, **kwargs
) 
6932     def TransferDataToWindow(*args
, **kwargs
): 
6934         TransferDataToWindow(self) -> bool 
6936         Transfers values to child controls from data areas specified by their 
6937         validators.  If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra 
6938         style flag set, the method will also call TransferDataToWindow() of 
6941         return _core_
.Window_TransferDataToWindow(*args
, **kwargs
) 
6943     def TransferDataFromWindow(*args
, **kwargs
): 
6945         TransferDataFromWindow(self) -> bool 
6947         Transfers values from child controls to data areas specified by their 
6948         validators. Returns false if a transfer failed.  If the window has 
6949         wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will 
6950         also call TransferDataFromWindow() of all child windows. 
6952         return _core_
.Window_TransferDataFromWindow(*args
, **kwargs
) 
6954     def InitDialog(*args
, **kwargs
): 
6958         Sends an EVT_INIT_DIALOG event, whose handler usually transfers data 
6959         to the dialog via validators. 
6961         return _core_
.Window_InitDialog(*args
, **kwargs
) 
6963     def SetAcceleratorTable(*args
, **kwargs
): 
6965         SetAcceleratorTable(self, AcceleratorTable accel) 
6967         Sets the accelerator table for this window. 
6969         return _core_
.Window_SetAcceleratorTable(*args
, **kwargs
) 
6971     def GetAcceleratorTable(*args
, **kwargs
): 
6973         GetAcceleratorTable(self) -> AcceleratorTable 
6975         Gets the accelerator table for this window. 
6977         return _core_
.Window_GetAcceleratorTable(*args
, **kwargs
) 
6979     def RegisterHotKey(*args
, **kwargs
): 
6981         RegisterHotKey(self, int hotkeyId, int modifiers, int keycode) -> bool 
6983         Registers a system wide hotkey. Every time the user presses the hotkey 
6984         registered here, this window will receive a hotkey event. It will 
6985         receive the event even if the application is in the background and 
6986         does not have the input focus because the user is working with some 
6987         other application.  To bind an event handler function to this hotkey 
6988         use EVT_HOTKEY with an id equal to hotkeyId.  Returns True if the 
6989         hotkey was registered successfully. 
6991         return _core_
.Window_RegisterHotKey(*args
, **kwargs
) 
6993     def UnregisterHotKey(*args
, **kwargs
): 
6995         UnregisterHotKey(self, int hotkeyId) -> bool 
6997         Unregisters a system wide hotkey. 
6999         return _core_
.Window_UnregisterHotKey(*args
, **kwargs
) 
7001     def ConvertDialogPointToPixels(*args
, **kwargs
): 
7003         ConvertDialogPointToPixels(self, Point pt) -> Point 
7005         Converts a point or size from dialog units to pixels.  Dialog units 
7006         are used for maintaining a dialog's proportions even if the font 
7007         changes. For the x dimension, the dialog units are multiplied by the 
7008         average character width and then divided by 4. For the y dimension, 
7009         the dialog units are multiplied by the average character height and 
7012         return _core_
.Window_ConvertDialogPointToPixels(*args
, **kwargs
) 
7014     def ConvertDialogSizeToPixels(*args
, **kwargs
): 
7016         ConvertDialogSizeToPixels(self, Size sz) -> Size 
7018         Converts a point or size from dialog units to pixels.  Dialog units 
7019         are used for maintaining a dialog's proportions even if the font 
7020         changes. For the x dimension, the dialog units are multiplied by the 
7021         average character width and then divided by 4. For the y dimension, 
7022         the dialog units are multiplied by the average character height and 
7025         return _core_
.Window_ConvertDialogSizeToPixels(*args
, **kwargs
) 
7027     def DLG_PNT(*args
, **kwargs
): 
7029         DLG_PNT(self, Point pt) -> Point 
7031         Converts a point or size from dialog units to pixels.  Dialog units 
7032         are used for maintaining a dialog's proportions even if the font 
7033         changes. For the x dimension, the dialog units are multiplied by the 
7034         average character width and then divided by 4. For the y dimension, 
7035         the dialog units are multiplied by the average character height and 
7038         return _core_
.Window_DLG_PNT(*args
, **kwargs
) 
7040     def DLG_SZE(*args
, **kwargs
): 
7042         DLG_SZE(self, Size sz) -> Size 
7044         Converts a point or size from dialog units to pixels.  Dialog units 
7045         are used for maintaining a dialog's proportions even if the font 
7046         changes. For the x dimension, the dialog units are multiplied by the 
7047         average character width and then divided by 4. For the y dimension, 
7048         the dialog units are multiplied by the average character height and 
7051         return _core_
.Window_DLG_SZE(*args
, **kwargs
) 
7053     def ConvertPixelPointToDialog(*args
, **kwargs
): 
7054         """ConvertPixelPointToDialog(self, Point pt) -> Point""" 
7055         return _core_
.Window_ConvertPixelPointToDialog(*args
, **kwargs
) 
7057     def ConvertPixelSizeToDialog(*args
, **kwargs
): 
7058         """ConvertPixelSizeToDialog(self, Size sz) -> Size""" 
7059         return _core_
.Window_ConvertPixelSizeToDialog(*args
, **kwargs
) 
7061     def WarpPointer(*args
, **kwargs
): 
7063         WarpPointer(self, int x, int y) 
7065         Moves the pointer to the given position on the window. 
7067         NOTE: This function is not supported under Mac because Apple Human 
7068         Interface Guidelines forbid moving the mouse cursor programmatically. 
7070         return _core_
.Window_WarpPointer(*args
, **kwargs
) 
7072     def CaptureMouse(*args
, **kwargs
): 
7076         Directs all mouse input to this window. Call wx.Window.ReleaseMouse to 
7077         release the capture. 
7079         Note that wxWindows maintains the stack of windows having captured the 
7080         mouse and when the mouse is released the capture returns to the window 
7081         which had had captured it previously and it is only really released if 
7082         there were no previous window. In particular, this means that you must 
7083         release the mouse as many times as you capture it. 
7085         return _core_
.Window_CaptureMouse(*args
, **kwargs
) 
7087     def ReleaseMouse(*args
, **kwargs
): 
7091         Releases mouse input captured with wx.Window.CaptureMouse. 
7093         return _core_
.Window_ReleaseMouse(*args
, **kwargs
) 
7095     def GetCapture(*args
, **kwargs
): 
7097         GetCapture() -> Window 
7099         Returns the window which currently captures the mouse or None 
7101         return _core_
.Window_GetCapture(*args
, **kwargs
) 
7103     GetCapture 
= staticmethod(GetCapture
) 
7104     def HasCapture(*args
, **kwargs
): 
7106         HasCapture(self) -> bool 
7108         Returns true if this window has the current mouse capture. 
7110         return _core_
.Window_HasCapture(*args
, **kwargs
) 
7112     def Refresh(*args
, **kwargs
): 
7114         Refresh(self, bool eraseBackground=True, Rect rect=None) 
7116         Mark the specified rectangle (or the whole window) as "dirty" so it 
7117         will be repainted.  Causes an EVT_PAINT event to be generated and sent 
7120         return _core_
.Window_Refresh(*args
, **kwargs
) 
7122     def RefreshRect(*args
, **kwargs
): 
7124         RefreshRect(self, Rect rect, bool eraseBackground=True) 
7126         Redraws the contents of the given rectangle: the area inside it will 
7127         be repainted.  This is the same as Refresh but has a nicer syntax. 
7129         return _core_
.Window_RefreshRect(*args
, **kwargs
) 
7131     def Update(*args
, **kwargs
): 
7135         Calling this method immediately repaints the invalidated area of the 
7136         window instead of waiting for the EVT_PAINT event to happen, (normally 
7137         this would usually only happen when the flow of control returns to the 
7138         event loop.)  Notice that this function doesn't refresh the window and 
7139         does nothing if the window has been already repainted.  Use Refresh 
7140         first if you want to immediately redraw the window (or some portion of 
7141         it) unconditionally. 
7143         return _core_
.Window_Update(*args
, **kwargs
) 
7145     def ClearBackground(*args
, **kwargs
): 
7147         ClearBackground(self) 
7149         Clears the window by filling it with the current background 
7150         colour. Does not cause an erase background event to be generated. 
7152         return _core_
.Window_ClearBackground(*args
, **kwargs
) 
7154     def Freeze(*args
, **kwargs
): 
7158         Freezes the window or, in other words, prevents any updates from 
7159         taking place on screen, the window is not redrawn at all. Thaw must be 
7160         called to reenable window redrawing.  Calls to Freeze/Thaw may be 
7161         nested, with the actual Thaw being delayed until all the nesting has 
7164         This method is useful for visual appearance optimization (for example, 
7165         it is a good idea to use it before inserting large amount of text into 
7166         a wxTextCtrl under wxGTK) but is not implemented on all platforms nor 
7167         for all controls so it is mostly just a hint to wxWindows and not a 
7168         mandatory directive. 
7170         return _core_
.Window_Freeze(*args
, **kwargs
) 
7172     def Thaw(*args
, **kwargs
): 
7176         Reenables window updating after a previous call to Freeze.  Calls to 
7177         Freeze/Thaw may be nested, so Thaw must be called the same number of 
7178         times that Freeze was before the window will be updated. 
7180         return _core_
.Window_Thaw(*args
, **kwargs
) 
7182     def PrepareDC(*args
, **kwargs
): 
7184         PrepareDC(self, DC dc) 
7186         Call this function to prepare the device context for drawing a 
7187         scrolled image. It sets the device origin according to the current 
7190         return _core_
.Window_PrepareDC(*args
, **kwargs
) 
7192     def GetUpdateRegion(*args
, **kwargs
): 
7194         GetUpdateRegion(self) -> Region 
7196         Returns the region specifying which parts of the window have been 
7197         damaged. Should only be called within an EVT_PAINT handler. 
7199         return _core_
.Window_GetUpdateRegion(*args
, **kwargs
) 
7201     def GetUpdateClientRect(*args
, **kwargs
): 
7203         GetUpdateClientRect(self) -> Rect 
7205         Get the update rectangle region bounding box in client coords. 
7207         return _core_
.Window_GetUpdateClientRect(*args
, **kwargs
) 
7209     def IsExposed(*args
, **kwargs
): 
7211         IsExposed(self, int x, int y, int w=1, int h=1) -> bool 
7213         Returns true if the given point or rectangle area has been exposed 
7214         since the last repaint. Call this in an paint event handler to 
7215         optimize redrawing by only redrawing those areas, which have been 
7218         return _core_
.Window_IsExposed(*args
, **kwargs
) 
7220     def IsExposedPoint(*args
, **kwargs
): 
7222         IsExposedPoint(self, Point pt) -> bool 
7224         Returns true if the given point or rectangle area has been exposed 
7225         since the last repaint. Call this in an paint event handler to 
7226         optimize redrawing by only redrawing those areas, which have been 
7229         return _core_
.Window_IsExposedPoint(*args
, **kwargs
) 
7231     def IsExposedRect(*args
, **kwargs
): 
7233         IsExposedRect(self, Rect rect) -> bool 
7235         Returns true if the given point or rectangle area has been exposed 
7236         since the last repaint. Call this in an paint event handler to 
7237         optimize redrawing by only redrawing those areas, which have been 
7240         return _core_
.Window_IsExposedRect(*args
, **kwargs
) 
7242     def GetDefaultAttributes(*args
, **kwargs
): 
7244         GetDefaultAttributes(self) -> VisualAttributes 
7246         Get the default attributes for an instance of this class.  This is 
7247         useful if you want to use the same font or colour in your own control 
7248         as in a standard control -- which is a much better idea than hard 
7249         coding specific colours or fonts which might look completely out of 
7250         place on the user's system, especially if it uses themes. 
7252         return _core_
.Window_GetDefaultAttributes(*args
, **kwargs
) 
7254     def GetClassDefaultAttributes(*args
, **kwargs
): 
7256         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
7258         Get the default attributes for this class.  This is useful if you want 
7259         to use the same font or colour in your own control as in a standard 
7260         control -- which is a much better idea than hard coding specific 
7261         colours or fonts which might look completely out of place on the 
7262         user's system, especially if it uses themes. 
7264         The variant parameter is only relevant under Mac currently and is 
7265         ignore under other platforms. Under Mac, it will change the size of 
7266         the returned font. See `wx.Window.SetWindowVariant` for more about 
7269         return _core_
.Window_GetClassDefaultAttributes(*args
, **kwargs
) 
7271     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
7272     def SetBackgroundColour(*args
, **kwargs
): 
7274         SetBackgroundColour(self, Colour colour) -> bool 
7276         Sets the background colour of the window.  Returns True if the colour 
7277         was changed.  The background colour is usually painted by the default 
7278         EVT_ERASE_BACKGROUND event handler function under Windows and 
7279         automatically under GTK.  Using `wx.NullColour` will reset the window 
7280         to the default background colour. 
7282         Note that setting the background colour may not cause an immediate 
7283         refresh, so you may wish to call `ClearBackground` or `Refresh` after 
7284         calling this function. 
7286         Using this function will disable attempts to use themes for this 
7287         window, if the system supports them.  Use with care since usually the 
7288         themes represent the appearance chosen by the user to be used for all 
7289         applications on the system. 
7291         return _core_
.Window_SetBackgroundColour(*args
, **kwargs
) 
7293     def SetOwnBackgroundColour(*args
, **kwargs
): 
7294         """SetOwnBackgroundColour(self, Colour colour)""" 
7295         return _core_
.Window_SetOwnBackgroundColour(*args
, **kwargs
) 
7297     def SetForegroundColour(*args
, **kwargs
): 
7299         SetForegroundColour(self, Colour colour) -> bool 
7301         Sets the foreground colour of the window.  Returns True is the colour 
7302         was changed.  The interpretation of foreground colour is dependent on 
7303         the window class; it may be the text colour or other colour, or it may 
7306         return _core_
.Window_SetForegroundColour(*args
, **kwargs
) 
7308     def SetOwnForegroundColour(*args
, **kwargs
): 
7309         """SetOwnForegroundColour(self, Colour colour)""" 
7310         return _core_
.Window_SetOwnForegroundColour(*args
, **kwargs
) 
7312     def GetBackgroundColour(*args
, **kwargs
): 
7314         GetBackgroundColour(self) -> Colour 
7316         Returns the background colour of the window. 
7318         return _core_
.Window_GetBackgroundColour(*args
, **kwargs
) 
7320     def GetForegroundColour(*args
, **kwargs
): 
7322         GetForegroundColour(self) -> Colour 
7324         Returns the foreground colour of the window.  The interpretation of 
7325         foreground colour is dependent on the window class; it may be the text 
7326         colour or other colour, or it may not be used at all. 
7328         return _core_
.Window_GetForegroundColour(*args
, **kwargs
) 
7330     def SetBackgroundStyle(*args
, **kwargs
): 
7332         SetBackgroundStyle(self, int style) -> bool 
7334         Returns the background style of the window. The background style 
7335         indicates how the background of the window is drawn. 
7337             ======================  ======================================== 
7338             wx.BG_STYLE_SYSTEM      The background colour or pattern should 
7339                                     be determined by the system 
7340             wx.BG_STYLE_COLOUR      The background should be a solid colour 
7341             wx.BG_STYLE_CUSTOM      The background will be implemented by the 
7343             ======================  ======================================== 
7345         On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of 
7346         a custom background, such as a tiled bitmap. Currently the style has 
7347         no effect on other platforms. 
7349         :see: `GetBackgroundStyle`, `SetBackgroundColour` 
7351         return _core_
.Window_SetBackgroundStyle(*args
, **kwargs
) 
7353     def GetBackgroundStyle(*args
, **kwargs
): 
7355         GetBackgroundStyle(self) -> int 
7357         Returns the background style of the window. 
7359         :see: `SetBackgroundStyle` 
7361         return _core_
.Window_GetBackgroundStyle(*args
, **kwargs
) 
7363     def HasTransparentBackground(*args
, **kwargs
): 
7365         HasTransparentBackground(self) -> bool 
7367         Returns True if this window's background is transparent (as, for 
7368         example, for `wx.StaticText`) and should show the parent window's 
7371         This method is mostly used internally by the library itself and you 
7372         normally shouldn't have to call it. You may, however, have to override 
7373         it in your custom control classes to ensure that background is painted 
7376         return _core_
.Window_HasTransparentBackground(*args
, **kwargs
) 
7378     def SetCursor(*args
, **kwargs
): 
7380         SetCursor(self, Cursor cursor) -> bool 
7382         Sets the window's cursor. Notice that the window cursor also sets it 
7383         for the children of the window implicitly. 
7385         The cursor may be wx.NullCursor in which case the window cursor will 
7386         be reset back to default. 
7388         return _core_
.Window_SetCursor(*args
, **kwargs
) 
7390     def GetCursor(*args
, **kwargs
): 
7392         GetCursor(self) -> Cursor 
7394         Return the cursor associated with this window. 
7396         return _core_
.Window_GetCursor(*args
, **kwargs
) 
7398     def SetFont(*args
, **kwargs
): 
7400         SetFont(self, Font font) -> bool 
7402         Sets the font for this window. 
7404         return _core_
.Window_SetFont(*args
, **kwargs
) 
7406     def SetOwnFont(*args
, **kwargs
): 
7407         """SetOwnFont(self, Font font)""" 
7408         return _core_
.Window_SetOwnFont(*args
, **kwargs
) 
7410     def GetFont(*args
, **kwargs
): 
7412         GetFont(self) -> Font 
7414         Returns the default font used for this window. 
7416         return _core_
.Window_GetFont(*args
, **kwargs
) 
7418     def SetCaret(*args
, **kwargs
): 
7420         SetCaret(self, Caret caret) 
7422         Sets the caret associated with the window. 
7424         return _core_
.Window_SetCaret(*args
, **kwargs
) 
7426     def GetCaret(*args
, **kwargs
): 
7428         GetCaret(self) -> Caret 
7430         Returns the caret associated with the window. 
7432         return _core_
.Window_GetCaret(*args
, **kwargs
) 
7434     def GetCharHeight(*args
, **kwargs
): 
7436         GetCharHeight(self) -> int 
7438         Get the (average) character size for the current font. 
7440         return _core_
.Window_GetCharHeight(*args
, **kwargs
) 
7442     def GetCharWidth(*args
, **kwargs
): 
7444         GetCharWidth(self) -> int 
7446         Get the (average) character size for the current font. 
7448         return _core_
.Window_GetCharWidth(*args
, **kwargs
) 
7450     def GetTextExtent(*args
, **kwargs
): 
7452         GetTextExtent(String string) -> (width, height) 
7454         Get the width and height of the text using the current font. 
7456         return _core_
.Window_GetTextExtent(*args
, **kwargs
) 
7458     def GetFullTextExtent(*args
, **kwargs
): 
7460         GetFullTextExtent(String string, Font font=None) -> 
7461            (width, height, descent, externalLeading) 
7463         Get the width, height, decent and leading of the text using the 
7464         current or specified font. 
7466         return _core_
.Window_GetFullTextExtent(*args
, **kwargs
) 
7468     def ClientToScreenXY(*args
, **kwargs
): 
7470         ClientToScreenXY(int x, int y) -> (x,y) 
7472         Converts to screen coordinates from coordinates relative to this window. 
7474         return _core_
.Window_ClientToScreenXY(*args
, **kwargs
) 
7476     def ScreenToClientXY(*args
, **kwargs
): 
7478         ScreenToClientXY(int x, int y) -> (x,y) 
7480         Converts from screen to client window coordinates. 
7482         return _core_
.Window_ScreenToClientXY(*args
, **kwargs
) 
7484     def ClientToScreen(*args
, **kwargs
): 
7486         ClientToScreen(self, Point pt) -> Point 
7488         Converts to screen coordinates from coordinates relative to this window. 
7490         return _core_
.Window_ClientToScreen(*args
, **kwargs
) 
7492     def ScreenToClient(*args
, **kwargs
): 
7494         ScreenToClient(self, Point pt) -> Point 
7496         Converts from screen to client window coordinates. 
7498         return _core_
.Window_ScreenToClient(*args
, **kwargs
) 
7500     def HitTestXY(*args
, **kwargs
): 
7502         HitTestXY(self, int x, int y) -> int 
7504         Test where the given (in client coords) point lies 
7506         return _core_
.Window_HitTestXY(*args
, **kwargs
) 
7508     def HitTest(*args
, **kwargs
): 
7510         HitTest(self, Point pt) -> int 
7512         Test where the given (in client coords) point lies 
7514         return _core_
.Window_HitTest(*args
, **kwargs
) 
7516     def GetBorder(*args
): 
7518         GetBorder(self, long flags) -> int 
7519         GetBorder(self) -> int 
7521         Get border for the flags of this window 
7523         return _core_
.Window_GetBorder(*args
) 
7525     def UpdateWindowUI(*args
, **kwargs
): 
7527         UpdateWindowUI(self, long flags=UPDATE_UI_NONE) 
7529         This function sends EVT_UPDATE_UI events to the window. The particular 
7530         implementation depends on the window; for example a wx.ToolBar will 
7531         send an update UI event for each toolbar button, and a wx.Frame will 
7532         send an update UI event for each menubar menu item. You can call this 
7533         function from your application to ensure that your UI is up-to-date at 
7534         a particular point in time (as far as your EVT_UPDATE_UI handlers are 
7535         concerned). This may be necessary if you have called 
7536         wx.UpdateUIEvent.SetMode or wx.UpdateUIEvent.SetUpdateInterval to 
7537         limit the overhead that wxWindows incurs by sending update UI events 
7540         return _core_
.Window_UpdateWindowUI(*args
, **kwargs
) 
7542     def PopupMenuXY(*args
, **kwargs
): 
7544         PopupMenuXY(self, Menu menu, int x=-1, int y=-1) -> bool 
7546         Pops up the given menu at the specified coordinates, relative to this window, 
7547         and returns control when the user has dismissed the menu. If a menu item is 
7548         selected, the corresponding menu event is generated and will be processed as 
7549         usual.  If the default position is given then the current position of the 
7550         mouse cursor will be used. 
7552         return _core_
.Window_PopupMenuXY(*args
, **kwargs
) 
7554     def PopupMenu(*args
, **kwargs
): 
7556         PopupMenu(self, Menu menu, Point pos=DefaultPosition) -> bool 
7558         Pops up the given menu at the specified coordinates, relative to this window, 
7559         and returns control when the user has dismissed the menu. If a menu item is 
7560         selected, the corresponding menu event is generated and will be processed as 
7561         usual.  If the default position is given then the current position of the 
7562         mouse cursor will be used. 
7564         return _core_
.Window_PopupMenu(*args
, **kwargs
) 
7566     def GetHandle(*args
, **kwargs
): 
7568         GetHandle(self) -> long 
7570         Returns the platform-specific handle (as a long integer) of the 
7571         physical window.  Currently on wxMac it returns the handle of the 
7572         toplevel parent of the window. 
7574         return _core_
.Window_GetHandle(*args
, **kwargs
) 
7576     def AssociateHandle(*args
, **kwargs
): 
7578         AssociateHandle(self, long handle) 
7580         Associate the window with a new native handle 
7582         return _core_
.Window_AssociateHandle(*args
, **kwargs
) 
7584     def DissociateHandle(*args
, **kwargs
): 
7586         DissociateHandle(self) 
7588         Dissociate the current native handle from the window 
7590         return _core_
.Window_DissociateHandle(*args
, **kwargs
) 
7592     def HasScrollbar(*args
, **kwargs
): 
7594         HasScrollbar(self, int orient) -> bool 
7596         Does the window have the scrollbar for this orientation? 
7598         return _core_
.Window_HasScrollbar(*args
, **kwargs
) 
7600     def SetScrollbar(*args
, **kwargs
): 
7602         SetScrollbar(self, int orientation, int position, int thumbSize, int range,  
7605         Sets the scrollbar properties of a built-in scrollbar. 
7607         return _core_
.Window_SetScrollbar(*args
, **kwargs
) 
7609     def SetScrollPos(*args
, **kwargs
): 
7611         SetScrollPos(self, int orientation, int pos, bool refresh=True) 
7613         Sets the position of one of the built-in scrollbars. 
7615         return _core_
.Window_SetScrollPos(*args
, **kwargs
) 
7617     def GetScrollPos(*args
, **kwargs
): 
7619         GetScrollPos(self, int orientation) -> int 
7621         Returns the built-in scrollbar position. 
7623         return _core_
.Window_GetScrollPos(*args
, **kwargs
) 
7625     def GetScrollThumb(*args
, **kwargs
): 
7627         GetScrollThumb(self, int orientation) -> int 
7629         Returns the built-in scrollbar thumb size. 
7631         return _core_
.Window_GetScrollThumb(*args
, **kwargs
) 
7633     def GetScrollRange(*args
, **kwargs
): 
7635         GetScrollRange(self, int orientation) -> int 
7637         Returns the built-in scrollbar range. 
7639         return _core_
.Window_GetScrollRange(*args
, **kwargs
) 
7641     def ScrollWindow(*args
, **kwargs
): 
7643         ScrollWindow(self, int dx, int dy, Rect rect=None) 
7645         Physically scrolls the pixels in the window and move child windows 
7646         accordingly.  Use this function to optimise your scrolling 
7647         implementations, to minimise the area that must be redrawn. Note that 
7648         it is rarely required to call this function from a user program. 
7650         return _core_
.Window_ScrollWindow(*args
, **kwargs
) 
7652     def ScrollLines(*args
, **kwargs
): 
7654         ScrollLines(self, int lines) -> bool 
7656         If the platform and window class supports it, scrolls the window by 
7657         the given number of lines down, if lines is positive, or up if lines 
7658         is negative.  Returns True if the window was scrolled, False if it was 
7659         already on top/bottom and nothing was done. 
7661         return _core_
.Window_ScrollLines(*args
, **kwargs
) 
7663     def ScrollPages(*args
, **kwargs
): 
7665         ScrollPages(self, int pages) -> bool 
7667         If the platform and window class supports it, scrolls the window by 
7668         the given number of pages down, if pages is positive, or up if pages 
7669         is negative.  Returns True if the window was scrolled, False if it was 
7670         already on top/bottom and nothing was done. 
7672         return _core_
.Window_ScrollPages(*args
, **kwargs
) 
7674     def LineUp(*args
, **kwargs
): 
7676         LineUp(self) -> bool 
7678         This is just a wrapper for ScrollLines(-1). 
7680         return _core_
.Window_LineUp(*args
, **kwargs
) 
7682     def LineDown(*args
, **kwargs
): 
7684         LineDown(self) -> bool 
7686         This is just a wrapper for ScrollLines(1). 
7688         return _core_
.Window_LineDown(*args
, **kwargs
) 
7690     def PageUp(*args
, **kwargs
): 
7692         PageUp(self) -> bool 
7694         This is just a wrapper for ScrollPages(-1). 
7696         return _core_
.Window_PageUp(*args
, **kwargs
) 
7698     def PageDown(*args
, **kwargs
): 
7700         PageDown(self) -> bool 
7702         This is just a wrapper for ScrollPages(1). 
7704         return _core_
.Window_PageDown(*args
, **kwargs
) 
7706     def SetHelpText(*args
, **kwargs
): 
7708         SetHelpText(self, String text) 
7710         Sets the help text to be used as context-sensitive help for this 
7711         window.  Note that the text is actually stored by the current 
7712         wxHelpProvider implementation, and not in the window object itself. 
7714         return _core_
.Window_SetHelpText(*args
, **kwargs
) 
7716     def SetHelpTextForId(*args
, **kwargs
): 
7718         SetHelpTextForId(self, String text) 
7720         Associate this help text with all windows with the same id as this 
7723         return _core_
.Window_SetHelpTextForId(*args
, **kwargs
) 
7725     def GetHelpText(*args
, **kwargs
): 
7727         GetHelpText(self) -> String 
7729         Gets the help text to be used as context-sensitive help for this 
7730         window.  Note that the text is actually stored by the current 
7731         wxHelpProvider implementation, and not in the window object itself. 
7733         return _core_
.Window_GetHelpText(*args
, **kwargs
) 
7735     def SetToolTipString(*args
, **kwargs
): 
7737         SetToolTipString(self, String tip) 
7739         Attach a tooltip to the window. 
7741         return _core_
.Window_SetToolTipString(*args
, **kwargs
) 
7743     def SetToolTip(*args
, **kwargs
): 
7745         SetToolTip(self, ToolTip tip) 
7747         Attach a tooltip to the window. 
7749         return _core_
.Window_SetToolTip(*args
, **kwargs
) 
7751     def GetToolTip(*args
, **kwargs
): 
7753         GetToolTip(self) -> ToolTip 
7755         get the associated tooltip or None if none 
7757         return _core_
.Window_GetToolTip(*args
, **kwargs
) 
7759     def SetDropTarget(*args
, **kwargs
): 
7761         SetDropTarget(self, DropTarget dropTarget) 
7763         Associates a drop target with this window.  If the window already has 
7764         a drop target, it is deleted. 
7766         return _core_
.Window_SetDropTarget(*args
, **kwargs
) 
7768     def GetDropTarget(*args
, **kwargs
): 
7770         GetDropTarget(self) -> DropTarget 
7772         Returns the associated drop target, which may be None. 
7774         return _core_
.Window_GetDropTarget(*args
, **kwargs
) 
7776     def SetConstraints(*args
, **kwargs
): 
7778         SetConstraints(self, LayoutConstraints constraints) 
7780         Sets the window to have the given layout constraints. If an existing 
7781         layout constraints object is already owned by the window, it will be 
7782         deleted.  Pass None to disassociate and delete the window's current 
7785         You must call SetAutoLayout to tell a window to use the constraints 
7786         automatically in its default EVT_SIZE handler; otherwise, you must 
7787         handle EVT_SIZE yourself and call Layout() explicitly. When setting 
7788         both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have 
7791         return _core_
.Window_SetConstraints(*args
, **kwargs
) 
7793     def GetConstraints(*args
, **kwargs
): 
7795         GetConstraints(self) -> LayoutConstraints 
7797         Returns a pointer to the window's layout constraints, or None if there 
7800         return _core_
.Window_GetConstraints(*args
, **kwargs
) 
7802     def SetAutoLayout(*args
, **kwargs
): 
7804         SetAutoLayout(self, bool autoLayout) 
7806         Determines whether the Layout function will be called automatically 
7807         when the window is resized.  It is called implicitly by SetSizer but 
7808         if you use SetConstraints you should call it manually or otherwise the 
7809         window layout won't be correctly updated when its size changes. 
7811         return _core_
.Window_SetAutoLayout(*args
, **kwargs
) 
7813     def GetAutoLayout(*args
, **kwargs
): 
7815         GetAutoLayout(self) -> bool 
7817         Returns the current autoLayout setting 
7819         return _core_
.Window_GetAutoLayout(*args
, **kwargs
) 
7821     def Layout(*args
, **kwargs
): 
7823         Layout(self) -> bool 
7825         Invokes the constraint-based layout algorithm or the sizer-based 
7826         algorithm for this window.  See SetAutoLayout: when auto layout is on, 
7827         this function gets called automatically by the default EVT_SIZE 
7828         handler when the window is resized. 
7830         return _core_
.Window_Layout(*args
, **kwargs
) 
7832     def SetSizer(*args
, **kwargs
): 
7834         SetSizer(self, Sizer sizer, bool deleteOld=True) 
7836         Sets the window to have the given layout sizer. The window will then 
7837         own the object, and will take care of its deletion. If an existing 
7838         layout sizer object is already owned by the window, it will be deleted 
7839         if the deleteOld parameter is true. Note that this function will also 
7840         call SetAutoLayout implicitly with a True parameter if the sizer is 
7841         non-None, and False otherwise. 
7843         return _core_
.Window_SetSizer(*args
, **kwargs
) 
7845     def SetSizerAndFit(*args
, **kwargs
): 
7847         SetSizerAndFit(self, Sizer sizer, bool deleteOld=True) 
7849         The same as SetSizer, except it also sets the size hints for the 
7850         window based on the sizer's minimum size. 
7852         return _core_
.Window_SetSizerAndFit(*args
, **kwargs
) 
7854     def GetSizer(*args
, **kwargs
): 
7856         GetSizer(self) -> Sizer 
7858         Return the sizer associated with the window by a previous call to 
7859         SetSizer or None if there isn't one. 
7861         return _core_
.Window_GetSizer(*args
, **kwargs
) 
7863     def SetContainingSizer(*args
, **kwargs
): 
7865         SetContainingSizer(self, Sizer sizer) 
7867         This normally does not need to be called by application code. It is 
7868         called internally when a window is added to a sizer, and is used so 
7869         the window can remove itself from the sizer when it is destroyed. 
7871         return _core_
.Window_SetContainingSizer(*args
, **kwargs
) 
7873     def GetContainingSizer(*args
, **kwargs
): 
7875         GetContainingSizer(self) -> Sizer 
7877         Return the sizer that this window is a member of, if any, otherwise None. 
7879         return _core_
.Window_GetContainingSizer(*args
, **kwargs
) 
7881     def InheritAttributes(*args
, **kwargs
): 
7883         InheritAttributes(self) 
7885         This function is (or should be, in case of custom controls) called 
7886         during window creation to intelligently set up the window visual 
7887         attributes, that is the font and the foreground and background 
7890         By 'intelligently' the following is meant: by default, all windows use 
7891         their own default attributes. However if some of the parent's 
7892         attributes are explicitly changed (that is, using SetFont and not 
7893         SetOwnFont) and if the corresponding attribute hadn't been 
7894         explicitly set for this window itself, then this window takes the same 
7895         value as used by the parent. In addition, if the window overrides 
7896         ShouldInheritColours to return false, the colours will not be changed 
7897         no matter what and only the font might. 
7899         This rather complicated logic is necessary in order to accommodate the 
7900         different usage scenarios. The most common one is when all default 
7901         attributes are used and in this case, nothing should be inherited as 
7902         in modern GUIs different controls use different fonts (and colours) 
7903         than their siblings so they can't inherit the same value from the 
7904         parent. However it was also deemed desirable to allow to simply change 
7905         the attributes of all children at once by just changing the font or 
7906         colour of their common parent, hence in this case we do inherit the 
7910         return _core_
.Window_InheritAttributes(*args
, **kwargs
) 
7912     def ShouldInheritColours(*args
, **kwargs
): 
7914         ShouldInheritColours(self) -> bool 
7916         Return true from here to allow the colours of this window to be 
7917         changed by InheritAttributes, returning false forbids inheriting them 
7918         from the parent window. 
7920         The base class version returns false, but this method is overridden in 
7921         wxControl where it returns true. 
7923         return _core_
.Window_ShouldInheritColours(*args
, **kwargs
) 
7925     def PostCreate(self
, pre
): 
7927         Phase 3 of the 2-phase create <wink!> 
7928         Call this method after precreating the window with the 2-phase create method. 
7930         self
.this 
= pre
.this
 
7931         self
.thisown 
= pre
.thisown
 
7933         if hasattr(self
, '_setOORInfo'): 
7934             self
._setOORInfo
(self
) 
7935         if hasattr(self
, '_setCallbackInfo'): 
7936             self
._setCallbackInfo
(self
, self
.__class
__) 
7939 class WindowPtr(Window
): 
7940     def __init__(self
, this
): 
7942         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
7943         self
.__class
__ = Window
 
7944 _core_
.Window_swigregister(WindowPtr
) 
7946 def PreWindow(*args
, **kwargs
): 
7948     PreWindow() -> Window 
7950     Precreate a Window for 2-phase creation. 
7952     val 
= _core_
.new_PreWindow(*args
, **kwargs
) 
7956 def Window_NewControlId(*args
, **kwargs
): 
7958     Window_NewControlId() -> int 
7960     Generate a control id for the controls which were not given one. 
7962     return _core_
.Window_NewControlId(*args
, **kwargs
) 
7964 def Window_NextControlId(*args
, **kwargs
): 
7966     Window_NextControlId(int winid) -> int 
7968     Get the id of the control following the one with the given 
7971     return _core_
.Window_NextControlId(*args
, **kwargs
) 
7973 def Window_PrevControlId(*args
, **kwargs
): 
7975     Window_PrevControlId(int winid) -> int 
7977     Get the id of the control preceding the one with the given 
7980     return _core_
.Window_PrevControlId(*args
, **kwargs
) 
7982 def Window_FindFocus(*args
, **kwargs
): 
7984     Window_FindFocus() -> Window 
7986     Returns the window or control that currently has the keyboard focus, 
7989     return _core_
.Window_FindFocus(*args
, **kwargs
) 
7991 def Window_GetCapture(*args
, **kwargs
): 
7993     Window_GetCapture() -> Window 
7995     Returns the window which currently captures the mouse or None 
7997     return _core_
.Window_GetCapture(*args
, **kwargs
) 
7999 def Window_GetClassDefaultAttributes(*args
, **kwargs
): 
8001     Window_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
8003     Get the default attributes for this class.  This is useful if you want 
8004     to use the same font or colour in your own control as in a standard 
8005     control -- which is a much better idea than hard coding specific 
8006     colours or fonts which might look completely out of place on the 
8007     user's system, especially if it uses themes. 
8009     The variant parameter is only relevant under Mac currently and is 
8010     ignore under other platforms. Under Mac, it will change the size of 
8011     the returned font. See `wx.Window.SetWindowVariant` for more about 
8014     return _core_
.Window_GetClassDefaultAttributes(*args
, **kwargs
) 
8016 def DLG_PNT(win
, point_or_x
, y
=None): 
8018     Convenience function for converting a Point or (x,y) in 
8019     dialog units to pixel units. 
8022         return win
.ConvertDialogPointToPixels(point_or_x
) 
8024         return win
.ConvertDialogPointToPixels(wx
.Point(point_or_x
, y
)) 
8026 def DLG_SZE(win
, size_width
, height
=None): 
8028     Convenience function for converting a Size or (w,h) in 
8029     dialog units to pixel units. 
8032         return win
.ConvertDialogSizeToPixels(size_width
) 
8034         return win
.ConvertDialogSizeToPixels(wx
.Size(size_width
, height
)) 
8037 def FindWindowById(*args
, **kwargs
): 
8039     FindWindowById(long id, Window parent=None) -> Window 
8041     Find the first window in the application with the given id. If parent 
8042     is None, the search will start from all top-level frames and dialog 
8043     boxes; if non-None, the search will be limited to the given window 
8044     hierarchy. The search is recursive in both cases. 
8046     return _core_
.FindWindowById(*args
, **kwargs
) 
8048 def FindWindowByName(*args
, **kwargs
): 
8050     FindWindowByName(String name, Window parent=None) -> Window 
8052     Find a window by its name (as given in a window constructor or Create 
8053     function call). If parent is None, the search will start from all 
8054     top-level frames and dialog boxes; if non-None, the search will be 
8055     limited to the given window hierarchy. The search is recursive in both 
8058     If no window with such name is found, wx.FindWindowByLabel is called. 
8060     return _core_
.FindWindowByName(*args
, **kwargs
) 
8062 def FindWindowByLabel(*args
, **kwargs
): 
8064     FindWindowByLabel(String label, Window parent=None) -> Window 
8066     Find a window by its label. Depending on the type of window, the label 
8067     may be a window title or panel item label. If parent is None, the 
8068     search will start from all top-level frames and dialog boxes; if 
8069     non-None, the search will be limited to the given window 
8070     hierarchy. The search is recursive in both cases. 
8072     return _core_
.FindWindowByLabel(*args
, **kwargs
) 
8074 def Window_FromHWND(*args
, **kwargs
): 
8075     """Window_FromHWND(Window parent, unsigned long _hWnd) -> Window""" 
8076     return _core_
.Window_FromHWND(*args
, **kwargs
) 
8077 #--------------------------------------------------------------------------- 
8079 class Validator(EvtHandler
): 
8080     """Proxy of C++ Validator class""" 
8082         return "<%s.%s; proxy of C++ wxValidator instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
8083     def __init__(self
, *args
, **kwargs
): 
8084         """__init__(self) -> Validator""" 
8085         newobj 
= _core_
.new_Validator(*args
, **kwargs
) 
8086         self
.this 
= newobj
.this
 
8089         self
._setOORInfo
(self
) 
8091     def Clone(*args
, **kwargs
): 
8092         """Clone(self) -> Validator""" 
8093         return _core_
.Validator_Clone(*args
, **kwargs
) 
8095     def Validate(*args
, **kwargs
): 
8096         """Validate(self, Window parent) -> bool""" 
8097         return _core_
.Validator_Validate(*args
, **kwargs
) 
8099     def TransferToWindow(*args
, **kwargs
): 
8100         """TransferToWindow(self) -> bool""" 
8101         return _core_
.Validator_TransferToWindow(*args
, **kwargs
) 
8103     def TransferFromWindow(*args
, **kwargs
): 
8104         """TransferFromWindow(self) -> bool""" 
8105         return _core_
.Validator_TransferFromWindow(*args
, **kwargs
) 
8107     def GetWindow(*args
, **kwargs
): 
8108         """GetWindow(self) -> Window""" 
8109         return _core_
.Validator_GetWindow(*args
, **kwargs
) 
8111     def SetWindow(*args
, **kwargs
): 
8112         """SetWindow(self, Window window)""" 
8113         return _core_
.Validator_SetWindow(*args
, **kwargs
) 
8115     def IsSilent(*args
, **kwargs
): 
8116         """IsSilent() -> bool""" 
8117         return _core_
.Validator_IsSilent(*args
, **kwargs
) 
8119     IsSilent 
= staticmethod(IsSilent
) 
8120     def SetBellOnError(*args
, **kwargs
): 
8121         """SetBellOnError(int doIt=True)""" 
8122         return _core_
.Validator_SetBellOnError(*args
, **kwargs
) 
8124     SetBellOnError 
= staticmethod(SetBellOnError
) 
8126 class ValidatorPtr(Validator
): 
8127     def __init__(self
, this
): 
8129         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
8130         self
.__class
__ = Validator
 
8131 _core_
.Validator_swigregister(ValidatorPtr
) 
8133 def Validator_IsSilent(*args
, **kwargs
): 
8134     """Validator_IsSilent() -> bool""" 
8135     return _core_
.Validator_IsSilent(*args
, **kwargs
) 
8137 def Validator_SetBellOnError(*args
, **kwargs
): 
8138     """Validator_SetBellOnError(int doIt=True)""" 
8139     return _core_
.Validator_SetBellOnError(*args
, **kwargs
) 
8141 class PyValidator(Validator
): 
8142     """Proxy of C++ PyValidator class""" 
8144         return "<%s.%s; proxy of C++ wxPyValidator instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
8145     def __init__(self
, *args
, **kwargs
): 
8146         """__init__(self) -> PyValidator""" 
8147         newobj 
= _core_
.new_PyValidator(*args
, **kwargs
) 
8148         self
.this 
= newobj
.this
 
8152         self
._setCallbackInfo
(self
, PyValidator
, 1) 
8153         self
._setOORInfo
(self
) 
8155     def _setCallbackInfo(*args
, **kwargs
): 
8156         """_setCallbackInfo(self, PyObject self, PyObject _class, int incref=True)""" 
8157         return _core_
.PyValidator__setCallbackInfo(*args
, **kwargs
) 
8160 class PyValidatorPtr(PyValidator
): 
8161     def __init__(self
, this
): 
8163         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
8164         self
.__class
__ = PyValidator
 
8165 _core_
.PyValidator_swigregister(PyValidatorPtr
) 
8167 #--------------------------------------------------------------------------- 
8169 class Menu(EvtHandler
): 
8170     """Proxy of C++ Menu class""" 
8172         return "<%s.%s; proxy of C++ wxMenu instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
8173     def __init__(self
, *args
, **kwargs
): 
8174         """__init__(self, String title=EmptyString, long style=0) -> Menu""" 
8175         newobj 
= _core_
.new_Menu(*args
, **kwargs
) 
8176         self
.this 
= newobj
.this
 
8179         self
._setOORInfo
(self
) 
8181     def Append(*args
, **kwargs
): 
8182         """Append(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem""" 
8183         return _core_
.Menu_Append(*args
, **kwargs
) 
8185     def AppendSeparator(*args
, **kwargs
): 
8186         """AppendSeparator(self) -> MenuItem""" 
8187         return _core_
.Menu_AppendSeparator(*args
, **kwargs
) 
8189     def AppendCheckItem(*args
, **kwargs
): 
8190         """AppendCheckItem(self, int id, String text, String help=EmptyString) -> MenuItem""" 
8191         return _core_
.Menu_AppendCheckItem(*args
, **kwargs
) 
8193     def AppendRadioItem(*args
, **kwargs
): 
8194         """AppendRadioItem(self, int id, String text, String help=EmptyString) -> MenuItem""" 
8195         return _core_
.Menu_AppendRadioItem(*args
, **kwargs
) 
8197     def AppendMenu(*args
, **kwargs
): 
8198         """AppendMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem""" 
8199         return _core_
.Menu_AppendMenu(*args
, **kwargs
) 
8201     def AppendItem(*args
, **kwargs
): 
8202         """AppendItem(self, MenuItem item) -> MenuItem""" 
8203         return _core_
.Menu_AppendItem(*args
, **kwargs
) 
8205     def Break(*args
, **kwargs
): 
8207         return _core_
.Menu_Break(*args
, **kwargs
) 
8209     def InsertItem(*args
, **kwargs
): 
8210         """InsertItem(self, size_t pos, MenuItem item) -> MenuItem""" 
8211         return _core_
.Menu_InsertItem(*args
, **kwargs
) 
8213     def Insert(*args
, **kwargs
): 
8215         Insert(self, size_t pos, int id, String text, String help=EmptyString,  
8216             int kind=ITEM_NORMAL) -> MenuItem 
8218         return _core_
.Menu_Insert(*args
, **kwargs
) 
8220     def InsertSeparator(*args
, **kwargs
): 
8221         """InsertSeparator(self, size_t pos) -> MenuItem""" 
8222         return _core_
.Menu_InsertSeparator(*args
, **kwargs
) 
8224     def InsertCheckItem(*args
, **kwargs
): 
8225         """InsertCheckItem(self, size_t pos, int id, String text, String help=EmptyString) -> MenuItem""" 
8226         return _core_
.Menu_InsertCheckItem(*args
, **kwargs
) 
8228     def InsertRadioItem(*args
, **kwargs
): 
8229         """InsertRadioItem(self, size_t pos, int id, String text, String help=EmptyString) -> MenuItem""" 
8230         return _core_
.Menu_InsertRadioItem(*args
, **kwargs
) 
8232     def InsertMenu(*args
, **kwargs
): 
8233         """InsertMenu(self, size_t pos, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem""" 
8234         return _core_
.Menu_InsertMenu(*args
, **kwargs
) 
8236     def PrependItem(*args
, **kwargs
): 
8237         """PrependItem(self, MenuItem item) -> MenuItem""" 
8238         return _core_
.Menu_PrependItem(*args
, **kwargs
) 
8240     def Prepend(*args
, **kwargs
): 
8241         """Prepend(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -> MenuItem""" 
8242         return _core_
.Menu_Prepend(*args
, **kwargs
) 
8244     def PrependSeparator(*args
, **kwargs
): 
8245         """PrependSeparator(self) -> MenuItem""" 
8246         return _core_
.Menu_PrependSeparator(*args
, **kwargs
) 
8248     def PrependCheckItem(*args
, **kwargs
): 
8249         """PrependCheckItem(self, int id, String text, String help=EmptyString) -> MenuItem""" 
8250         return _core_
.Menu_PrependCheckItem(*args
, **kwargs
) 
8252     def PrependRadioItem(*args
, **kwargs
): 
8253         """PrependRadioItem(self, int id, String text, String help=EmptyString) -> MenuItem""" 
8254         return _core_
.Menu_PrependRadioItem(*args
, **kwargs
) 
8256     def PrependMenu(*args
, **kwargs
): 
8257         """PrependMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem""" 
8258         return _core_
.Menu_PrependMenu(*args
, **kwargs
) 
8260     def Remove(*args
, **kwargs
): 
8261         """Remove(self, int id) -> MenuItem""" 
8262         return _core_
.Menu_Remove(*args
, **kwargs
) 
8264     def RemoveItem(*args
, **kwargs
): 
8265         """RemoveItem(self, MenuItem item) -> MenuItem""" 
8266         return _core_
.Menu_RemoveItem(*args
, **kwargs
) 
8268     def Delete(*args
, **kwargs
): 
8269         """Delete(self, int id) -> bool""" 
8270         return _core_
.Menu_Delete(*args
, **kwargs
) 
8272     def DeleteItem(*args
, **kwargs
): 
8273         """DeleteItem(self, MenuItem item) -> bool""" 
8274         return _core_
.Menu_DeleteItem(*args
, **kwargs
) 
8276     def Destroy(*args
, **kwargs
): 
8280         Deletes the C++ object this Python object is a proxy for. 
8282         return _core_
.Menu_Destroy(*args
, **kwargs
) 
8284     def DestroyId(*args
, **kwargs
): 
8286         DestroyId(self, int id) -> bool 
8288         Deletes the C++ object this Python object is a proxy for. 
8290         return _core_
.Menu_DestroyId(*args
, **kwargs
) 
8292     def DestroyItem(*args
, **kwargs
): 
8294         DestroyItem(self, MenuItem item) -> bool 
8296         Deletes the C++ object this Python object is a proxy for. 
8298         return _core_
.Menu_DestroyItem(*args
, **kwargs
) 
8300     def GetMenuItemCount(*args
, **kwargs
): 
8301         """GetMenuItemCount(self) -> size_t""" 
8302         return _core_
.Menu_GetMenuItemCount(*args
, **kwargs
) 
8304     def GetMenuItems(*args
, **kwargs
): 
8305         """GetMenuItems(self) -> PyObject""" 
8306         return _core_
.Menu_GetMenuItems(*args
, **kwargs
) 
8308     def FindItem(*args
, **kwargs
): 
8309         """FindItem(self, String item) -> int""" 
8310         return _core_
.Menu_FindItem(*args
, **kwargs
) 
8312     def FindItemById(*args
, **kwargs
): 
8313         """FindItemById(self, int id) -> MenuItem""" 
8314         return _core_
.Menu_FindItemById(*args
, **kwargs
) 
8316     def FindItemByPosition(*args
, **kwargs
): 
8317         """FindItemByPosition(self, size_t position) -> MenuItem""" 
8318         return _core_
.Menu_FindItemByPosition(*args
, **kwargs
) 
8320     def Enable(*args
, **kwargs
): 
8321         """Enable(self, int id, bool enable)""" 
8322         return _core_
.Menu_Enable(*args
, **kwargs
) 
8324     def IsEnabled(*args
, **kwargs
): 
8325         """IsEnabled(self, int id) -> bool""" 
8326         return _core_
.Menu_IsEnabled(*args
, **kwargs
) 
8328     def Check(*args
, **kwargs
): 
8329         """Check(self, int id, bool check)""" 
8330         return _core_
.Menu_Check(*args
, **kwargs
) 
8332     def IsChecked(*args
, **kwargs
): 
8333         """IsChecked(self, int id) -> bool""" 
8334         return _core_
.Menu_IsChecked(*args
, **kwargs
) 
8336     def SetLabel(*args
, **kwargs
): 
8337         """SetLabel(self, int id, String label)""" 
8338         return _core_
.Menu_SetLabel(*args
, **kwargs
) 
8340     def GetLabel(*args
, **kwargs
): 
8341         """GetLabel(self, int id) -> String""" 
8342         return _core_
.Menu_GetLabel(*args
, **kwargs
) 
8344     def SetHelpString(*args
, **kwargs
): 
8345         """SetHelpString(self, int id, String helpString)""" 
8346         return _core_
.Menu_SetHelpString(*args
, **kwargs
) 
8348     def GetHelpString(*args
, **kwargs
): 
8349         """GetHelpString(self, int id) -> String""" 
8350         return _core_
.Menu_GetHelpString(*args
, **kwargs
) 
8352     def SetTitle(*args
, **kwargs
): 
8353         """SetTitle(self, String title)""" 
8354         return _core_
.Menu_SetTitle(*args
, **kwargs
) 
8356     def GetTitle(*args
, **kwargs
): 
8357         """GetTitle(self) -> String""" 
8358         return _core_
.Menu_GetTitle(*args
, **kwargs
) 
8360     def SetEventHandler(*args
, **kwargs
): 
8361         """SetEventHandler(self, EvtHandler handler)""" 
8362         return _core_
.Menu_SetEventHandler(*args
, **kwargs
) 
8364     def GetEventHandler(*args
, **kwargs
): 
8365         """GetEventHandler(self) -> EvtHandler""" 
8366         return _core_
.Menu_GetEventHandler(*args
, **kwargs
) 
8368     def SetInvokingWindow(*args
, **kwargs
): 
8369         """SetInvokingWindow(self, Window win)""" 
8370         return _core_
.Menu_SetInvokingWindow(*args
, **kwargs
) 
8372     def GetInvokingWindow(*args
, **kwargs
): 
8373         """GetInvokingWindow(self) -> Window""" 
8374         return _core_
.Menu_GetInvokingWindow(*args
, **kwargs
) 
8376     def GetStyle(*args
, **kwargs
): 
8377         """GetStyle(self) -> long""" 
8378         return _core_
.Menu_GetStyle(*args
, **kwargs
) 
8380     def UpdateUI(*args
, **kwargs
): 
8381         """UpdateUI(self, EvtHandler source=None)""" 
8382         return _core_
.Menu_UpdateUI(*args
, **kwargs
) 
8384     def GetMenuBar(*args
, **kwargs
): 
8385         """GetMenuBar(self) -> MenuBar""" 
8386         return _core_
.Menu_GetMenuBar(*args
, **kwargs
) 
8388     def Attach(*args
, **kwargs
): 
8389         """Attach(self, wxMenuBarBase menubar)""" 
8390         return _core_
.Menu_Attach(*args
, **kwargs
) 
8392     def Detach(*args
, **kwargs
): 
8394         return _core_
.Menu_Detach(*args
, **kwargs
) 
8396     def IsAttached(*args
, **kwargs
): 
8397         """IsAttached(self) -> bool""" 
8398         return _core_
.Menu_IsAttached(*args
, **kwargs
) 
8400     def SetParent(*args
, **kwargs
): 
8401         """SetParent(self, Menu parent)""" 
8402         return _core_
.Menu_SetParent(*args
, **kwargs
) 
8404     def GetParent(*args
, **kwargs
): 
8405         """GetParent(self) -> Menu""" 
8406         return _core_
.Menu_GetParent(*args
, **kwargs
) 
8409 class MenuPtr(Menu
): 
8410     def __init__(self
, this
): 
8412         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
8413         self
.__class
__ = Menu
 
8414 _core_
.Menu_swigregister(MenuPtr
) 
8415 DefaultValidator 
= cvar
.DefaultValidator
 
8417 #--------------------------------------------------------------------------- 
8419 class MenuBar(Window
): 
8420     """Proxy of C++ MenuBar class""" 
8422         return "<%s.%s; proxy of C++ wxMenuBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
8423     def __init__(self
, *args
, **kwargs
): 
8424         """__init__(self, long style=0) -> MenuBar""" 
8425         newobj 
= _core_
.new_MenuBar(*args
, **kwargs
) 
8426         self
.this 
= newobj
.this
 
8429         self
._setOORInfo
(self
) 
8431     def Append(*args
, **kwargs
): 
8432         """Append(self, Menu menu, String title) -> bool""" 
8433         return _core_
.MenuBar_Append(*args
, **kwargs
) 
8435     def Insert(*args
, **kwargs
): 
8436         """Insert(self, size_t pos, Menu menu, String title) -> bool""" 
8437         return _core_
.MenuBar_Insert(*args
, **kwargs
) 
8439     def GetMenuCount(*args
, **kwargs
): 
8440         """GetMenuCount(self) -> size_t""" 
8441         return _core_
.MenuBar_GetMenuCount(*args
, **kwargs
) 
8443     def GetMenu(*args
, **kwargs
): 
8444         """GetMenu(self, size_t pos) -> Menu""" 
8445         return _core_
.MenuBar_GetMenu(*args
, **kwargs
) 
8447     def Replace(*args
, **kwargs
): 
8448         """Replace(self, size_t pos, Menu menu, String title) -> Menu""" 
8449         return _core_
.MenuBar_Replace(*args
, **kwargs
) 
8451     def Remove(*args
, **kwargs
): 
8452         """Remove(self, size_t pos) -> Menu""" 
8453         return _core_
.MenuBar_Remove(*args
, **kwargs
) 
8455     def EnableTop(*args
, **kwargs
): 
8456         """EnableTop(self, size_t pos, bool enable)""" 
8457         return _core_
.MenuBar_EnableTop(*args
, **kwargs
) 
8459     def IsEnabledTop(*args
, **kwargs
): 
8460         """IsEnabledTop(self, size_t pos) -> bool""" 
8461         return _core_
.MenuBar_IsEnabledTop(*args
, **kwargs
) 
8463     def SetLabelTop(*args
, **kwargs
): 
8464         """SetLabelTop(self, size_t pos, String label)""" 
8465         return _core_
.MenuBar_SetLabelTop(*args
, **kwargs
) 
8467     def GetLabelTop(*args
, **kwargs
): 
8468         """GetLabelTop(self, size_t pos) -> String""" 
8469         return _core_
.MenuBar_GetLabelTop(*args
, **kwargs
) 
8471     def FindMenuItem(*args
, **kwargs
): 
8472         """FindMenuItem(self, String menu, String item) -> int""" 
8473         return _core_
.MenuBar_FindMenuItem(*args
, **kwargs
) 
8475     def FindItemById(*args
, **kwargs
): 
8476         """FindItemById(self, int id) -> MenuItem""" 
8477         return _core_
.MenuBar_FindItemById(*args
, **kwargs
) 
8479     def FindMenu(*args
, **kwargs
): 
8480         """FindMenu(self, String title) -> int""" 
8481         return _core_
.MenuBar_FindMenu(*args
, **kwargs
) 
8483     def Enable(*args
, **kwargs
): 
8484         """Enable(self, int id, bool enable)""" 
8485         return _core_
.MenuBar_Enable(*args
, **kwargs
) 
8487     def Check(*args
, **kwargs
): 
8488         """Check(self, int id, bool check)""" 
8489         return _core_
.MenuBar_Check(*args
, **kwargs
) 
8491     def IsChecked(*args
, **kwargs
): 
8492         """IsChecked(self, int id) -> bool""" 
8493         return _core_
.MenuBar_IsChecked(*args
, **kwargs
) 
8495     def IsEnabled(*args
, **kwargs
): 
8496         """IsEnabled(self, int id) -> bool""" 
8497         return _core_
.MenuBar_IsEnabled(*args
, **kwargs
) 
8499     def SetLabel(*args
, **kwargs
): 
8500         """SetLabel(self, int id, String label)""" 
8501         return _core_
.MenuBar_SetLabel(*args
, **kwargs
) 
8503     def GetLabel(*args
, **kwargs
): 
8504         """GetLabel(self, int id) -> String""" 
8505         return _core_
.MenuBar_GetLabel(*args
, **kwargs
) 
8507     def SetHelpString(*args
, **kwargs
): 
8508         """SetHelpString(self, int id, String helpString)""" 
8509         return _core_
.MenuBar_SetHelpString(*args
, **kwargs
) 
8511     def GetHelpString(*args
, **kwargs
): 
8512         """GetHelpString(self, int id) -> String""" 
8513         return _core_
.MenuBar_GetHelpString(*args
, **kwargs
) 
8515     def GetFrame(*args
, **kwargs
): 
8516         """GetFrame(self) -> wxFrame""" 
8517         return _core_
.MenuBar_GetFrame(*args
, **kwargs
) 
8519     def IsAttached(*args
, **kwargs
): 
8520         """IsAttached(self) -> bool""" 
8521         return _core_
.MenuBar_IsAttached(*args
, **kwargs
) 
8523     def Attach(*args
, **kwargs
): 
8524         """Attach(self, wxFrame frame)""" 
8525         return _core_
.MenuBar_Attach(*args
, **kwargs
) 
8527     def Detach(*args
, **kwargs
): 
8529         return _core_
.MenuBar_Detach(*args
, **kwargs
) 
8532 class MenuBarPtr(MenuBar
): 
8533     def __init__(self
, this
): 
8535         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
8536         self
.__class
__ = MenuBar
 
8537 _core_
.MenuBar_swigregister(MenuBarPtr
) 
8539 #--------------------------------------------------------------------------- 
8541 class MenuItem(Object
): 
8542     """Proxy of C++ MenuItem class""" 
8544         return "<%s.%s; proxy of C++ wxMenuItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
8545     def __init__(self
, *args
, **kwargs
): 
8547         __init__(self, Menu parentMenu=None, int id=ID_ANY, String text=EmptyString,  
8548             String help=EmptyString, int kind=ITEM_NORMAL,  
8549             Menu subMenu=None) -> MenuItem 
8551         newobj 
= _core_
.new_MenuItem(*args
, **kwargs
) 
8552         self
.this 
= newobj
.this
 
8555     def GetMenu(*args
, **kwargs
): 
8556         """GetMenu(self) -> Menu""" 
8557         return _core_
.MenuItem_GetMenu(*args
, **kwargs
) 
8559     def SetMenu(*args
, **kwargs
): 
8560         """SetMenu(self, Menu menu)""" 
8561         return _core_
.MenuItem_SetMenu(*args
, **kwargs
) 
8563     def SetId(*args
, **kwargs
): 
8564         """SetId(self, int id)""" 
8565         return _core_
.MenuItem_SetId(*args
, **kwargs
) 
8567     def GetId(*args
, **kwargs
): 
8568         """GetId(self) -> int""" 
8569         return _core_
.MenuItem_GetId(*args
, **kwargs
) 
8571     def IsSeparator(*args
, **kwargs
): 
8572         """IsSeparator(self) -> bool""" 
8573         return _core_
.MenuItem_IsSeparator(*args
, **kwargs
) 
8575     def SetText(*args
, **kwargs
): 
8576         """SetText(self, String str)""" 
8577         return _core_
.MenuItem_SetText(*args
, **kwargs
) 
8579     def GetLabel(*args
, **kwargs
): 
8580         """GetLabel(self) -> String""" 
8581         return _core_
.MenuItem_GetLabel(*args
, **kwargs
) 
8583     def GetText(*args
, **kwargs
): 
8584         """GetText(self) -> String""" 
8585         return _core_
.MenuItem_GetText(*args
, **kwargs
) 
8587     def GetLabelFromText(*args
, **kwargs
): 
8588         """GetLabelFromText(String text) -> String""" 
8589         return _core_
.MenuItem_GetLabelFromText(*args
, **kwargs
) 
8591     GetLabelFromText 
= staticmethod(GetLabelFromText
) 
8592     def GetKind(*args
, **kwargs
): 
8593         """GetKind(self) -> int""" 
8594         return _core_
.MenuItem_GetKind(*args
, **kwargs
) 
8596     def SetKind(*args
, **kwargs
): 
8597         """SetKind(self, int kind)""" 
8598         return _core_
.MenuItem_SetKind(*args
, **kwargs
) 
8600     def SetCheckable(*args
, **kwargs
): 
8601         """SetCheckable(self, bool checkable)""" 
8602         return _core_
.MenuItem_SetCheckable(*args
, **kwargs
) 
8604     def IsCheckable(*args
, **kwargs
): 
8605         """IsCheckable(self) -> bool""" 
8606         return _core_
.MenuItem_IsCheckable(*args
, **kwargs
) 
8608     def IsSubMenu(*args
, **kwargs
): 
8609         """IsSubMenu(self) -> bool""" 
8610         return _core_
.MenuItem_IsSubMenu(*args
, **kwargs
) 
8612     def SetSubMenu(*args
, **kwargs
): 
8613         """SetSubMenu(self, Menu menu)""" 
8614         return _core_
.MenuItem_SetSubMenu(*args
, **kwargs
) 
8616     def GetSubMenu(*args
, **kwargs
): 
8617         """GetSubMenu(self) -> Menu""" 
8618         return _core_
.MenuItem_GetSubMenu(*args
, **kwargs
) 
8620     def Enable(*args
, **kwargs
): 
8621         """Enable(self, bool enable=True)""" 
8622         return _core_
.MenuItem_Enable(*args
, **kwargs
) 
8624     def IsEnabled(*args
, **kwargs
): 
8625         """IsEnabled(self) -> bool""" 
8626         return _core_
.MenuItem_IsEnabled(*args
, **kwargs
) 
8628     def Check(*args
, **kwargs
): 
8629         """Check(self, bool check=True)""" 
8630         return _core_
.MenuItem_Check(*args
, **kwargs
) 
8632     def IsChecked(*args
, **kwargs
): 
8633         """IsChecked(self) -> bool""" 
8634         return _core_
.MenuItem_IsChecked(*args
, **kwargs
) 
8636     def Toggle(*args
, **kwargs
): 
8638         return _core_
.MenuItem_Toggle(*args
, **kwargs
) 
8640     def SetHelp(*args
, **kwargs
): 
8641         """SetHelp(self, String str)""" 
8642         return _core_
.MenuItem_SetHelp(*args
, **kwargs
) 
8644     def GetHelp(*args
, **kwargs
): 
8645         """GetHelp(self) -> String""" 
8646         return _core_
.MenuItem_GetHelp(*args
, **kwargs
) 
8648     def GetAccel(*args
, **kwargs
): 
8649         """GetAccel(self) -> AcceleratorEntry""" 
8650         return _core_
.MenuItem_GetAccel(*args
, **kwargs
) 
8652     def SetAccel(*args
, **kwargs
): 
8653         """SetAccel(self, AcceleratorEntry accel)""" 
8654         return _core_
.MenuItem_SetAccel(*args
, **kwargs
) 
8656     def GetDefaultMarginWidth(*args
, **kwargs
): 
8657         """GetDefaultMarginWidth() -> int""" 
8658         return _core_
.MenuItem_GetDefaultMarginWidth(*args
, **kwargs
) 
8660     GetDefaultMarginWidth 
= staticmethod(GetDefaultMarginWidth
) 
8661     def SetBitmap(*args
, **kwargs
): 
8662         """SetBitmap(self, Bitmap bitmap)""" 
8663         return _core_
.MenuItem_SetBitmap(*args
, **kwargs
) 
8665     def GetBitmap(*args
, **kwargs
): 
8666         """GetBitmap(self) -> Bitmap""" 
8667         return _core_
.MenuItem_GetBitmap(*args
, **kwargs
) 
8670 class MenuItemPtr(MenuItem
): 
8671     def __init__(self
, this
): 
8673         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
8674         self
.__class
__ = MenuItem
 
8675 _core_
.MenuItem_swigregister(MenuItemPtr
) 
8677 def MenuItem_GetLabelFromText(*args
, **kwargs
): 
8678     """MenuItem_GetLabelFromText(String text) -> String""" 
8679     return _core_
.MenuItem_GetLabelFromText(*args
, **kwargs
) 
8681 def MenuItem_GetDefaultMarginWidth(*args
, **kwargs
): 
8682     """MenuItem_GetDefaultMarginWidth() -> int""" 
8683     return _core_
.MenuItem_GetDefaultMarginWidth(*args
, **kwargs
) 
8685 #--------------------------------------------------------------------------- 
8687 class Control(Window
): 
8689     This is the base class for a control or 'widget'. 
8691     A control is generally a small window which processes user input 
8692     and/or displays one or more item of data. 
8695         return "<%s.%s; proxy of C++ wxControl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
8696     def __init__(self
, *args
, **kwargs
): 
8698         __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,  
8699             Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,  
8700             String name=ControlNameStr) -> Control 
8702         Create a Control.  Normally you should only call this from a subclass' 
8703         __init__ as a plain old wx.Control is not very useful. 
8705         newobj 
= _core_
.new_Control(*args
, **kwargs
) 
8706         self
.this 
= newobj
.this
 
8709         self
._setOORInfo
(self
) 
8711     def Create(*args
, **kwargs
): 
8713         Create(self, Window parent, int id=-1, Point pos=DefaultPosition,  
8714             Size size=DefaultSize, long style=0, Validator validator=DefaultValidator,  
8715             String name=ControlNameStr) -> bool 
8717         Do the 2nd phase and create the GUI control. 
8719         return _core_
.Control_Create(*args
, **kwargs
) 
8721     def Command(*args
, **kwargs
): 
8723         Command(self, CommandEvent event) 
8725         Simulates the effect of the user issuing a command to the item. 
8727         :see: `wx.CommandEvent` 
8730         return _core_
.Control_Command(*args
, **kwargs
) 
8732     def GetLabel(*args
, **kwargs
): 
8734         GetLabel(self) -> String 
8736         Return a control's text. 
8738         return _core_
.Control_GetLabel(*args
, **kwargs
) 
8740     def SetLabel(*args
, **kwargs
): 
8742         SetLabel(self, String label) 
8744         Sets the item's text. 
8746         return _core_
.Control_SetLabel(*args
, **kwargs
) 
8748     def GetClassDefaultAttributes(*args
, **kwargs
): 
8750         GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
8752         Get the default attributes for this class.  This is useful if you want 
8753         to use the same font or colour in your own control as in a standard 
8754         control -- which is a much better idea than hard coding specific 
8755         colours or fonts which might look completely out of place on the 
8756         user's system, especially if it uses themes. 
8758         The variant parameter is only relevant under Mac currently and is 
8759         ignore under other platforms. Under Mac, it will change the size of 
8760         the returned font. See `wx.Window.SetWindowVariant` for more about 
8763         return _core_
.Control_GetClassDefaultAttributes(*args
, **kwargs
) 
8765     GetClassDefaultAttributes 
= staticmethod(GetClassDefaultAttributes
) 
8767 class ControlPtr(Control
): 
8768     def __init__(self
, this
): 
8770         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
8771         self
.__class
__ = Control
 
8772 _core_
.Control_swigregister(ControlPtr
) 
8773 ControlNameStr 
= cvar
.ControlNameStr
 
8775 def PreControl(*args
, **kwargs
): 
8777     PreControl() -> Control 
8779     Precreate a Control control for 2-phase creation 
8781     val 
= _core_
.new_PreControl(*args
, **kwargs
) 
8785 def Control_GetClassDefaultAttributes(*args
, **kwargs
): 
8787     Control_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 
8789     Get the default attributes for this class.  This is useful if you want 
8790     to use the same font or colour in your own control as in a standard 
8791     control -- which is a much better idea than hard coding specific 
8792     colours or fonts which might look completely out of place on the 
8793     user's system, especially if it uses themes. 
8795     The variant parameter is only relevant under Mac currently and is 
8796     ignore under other platforms. Under Mac, it will change the size of 
8797     the returned font. See `wx.Window.SetWindowVariant` for more about 
8800     return _core_
.Control_GetClassDefaultAttributes(*args
, **kwargs
) 
8802 #--------------------------------------------------------------------------- 
8804 class ItemContainer(object): 
8806     wx.ItemContainer defines an interface which is implemented by all 
8807     controls which have string subitems, each of which may be selected, 
8808     such as `wx.ListBox`, `wx.CheckListBox`, `wx.Choice` as well as 
8809     `wx.ComboBox` which implements an extended interface deriving from 
8812     It defines the methods for accessing the control's items and although 
8813     each of the derived classes implements them differently, they still 
8814     all conform to the same interface. 
8816     The items in a wx.ItemContainer have (non empty) string labels and, 
8817     optionally, client data associated with them. 
8820     def __init__(self
): raise RuntimeError, "No constructor defined" 
8822         return "<%s.%s; proxy of C++ wxItemContainer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
8823     def Append(*args
, **kwargs
): 
8825         Append(self, String item, PyObject clientData=None) -> int 
8827         Adds the item to the control, associating the given data with the item 
8828         if not None.  The return value is the index of the newly added item 
8829         which may be different from the last one if the control is sorted (e.g. 
8830         has wx.LB_SORT or wx.CB_SORT style). 
8832         return _core_
.ItemContainer_Append(*args
, **kwargs
) 
8834     def AppendItems(*args
, **kwargs
): 
8836         AppendItems(self, List strings) 
8838         Apend several items at once to the control.  Notice that calling this 
8839         method may be much faster than appending the items one by one if you 
8840         need to add a lot of items. 
8842         return _core_
.ItemContainer_AppendItems(*args
, **kwargs
) 
8844     def Insert(*args
, **kwargs
): 
8846         Insert(self, String item, int pos, PyObject clientData=None) -> int 
8848         Insert an item into the control before the item at the ``pos`` index, 
8849         optionally associating some data object with the item. 
8851         return _core_
.ItemContainer_Insert(*args
, **kwargs
) 
8853     def Clear(*args
, **kwargs
): 
8857         Removes all items from the control. 
8859         return _core_
.ItemContainer_Clear(*args
, **kwargs
) 
8861     def Delete(*args
, **kwargs
): 
8865         Deletes the item at the zero-based index 'n' from the control. Note 
8866         that it is an error (signalled by a `wx.PyAssertionError` exception if 
8867         enabled) to remove an item with the index negative or greater or equal 
8868         than the number of items in the control. 
8870         return _core_
.ItemContainer_Delete(*args
, **kwargs
) 
8872     def GetCount(*args
, **kwargs
): 
8874         GetCount(self) -> int 
8876         Returns the number of items in the control. 
8878         return _core_
.ItemContainer_GetCount(*args
, **kwargs
) 
8880     def IsEmpty(*args
, **kwargs
): 
8882         IsEmpty(self) -> bool 
8884         Returns True if the control is empty or False if it has some items. 
8886         return _core_
.ItemContainer_IsEmpty(*args
, **kwargs
) 
8888     def GetString(*args
, **kwargs
): 
8890         GetString(self, int n) -> String 
8892         Returns the label of the item with the given index. 
8894         return _core_
.ItemContainer_GetString(*args
, **kwargs
) 
8896     def GetStrings(*args
, **kwargs
): 
8897         """GetStrings(self) -> wxArrayString""" 
8898         return _core_
.ItemContainer_GetStrings(*args
, **kwargs
) 
8900     def SetString(*args
, **kwargs
): 
8902         SetString(self, int n, String s) 
8904         Sets the label for the given item. 
8906         return _core_
.ItemContainer_SetString(*args
, **kwargs
) 
8908     def FindString(*args
, **kwargs
): 
8910         FindString(self, String s) -> int 
8912         Finds an item whose label matches the given string.  Returns the 
8913         zero-based position of the item, or ``wx.NOT_FOUND`` if the string was not 
8916         return _core_
.ItemContainer_FindString(*args
, **kwargs
) 
8918     def Select(*args
, **kwargs
): 
8922         Sets the item at index 'n' to be the selected item. 
8924         return _core_
.ItemContainer_Select(*args
, **kwargs
) 
8926     SetSelection 
= Select 
 
8927     def GetSelection(*args
, **kwargs
): 
8929         GetSelection(self) -> int 
8931         Returns the index of the selected item or ``wx.NOT_FOUND`` if no item 
8934         return _core_
.ItemContainer_GetSelection(*args
, **kwargs
) 
8936     def GetStringSelection(*args
, **kwargs
): 
8938         GetStringSelection(self) -> String 
8940         Returns the label of the selected item or an empty string if no item 
8943         return _core_
.ItemContainer_GetStringSelection(*args
, **kwargs
) 
8945     def GetClientData(*args
, **kwargs
): 
8947         GetClientData(self, int n) -> PyObject 
8949         Returns the client data associated with the given item, (if any.) 
8951         return _core_
.ItemContainer_GetClientData(*args
, **kwargs
) 
8953     def SetClientData(*args
, **kwargs
): 
8955         SetClientData(self, int n, PyObject clientData) 
8957         Associate the given client data with the item at position n. 
8959         return _core_
.ItemContainer_SetClientData(*args
, **kwargs
) 
8962 class ItemContainerPtr(ItemContainer
): 
8963     def __init__(self
, this
): 
8965         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
8966         self
.__class
__ = ItemContainer
 
8967 _core_
.ItemContainer_swigregister(ItemContainerPtr
) 
8969 #--------------------------------------------------------------------------- 
8971 class ControlWithItems(Control
,ItemContainer
): 
8973     wx.ControlWithItems combines the ``wx.ItemContainer`` class with the 
8974     wx.Control class, and is used for the base class of various controls 
8977     def __init__(self
): raise RuntimeError, "No constructor defined" 
8979         return "<%s.%s; proxy of C++ wxControlWithItems instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
8981 class ControlWithItemsPtr(ControlWithItems
): 
8982     def __init__(self
, this
): 
8984         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
8985         self
.__class
__ = ControlWithItems
 
8986 _core_
.ControlWithItems_swigregister(ControlWithItemsPtr
) 
8988 #--------------------------------------------------------------------------- 
8990 class SizerItem(Object
): 
8992     The wx.SizerItem class is used to track the position, size and other 
8993     attributes of each item managed by a `wx.Sizer`. In normal usage user 
8994     code should never need to deal directly with a wx.SizerItem, but 
8995     custom classes derived from `wx.PySizer` will probably need to use the 
8996     collection of wx.SizerItems held by wx.Sizer when calculating layout. 
8998     :see: `wx.Sizer`, `wx.GBSizerItem` 
9001         return "<%s.%s; proxy of C++ wxSizerItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
9002     def __init__(self
, *args
, **kwargs
): 
9004         __init__(self) -> SizerItem 
9006         Constructs an empty wx.SizerItem.  Either a window, sizer or spacer 
9007         size will need to be set before this item can be used in a Sizer. 
9009         You will probably never need to create a wx.SizerItem directly as they 
9010         are created automatically when the sizer's Add, Insert or Prepend 
9013         :see: `wx.SizerItemSpacer`, `wx.SizerItemWindow`, `wx.SizerItemSizer` 
9015         newobj 
= _core_
.new_SizerItem(*args
, **kwargs
) 
9016         self
.this 
= newobj
.this
 
9019     def DeleteWindows(*args
, **kwargs
): 
9023         Destroy the window or the windows in a subsizer, depending on the type 
9026         return _core_
.SizerItem_DeleteWindows(*args
, **kwargs
) 
9028     def DetachSizer(*args
, **kwargs
): 
9032         Enable deleting the SizerItem without destroying the contained sizer. 
9034         return _core_
.SizerItem_DetachSizer(*args
, **kwargs
) 
9036     def GetSize(*args
, **kwargs
): 
9038         GetSize(self) -> Size 
9040         Get the current size of the item, as set in the last Layout. 
9042         return _core_
.SizerItem_GetSize(*args
, **kwargs
) 
9044     def CalcMin(*args
, **kwargs
): 
9046         CalcMin(self) -> Size 
9048         Calculates the minimum desired size for the item, including any space 
9051         return _core_
.SizerItem_CalcMin(*args
, **kwargs
) 
9053     def SetDimension(*args
, **kwargs
): 
9055         SetDimension(self, Point pos, Size size) 
9057         Set the position and size of the space allocated for this item by the 
9058         sizer, and adjust the position and size of the item (window or 
9059         subsizer) to be within that space taking alignment and borders into 
9062         return _core_
.SizerItem_SetDimension(*args
, **kwargs
) 
9064     def GetMinSize(*args
, **kwargs
): 
9066         GetMinSize(self) -> Size 
9068         Get the minimum size needed for the item. 
9070         return _core_
.SizerItem_GetMinSize(*args
, **kwargs
) 
9072     def GetMinSizeWithBorder(*args
, **kwargs
): 
9074         GetMinSizeWithBorder(self) -> Size 
9076         Get the minimum size needed for the item with space for the borders 
9079         return _core_
.SizerItem_GetMinSizeWithBorder(*args
, **kwargs
) 
9081     def SetInitSize(*args
, **kwargs
): 
9082         """SetInitSize(self, int x, int y)""" 
9083         return _core_
.SizerItem_SetInitSize(*args
, **kwargs
) 
9085     def SetRatioWH(*args
, **kwargs
): 
9087         SetRatioWH(self, int width, int height) 
9089         Set the ratio item attribute. 
9091         return _core_
.SizerItem_SetRatioWH(*args
, **kwargs
) 
9093     def SetRatioSize(*args
, **kwargs
): 
9095         SetRatioSize(self, Size size) 
9097         Set the ratio item attribute. 
9099         return _core_
.SizerItem_SetRatioSize(*args
, **kwargs
) 
9101     def SetRatio(*args
, **kwargs
): 
9103         SetRatio(self, float ratio) 
9105         Set the ratio item attribute. 
9107         return _core_
.SizerItem_SetRatio(*args
, **kwargs
) 
9109     def GetRatio(*args
, **kwargs
): 
9111         GetRatio(self) -> float 
9113         Set the ratio item attribute. 
9115         return _core_
.SizerItem_GetRatio(*args
, **kwargs
) 
9117     def GetRect(*args
, **kwargs
): 
9119         GetRect(self) -> Rect 
9121         Returns the rectangle that the sizer item should occupy 
9123         return _core_
.SizerItem_GetRect(*args
, **kwargs
) 
9125     def IsWindow(*args
, **kwargs
): 
9127         IsWindow(self) -> bool 
9129         Is this sizer item a window? 
9131         return _core_
.SizerItem_IsWindow(*args
, **kwargs
) 
9133     def IsSizer(*args
, **kwargs
): 
9135         IsSizer(self) -> bool 
9137         Is this sizer item a subsizer? 
9139         return _core_
.SizerItem_IsSizer(*args
, **kwargs
) 
9141     def IsSpacer(*args
, **kwargs
): 
9143         IsSpacer(self) -> bool 
9145         Is this sizer item a spacer? 
9147         return _core_
.SizerItem_IsSpacer(*args
, **kwargs
) 
9149     def SetProportion(*args
, **kwargs
): 
9151         SetProportion(self, int proportion) 
9153         Set the proportion value for this item. 
9155         return _core_
.SizerItem_SetProportion(*args
, **kwargs
) 
9157     def GetProportion(*args
, **kwargs
): 
9159         GetProportion(self) -> int 
9161         Get the proportion value for this item. 
9163         return _core_
.SizerItem_GetProportion(*args
, **kwargs
) 
9165     SetOption 
= wx
._deprecated
(SetProportion
, "Please use `SetProportion` instead.")  
9166     GetOption 
= wx
._deprecated
(GetProportion
, "Please use `GetProportion` instead.")  
9167     def SetFlag(*args
, **kwargs
): 
9169         SetFlag(self, int flag) 
9171         Set the flag value for this item. 
9173         return _core_
.SizerItem_SetFlag(*args
, **kwargs
) 
9175     def GetFlag(*args
, **kwargs
): 
9177         GetFlag(self) -> int 
9179         Get the flag value for this item. 
9181         return _core_
.SizerItem_GetFlag(*args
, **kwargs
) 
9183     def SetBorder(*args
, **kwargs
): 
9185         SetBorder(self, int border) 
9187         Set the border value for this item. 
9189         return _core_
.SizerItem_SetBorder(*args
, **kwargs
) 
9191     def GetBorder(*args
, **kwargs
): 
9193         GetBorder(self) -> int 
9195         Get the border value for this item. 
9197         return _core_
.SizerItem_GetBorder(*args
, **kwargs
) 
9199     def GetWindow(*args
, **kwargs
): 
9201         GetWindow(self) -> Window 
9203         Get the window (if any) that is managed by this sizer item. 
9205         return _core_
.SizerItem_GetWindow(*args
, **kwargs
) 
9207     def SetWindow(*args
, **kwargs
): 
9209         SetWindow(self, Window window) 
9211         Set the window to be managed by this sizer item. 
9213         return _core_
.SizerItem_SetWindow(*args
, **kwargs
) 
9215     def GetSizer(*args
, **kwargs
): 
9217         GetSizer(self) -> Sizer 
9219         Get the subsizer (if any) that is managed by this sizer item. 
9221         return _core_
.SizerItem_GetSizer(*args
, **kwargs
) 
9223     def SetSizer(*args
, **kwargs
): 
9225         SetSizer(self, Sizer sizer) 
9227         Set the subsizer to be managed by this sizer item. 
9229         return _core_
.SizerItem_SetSizer(*args
, **kwargs
) 
9231     def GetSpacer(*args
, **kwargs
): 
9233         GetSpacer(self) -> Size 
9235         Get the size of the spacer managed by this sizer item. 
9237         return _core_
.SizerItem_GetSpacer(*args
, **kwargs
) 
9239     def SetSpacer(*args
, **kwargs
): 
9241         SetSpacer(self, Size size) 
9243         Set the size of the spacer to be managed by this sizer item. 
9245         return _core_
.SizerItem_SetSpacer(*args
, **kwargs
) 
9247     def Show(*args
, **kwargs
): 
9249         Show(self, bool show) 
9251         Set the show item attribute, which sizers use to determine if the item 
9252         is to be made part of the layout or not. If the item is tracking a 
9253         window then it is shown or hidden as needed. 
9255         return _core_
.SizerItem_Show(*args
, **kwargs
) 
9257     def IsShown(*args
, **kwargs
): 
9259         IsShown(self) -> bool 
9261         Is the item to be shown in the layout? 
9263         return _core_
.SizerItem_IsShown(*args
, **kwargs
) 
9265     def GetPosition(*args
, **kwargs
): 
9267         GetPosition(self) -> Point 
9269         Returns the current position of the item, as set in the last Layout. 
9271         return _core_
.SizerItem_GetPosition(*args
, **kwargs
) 
9273     def GetUserData(*args
, **kwargs
): 
9275         GetUserData(self) -> PyObject 
9277         Returns the userData associated with this sizer item, or None if there 
9280         return _core_
.SizerItem_GetUserData(*args
, **kwargs
) 
9283 class SizerItemPtr(SizerItem
): 
9284     def __init__(self
, this
): 
9286         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
9287         self
.__class
__ = SizerItem
 
9288 _core_
.SizerItem_swigregister(SizerItemPtr
) 
9290 def SizerItemWindow(*args
, **kwargs
): 
9292     SizerItemWindow(Window window, int proportion, int flag, int border,  
9293         PyObject userData=None) -> SizerItem 
9295     Constructs a `wx.SizerItem` for tracking a window. 
9297     val 
= _core_
.new_SizerItemWindow(*args
, **kwargs
) 
9301 def SizerItemSpacer(*args
, **kwargs
): 
9303     SizerItemSpacer(int width, int height, int proportion, int flag, int border,  
9304         PyObject userData=None) -> SizerItem 
9306     Constructs a `wx.SizerItem` for tracking a spacer. 
9308     val 
= _core_
.new_SizerItemSpacer(*args
, **kwargs
) 
9312 def SizerItemSizer(*args
, **kwargs
): 
9314     SizerItemSizer(Sizer sizer, int proportion, int flag, int border,  
9315         PyObject userData=None) -> SizerItem 
9317     Constructs a `wx.SizerItem` for tracking a subsizer 
9319     val 
= _core_
.new_SizerItemSizer(*args
, **kwargs
) 
9323 class Sizer(Object
): 
9325     wx.Sizer is the abstract base class used for laying out subwindows in 
9326     a window.  You cannot use wx.Sizer directly; instead, you will have to 
9327     use one of the sizer classes derived from it such as `wx.BoxSizer`, 
9328     `wx.StaticBoxSizer`, `wx.NotebookSizer`, `wx.GridSizer`,  `wx.FlexGridSizer` 
9329     and `wx.GridBagSizer`. 
9331     The concept implemented by sizers in wxWidgets is closely related to 
9332     layout tools in other GUI toolkits, such as Java's AWT, the GTK 
9333     toolkit or the Qt toolkit. It is based upon the idea of the individual 
9334     subwindows reporting their minimal required size and their ability to 
9335     get stretched if the size of the parent window has changed. This will 
9336     most often mean that the programmer does not set the original size of 
9337     a dialog in the beginning, rather the dialog will assigned a sizer and 
9338     this sizer will be queried about the recommended size. The sizer in 
9339     turn will query its children, which can be normal windows or contorls, 
9340     empty space or other sizers, so that a hierarchy of sizers can be 
9341     constructed. Note that wxSizer does not derive from wxWindow and thus 
9342     do not interfere with tab ordering and requires very little resources 
9343     compared to a real window on screen. 
9345     What makes sizers so well fitted for use in wxWidgets is the fact that 
9346     every control reports its own minimal size and the algorithm can 
9347     handle differences in font sizes or different window (dialog item) 
9348     sizes on different platforms without problems. If for example the 
9349     standard font as well as the overall design of Mac widgets requires 
9350     more space than on Windows, then the initial size of a dialog using a 
9351     sizer will automatically be bigger on Mac than on Windows. 
9353     def __init__(self
): raise RuntimeError, "No constructor defined" 
9355         return "<%s.%s; proxy of C++ wxSizer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
9356     def _setOORInfo(*args
, **kwargs
): 
9357         """_setOORInfo(self, PyObject _self)""" 
9358         return _core_
.Sizer__setOORInfo(*args
, **kwargs
) 
9360     def Add(*args
, **kwargs
): 
9362         Add(self, item, int proportion=0, int flag=0, int border=0, 
9363             PyObject userData=None) -> wx.SizerItem 
9365         Appends a child item to the sizer. 
9367         return _core_
.Sizer_Add(*args
, **kwargs
) 
9369     def Insert(*args
, **kwargs
): 
9371         Insert(self, int before, item, int proportion=0, int flag=0, int border=0, 
9372             PyObject userData=None) -> wx.SizerItem 
9374         Inserts a new item into the list of items managed by this sizer before 
9375         the item at index *before*.  See `Add` for a description of the parameters. 
9377         return _core_
.Sizer_Insert(*args
, **kwargs
) 
9379     def Prepend(*args
, **kwargs
): 
9381         Prepend(self, item, int proportion=0, int flag=0, int border=0, 
9382             PyObject userData=None) -> wx.SizerItem 
9384         Adds a new item to the begining of the list of sizer items managed by 
9385         this sizer.  See `Add` for a description of the parameters. 
9387         return _core_
.Sizer_Prepend(*args
, **kwargs
) 
9389     def Remove(*args
, **kwargs
): 
9391         Remove(self, item) -> bool 
9393         Removes an item from the sizer and destroys it.  This method does not 
9394         cause any layout or resizing to take place, call `Layout` to update 
9395         the layout on screen after removing a child from the sizer.  The 
9396         *item* parameter can be either a window, a sizer, or the zero-based 
9397         index of an item to remove.  Returns True if the child item was found 
9400         return _core_
.Sizer_Remove(*args
, **kwargs
) 
9402     def Detach(*args
, **kwargs
): 
9404         Detach(self, item) -> bool 
9406         Detaches an item from the sizer without destroying it.  This method 
9407         does not cause any layout or resizing to take place, call `Layout` to 
9408         do so.  The *item* parameter can be either a window, a sizer, or the 
9409         zero-based index of the item to be detached.  Returns True if the child item 
9410         was found and detached. 
9412         return _core_
.Sizer_Detach(*args
, **kwargs
) 
9414     def GetItem(*args
, **kwargs
): 
9416         GetItem(self, item) -> wx.SizerItem 
9418         Returns the `wx.SizerItem` which holds the *item* given.  The *item* 
9419         parameter can be either a window, a sizer, or the zero-based index of 
9420         the item to be detached. 
9422         return _core_
.Sizer_GetItem(*args
, **kwargs
) 
9424     def _SetItemMinSize(*args
, **kwargs
): 
9425         """_SetItemMinSize(self, PyObject item, Size size)""" 
9426         return _core_
.Sizer__SetItemMinSize(*args
, **kwargs
) 
9428     def SetItemMinSize(self
, item
, *args
): 
9430         SetItemMinSize(self, item, Size size) 
9432         Sets the minimum size that will be allocated for an item in the sizer. 
9433         The *item* parameter can be either a window, a sizer, or the 
9434         zero-based index of the item.  If a window or sizer is given then it 
9435         will be searched for recursivly in subsizers if neccessary. 
9438             # for backward compatibility accept separate width,height args too 
9439             return self
._SetItemMinSize
(item
, args
) 
9441             return self
._SetItemMinSize
(item
, args
[0]) 
9443     def AddItem(*args
, **kwargs
): 
9445         AddItem(self, SizerItem item) 
9447         Adds a `wx.SizerItem` to the sizer. 
9449         return _core_
.Sizer_AddItem(*args
, **kwargs
) 
9451     def InsertItem(*args
, **kwargs
): 
9453         InsertItem(self, int index, SizerItem item) 
9455         Inserts a `wx.SizerItem` to the sizer at the position given by *index*. 
9457         return _core_
.Sizer_InsertItem(*args
, **kwargs
) 
9459     def PrependItem(*args
, **kwargs
): 
9461         PrependItem(self, SizerItem item) 
9463         Prepends a `wx.SizerItem` to the sizer. 
9465         return _core_
.Sizer_PrependItem(*args
, **kwargs
) 
9467     def AddMany(self
, items
): 
9469         AddMany is a convenience method for adding several items 
9470         to a sizer at one time.  Simply pass it a list of tuples, 
9471         where each tuple consists of the parameters that you 
9472         would normally pass to the `Add` method. 
9475             if type(item
) != type(()) or (len(item
) == 2 and type(item
[0]) == type(1)): 
9479     # for backwards compatibility only, please do not use in new code 
9480     AddWindow     
= wx
._deprecated
(Add
, "AddWindow is deprecated, use `Add` instead.") 
9481     AddSizer      
= wx
._deprecated
(Add
, "AddSizer is deprecated, use `Add` instead.") 
9482     AddSpacer     
= wx
._deprecated
(Add
, "AddSpacer is deprecated, use `Add` instead.") 
9483     PrependWindow 
= wx
._deprecated
(Prepend
, "PrependWindow is deprecated, use `Prepend` instead.") 
9484     PrependSizer  
= wx
._deprecated
(Prepend
, "PrependSizer is deprecated, use `Prepend` instead.") 
9485     PrependSpacer 
= wx
._deprecated
(Prepend
, "PrependSpacer is deprecated, use `Prepend` instead.") 
9486     InsertWindow  
= wx
._deprecated
(Insert
, "InsertWindow is deprecated, use `Insert` instead.") 
9487     InsertSizer   
= wx
._deprecated
(Insert
, "InsertSizer is deprecated, use `Insert` instead.") 
9488     InsertSpacer  
= wx
._deprecated
(Insert
, "InsertSpacer is deprecated, use `Insert` instead.") 
9489     RemoveWindow  
= wx
._deprecated
(Remove
, "RemoveWindow is deprecated, use `Remove` instead.") 
9490     RemoveSizer   
= wx
._deprecated
(Remove
, "RemoveSizer is deprecated, use `Remove` instead.") 
9491     RemovePos     
= wx
._deprecated
(Remove
, "RemovePos is deprecated, use `Remove` instead.") 
9494     def SetDimension(*args
, **kwargs
): 
9496         SetDimension(self, int x, int y, int width, int height) 
9498         Call this to force the sizer to take the given dimension and thus 
9499         force the items owned by the sizer to resize themselves according to 
9500         the rules defined by the parameter in the `Add`, `Insert` or `Prepend` 
9503         return _core_
.Sizer_SetDimension(*args
, **kwargs
) 
9505     def SetMinSize(*args
, **kwargs
): 
9507         SetMinSize(self, Size size) 
9509         Call this to give the sizer a minimal size. Normally, the sizer will 
9510         calculate its minimal size based purely on how much space its children 
9511         need. After calling this method `GetMinSize` will return either the 
9512         minimal size as requested by its children or the minimal size set 
9513         here, depending on which is bigger. 
9515         return _core_
.Sizer_SetMinSize(*args
, **kwargs
) 
9517     def GetSize(*args
, **kwargs
): 
9519         GetSize(self) -> Size 
9521         Returns the current size of the space managed by the sizer. 
9523         return _core_
.Sizer_GetSize(*args
, **kwargs
) 
9525     def GetPosition(*args
, **kwargs
): 
9527         GetPosition(self) -> Point 
9529         Returns the current position of the sizer's managed space. 
9531         return _core_
.Sizer_GetPosition(*args
, **kwargs
) 
9533     def GetMinSize(*args
, **kwargs
): 
9535         GetMinSize(self) -> Size 
9537         Returns the minimal size of the sizer. This is either the combined 
9538         minimal size of all the children and their borders or the minimal size 
9539         set by SetMinSize, depending on which is bigger. 
9541         return _core_
.Sizer_GetMinSize(*args
, **kwargs
) 
9543     def GetSizeTuple(self
): 
9544         return self
.GetSize().Get() 
9545     def GetPositionTuple(self
): 
9546         return self
.GetPosition().Get() 
9547     def GetMinSizeTuple(self
): 
9548         return self
.GetMinSize().Get() 
9550     def RecalcSizes(*args
, **kwargs
): 
9554         Using the sizes calculated by `CalcMin` reposition and resize all the 
9555         items managed by this sizer.  You should not need to call this directly as 
9556         it is called by `Layout`. 
9558         return _core_
.Sizer_RecalcSizes(*args
, **kwargs
) 
9560     def CalcMin(*args
, **kwargs
): 
9562         CalcMin(self) -> Size 
9564         This method is where the sizer will do the actual calculation of its 
9565         children's minimal sizes.  You should not need to call this directly as 
9566         it is called by `Layout`. 
9568         return _core_
.Sizer_CalcMin(*args
, **kwargs
) 
9570     def Layout(*args
, **kwargs
): 
9574         This method will force the recalculation and layout of the items 
9575         controlled by the sizer using the current space allocated to the 
9576         sizer.  Normally this is called automatically from the owning window's 
9577         EVT_SIZE handler, but it is also useful to call it from user code when 
9578         one of the items in a sizer change size, or items are added or 
9581         return _core_
.Sizer_Layout(*args
, **kwargs
) 
9583     def Fit(*args
, **kwargs
): 
9585         Fit(self, Window window) -> Size 
9587         Tell the sizer to resize the *window* to match the sizer's minimal 
9588         size. This is commonly done in the constructor of the window itself in 
9589         order to set its initial size to match the needs of the children as 
9590         determined by the sizer.  Returns the new size. 
9592         For a top level window this is the total window size, not the client size. 
9594         return _core_
.Sizer_Fit(*args
, **kwargs
) 
9596     def FitInside(*args
, **kwargs
): 
9598         FitInside(self, Window window) 
9600         Tell the sizer to resize the *virtual size* of the *window* to match the 
9601         sizer's minimal size. This will not alter the on screen size of the 
9602         window, but may cause the addition/removal/alteration of scrollbars 
9603         required to view the virtual area in windows which manage it. 
9605         :see: `wx.ScrolledWindow.SetScrollbars`, `SetVirtualSizeHints` 
9608         return _core_
.Sizer_FitInside(*args
, **kwargs
) 
9610     def SetSizeHints(*args
, **kwargs
): 
9612         SetSizeHints(self, Window window) 
9614         Tell the sizer to set (and `Fit`) the minimal size of the *window* to 
9615         match the sizer's minimal size. This is commonly done in the 
9616         constructor of the window itself if the window is resizable (as are 
9617         many dialogs under Unix and frames on probably all platforms) in order 
9618         to prevent the window from being sized smaller than the minimal size 
9619         required by the sizer. 
9621         return _core_
.Sizer_SetSizeHints(*args
, **kwargs
) 
9623     def SetVirtualSizeHints(*args
, **kwargs
): 
9625         SetVirtualSizeHints(self, Window window) 
9627         Tell the sizer to set the minimal size of the window virtual area to 
9628         match the sizer's minimal size. For windows with managed scrollbars 
9629         this will set them appropriately. 
9631         :see: `wx.ScrolledWindow.SetScrollbars` 
9634         return _core_
.Sizer_SetVirtualSizeHints(*args
, **kwargs
) 
9636     def Clear(*args
, **kwargs
): 
9638         Clear(self, bool deleteWindows=False) 
9640         Clear all items from the sizer, optionally destroying the window items 
9643         return _core_
.Sizer_Clear(*args
, **kwargs
) 
9645     def DeleteWindows(*args
, **kwargs
): 
9649         Destroy all windows managed by the sizer. 
9651         return _core_
.Sizer_DeleteWindows(*args
, **kwargs
) 
9653     def GetChildren(*args
, **kwargs
): 
9655         GetChildren(self) -> list 
9657         Returns a list of all the `wx.SizerItem` objects managed by the sizer. 
9659         return _core_
.Sizer_GetChildren(*args
, **kwargs
) 
9661     def Show(*args
, **kwargs
): 
9663         Show(self, item, bool show=True, bool recursive=false) -> bool 
9665         Shows or hides an item managed by the sizer.  To make a sizer item 
9666         disappear or reappear, use Show followed by `Layout`.  The *item* 
9667         parameter can be either a window, a sizer, or the zero-based index of 
9668         the item.  Use the recursive parameter to show or hide an item in a 
9669         subsizer.  Returns True if the item was found. 
9671         return _core_
.Sizer_Show(*args
, **kwargs
) 
9673     def IsShown(*args
, **kwargs
): 
9677         Determines if the item is currently shown. sizer.  To make a sizer 
9678         item disappear or reappear, use Show followed by `Layout`.  The *item* 
9679         parameter can be either a window, a sizer, or the zero-based index of 
9682         return _core_
.Sizer_IsShown(*args
, **kwargs
) 
9684     def Hide(self
, item
, recursive
=False): 
9686         A convenience method for Show(item, False, recursive). 
9688         return self
.Show(item
, False, recursive
) 
9690     def ShowItems(*args
, **kwargs
): 
9692         ShowItems(self, bool show) 
9694         Recursively call `wx.SizerItem.Show` on all sizer items. 
9696         return _core_
.Sizer_ShowItems(*args
, **kwargs
) 
9699 class SizerPtr(Sizer
): 
9700     def __init__(self
, this
): 
9702         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
9703         self
.__class
__ = Sizer
 
9704 _core_
.Sizer_swigregister(SizerPtr
) 
9706 class PySizer(Sizer
): 
9708     wx.PySizer is a special version of `wx.Sizer` that has been 
9709     instrumented to allow the C++ virtual methods to be overloaded in 
9710     Python derived classes.  You would derive from this class if you are 
9711     wanting to implement a custom sizer in Python code.  Simply implement 
9712     `CalcMin` and `RecalcSizes` in the derived class and you're all set. 
9715         class MySizer(wx.PySizer): 
9717                  wx.PySizer.__init__(self) 
9720                  for item in self.GetChildren(): 
9721                       # calculate the total minimum width and height needed 
9722                       # by all items in the sizer according to this sizer's 
9725                  return wx.Size(width, height) 
9727               def RecalcSizes(self): 
9728                   # find the space allotted to this sizer 
9729                   pos = self.GetPosition() 
9730                   size = self.GetSize() 
9731                   for item in self.GetChildren(): 
9732                       # Recalculate (if necessary) the position and size of 
9733                       # each item and then call item.SetDimension to do the 
9734                       # actual positioning and sizing of the items within the 
9735                       # space alloted to this sizer. 
9737                       item.SetDimension(itemPos, itemSize) 
9740     When `Layout` is called it first calls `CalcMin` followed by 
9741     `RecalcSizes` so you can optimize a bit by saving the results of 
9742     `CalcMin` and reusing them in `RecalcSizes`. 
9744     :see: `wx.SizerItem`, `wx.Sizer.GetChildren` 
9749         return "<%s.%s; proxy of C++ wxPySizer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
9750     def __init__(self
, *args
, **kwargs
): 
9752         __init__(self) -> PySizer 
9754         Creates a wx.PySizer.  Must be called from the __init__ in the derived 
9757         newobj 
= _core_
.new_PySizer(*args
, **kwargs
) 
9758         self
.this 
= newobj
.this
 
9761         self
._setCallbackInfo
(self
, PySizer
);self
._setOORInfo
(self
) 
9763     def _setCallbackInfo(*args
, **kwargs
): 
9764         """_setCallbackInfo(self, PyObject self, PyObject _class)""" 
9765         return _core_
.PySizer__setCallbackInfo(*args
, **kwargs
) 
9768 class PySizerPtr(PySizer
): 
9769     def __init__(self
, this
): 
9771         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
9772         self
.__class
__ = PySizer
 
9773 _core_
.PySizer_swigregister(PySizerPtr
) 
9775 #--------------------------------------------------------------------------- 
9777 class BoxSizer(Sizer
): 
9779     The basic idea behind a box sizer is that windows will most often be 
9780     laid out in rather simple basic geometry, typically in a row or a 
9781     column or nested hierarchies of either.  A wx.BoxSizer will lay out 
9782     its items in a simple row or column, depending on the orientation 
9783     parameter passed to the constructor. 
9786         return "<%s.%s; proxy of C++ wxBoxSizer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
9787     def __init__(self
, *args
, **kwargs
): 
9789         __init__(self, int orient=HORIZONTAL) -> BoxSizer 
9791         Constructor for a wx.BoxSizer. *orient* may be one of ``wx.VERTICAL`` 
9792         or ``wx.HORIZONTAL`` for creating either a column sizer or a row 
9795         newobj 
= _core_
.new_BoxSizer(*args
, **kwargs
) 
9796         self
.this 
= newobj
.this
 
9799         self
._setOORInfo
(self
) 
9801     def GetOrientation(*args
, **kwargs
): 
9803         GetOrientation(self) -> int 
9805         Returns the current orientation of the sizer. 
9807         return _core_
.BoxSizer_GetOrientation(*args
, **kwargs
) 
9809     def SetOrientation(*args
, **kwargs
): 
9811         SetOrientation(self, int orient) 
9813         Resets the orientation of the sizer. 
9815         return _core_
.BoxSizer_SetOrientation(*args
, **kwargs
) 
9818 class BoxSizerPtr(BoxSizer
): 
9819     def __init__(self
, this
): 
9821         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
9822         self
.__class
__ = BoxSizer
 
9823 _core_
.BoxSizer_swigregister(BoxSizerPtr
) 
9825 #--------------------------------------------------------------------------- 
9827 class StaticBoxSizer(BoxSizer
): 
9829     wx.StaticBoxSizer derives from and functions identically to the 
9830     `wx.BoxSizer` and adds a `wx.StaticBox` around the items that the sizer 
9831     manages.  Note that this static box must be created separately and 
9832     passed to the sizer constructor. 
9835         return "<%s.%s; proxy of C++ wxStaticBoxSizer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
9836     def __init__(self
, *args
, **kwargs
): 
9838         __init__(self, StaticBox box, int orient=HORIZONTAL) -> StaticBoxSizer 
9840         Constructor. It takes an associated static box and the orientation 
9841         *orient* as parameters - orient can be either of ``wx.VERTICAL`` or 
9844         newobj 
= _core_
.new_StaticBoxSizer(*args
, **kwargs
) 
9845         self
.this 
= newobj
.this
 
9848         self
._setOORInfo
(self
) 
9850     def GetStaticBox(*args
, **kwargs
): 
9852         GetStaticBox(self) -> StaticBox 
9854         Returns the static box associated with this sizer. 
9856         return _core_
.StaticBoxSizer_GetStaticBox(*args
, **kwargs
) 
9859 class StaticBoxSizerPtr(StaticBoxSizer
): 
9860     def __init__(self
, this
): 
9862         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
9863         self
.__class
__ = StaticBoxSizer
 
9864 _core_
.StaticBoxSizer_swigregister(StaticBoxSizerPtr
) 
9866 #--------------------------------------------------------------------------- 
9868 class GridSizer(Sizer
): 
9870     A grid sizer is a sizer which lays out its children in a 
9871     two-dimensional table with all cells having the same size.  In other 
9872     words, the width of each cell within the grid is the width of the 
9873     widest item added to the sizer and the height of each grid cell is the 
9874     height of the tallest item.  An optional vertical and/or horizontal 
9875     gap between items can also be specified (in pixels.) 
9877     Items are placed in the cells of the grid in the order they are added, 
9878     in row-major order.  In other words, the first row is filled first, 
9879     then the second, and so on until all items have been added. (If 
9880     neccessary, additional rows will be added as items are added.)  If you 
9881     need to have greater control over the cells that items are placed in 
9882     then use the `wx.GridBagSizer`. 
9886         return "<%s.%s; proxy of C++ wxGridSizer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
9887     def __init__(self
, *args
, **kwargs
): 
9889         __init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -> GridSizer 
9891         Constructor for a wx.GridSizer. *rows* and *cols* determine the number 
9892         of columns and rows in the sizer - if either of the parameters is 
9893         zero, it will be calculated to from the total number of children in 
9894         the sizer, thus making the sizer grow dynamically. *vgap* and *hgap* 
9895         define extra space between all children. 
9897         newobj 
= _core_
.new_GridSizer(*args
, **kwargs
) 
9898         self
.this 
= newobj
.this
 
9901         self
._setOORInfo
(self
) 
9903     def SetCols(*args
, **kwargs
): 
9905         SetCols(self, int cols) 
9907         Sets the number of columns in the sizer. 
9909         return _core_
.GridSizer_SetCols(*args
, **kwargs
) 
9911     def SetRows(*args
, **kwargs
): 
9913         SetRows(self, int rows) 
9915         Sets the number of rows in the sizer. 
9917         return _core_
.GridSizer_SetRows(*args
, **kwargs
) 
9919     def SetVGap(*args
, **kwargs
): 
9921         SetVGap(self, int gap) 
9923         Sets the vertical gap (in pixels) between the cells in the sizer. 
9925         return _core_
.GridSizer_SetVGap(*args
, **kwargs
) 
9927     def SetHGap(*args
, **kwargs
): 
9929         SetHGap(self, int gap) 
9931         Sets the horizontal gap (in pixels) between cells in the sizer 
9933         return _core_
.GridSizer_SetHGap(*args
, **kwargs
) 
9935     def GetCols(*args
, **kwargs
): 
9937         GetCols(self) -> int 
9939         Returns the number of columns in the sizer. 
9941         return _core_
.GridSizer_GetCols(*args
, **kwargs
) 
9943     def GetRows(*args
, **kwargs
): 
9945         GetRows(self) -> int 
9947         Returns the number of rows in the sizer. 
9949         return _core_
.GridSizer_GetRows(*args
, **kwargs
) 
9951     def GetVGap(*args
, **kwargs
): 
9953         GetVGap(self) -> int 
9955         Returns the vertical gap (in pixels) between the cells in the sizer. 
9957         return _core_
.GridSizer_GetVGap(*args
, **kwargs
) 
9959     def GetHGap(*args
, **kwargs
): 
9961         GetHGap(self) -> int 
9963         Returns the horizontal gap (in pixels) between cells in the sizer. 
9965         return _core_
.GridSizer_GetHGap(*args
, **kwargs
) 
9968 class GridSizerPtr(GridSizer
): 
9969     def __init__(self
, this
): 
9971         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
9972         self
.__class
__ = GridSizer
 
9973 _core_
.GridSizer_swigregister(GridSizerPtr
) 
9975 #--------------------------------------------------------------------------- 
9977 FLEX_GROWMODE_NONE 
= _core_
.FLEX_GROWMODE_NONE
 
9978 FLEX_GROWMODE_SPECIFIED 
= _core_
.FLEX_GROWMODE_SPECIFIED
 
9979 FLEX_GROWMODE_ALL 
= _core_
.FLEX_GROWMODE_ALL
 
9980 class FlexGridSizer(GridSizer
): 
9982     A flex grid sizer is a sizer which lays out its children in a 
9983     two-dimensional table with all table cells in one row having the same 
9984     height and all cells in one column having the same width, but all 
9985     rows or all columns are not necessarily the same height or width as in 
9988     wx.FlexGridSizer can also size items equally in one direction but 
9989     unequally ("flexibly") in the other. If the sizer is only flexible 
9990     in one direction (this can be changed using `SetFlexibleDirection`), it 
9991     needs to be decided how the sizer should grow in the other ("non 
9992     flexible") direction in order to fill the available space. The 
9993     `SetNonFlexibleGrowMode` method serves this purpose. 
9998         return "<%s.%s; proxy of C++ wxFlexGridSizer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
9999     def __init__(self
, *args
, **kwargs
): 
10001         __init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -> FlexGridSizer 
10003         Constructor for a wx.FlexGridSizer. *rows* and *cols* determine the 
10004         number of columns and rows in the sizer - if either of the parameters 
10005         is zero, it will be calculated to from the total number of children in 
10006         the sizer, thus making the sizer grow dynamically. *vgap* and *hgap* 
10007         define extra space between all children. 
10009         newobj 
= _core_
.new_FlexGridSizer(*args
, **kwargs
) 
10010         self
.this 
= newobj
.this
 
10013         self
._setOORInfo
(self
) 
10015     def AddGrowableRow(*args
, **kwargs
): 
10017         AddGrowableRow(self, size_t idx, int proportion=0) 
10019         Specifies that row *idx* (starting from zero) should be grown if there 
10020         is extra space available to the sizer. 
10022         The *proportion* parameter has the same meaning as the stretch factor 
10023         for the box sizers except that if all proportions are 0, then all 
10024         columns are resized equally (instead of not being resized at all). 
10026         return _core_
.FlexGridSizer_AddGrowableRow(*args
, **kwargs
) 
10028     def RemoveGrowableRow(*args
, **kwargs
): 
10030         RemoveGrowableRow(self, size_t idx) 
10032         Specifies that row *idx* is no longer growable. 
10034         return _core_
.FlexGridSizer_RemoveGrowableRow(*args
, **kwargs
) 
10036     def AddGrowableCol(*args
, **kwargs
): 
10038         AddGrowableCol(self, size_t idx, int proportion=0) 
10040         Specifies that column *idx* (starting from zero) should be grown if 
10041         there is extra space available to the sizer. 
10043         The *proportion* parameter has the same meaning as the stretch factor 
10044         for the box sizers except that if all proportions are 0, then all 
10045         columns are resized equally (instead of not being resized at all). 
10047         return _core_
.FlexGridSizer_AddGrowableCol(*args
, **kwargs
) 
10049     def RemoveGrowableCol(*args
, **kwargs
): 
10051         RemoveGrowableCol(self, size_t idx) 
10053         Specifies that column *idx* is no longer growable. 
10055         return _core_
.FlexGridSizer_RemoveGrowableCol(*args
, **kwargs
) 
10057     def SetFlexibleDirection(*args
, **kwargs
): 
10059         SetFlexibleDirection(self, int direction) 
10061         Specifies whether the sizer should flexibly resize its columns, rows, 
10062         or both. Argument *direction* can be one of the following values.  Any 
10063         other value is ignored. 
10065             ==============    ======================================= 
10066             wx.VERTICAL       Rows are flexibly sized. 
10067             wx.HORIZONTAL     Columns are flexibly sized. 
10068             wx.BOTH           Both rows and columns are flexibly sized 
10069                               (this is the default value). 
10070             ==============    ======================================= 
10072         Note that this method does not trigger relayout. 
10075         return _core_
.FlexGridSizer_SetFlexibleDirection(*args
, **kwargs
) 
10077     def GetFlexibleDirection(*args
, **kwargs
): 
10079         GetFlexibleDirection(self) -> int 
10081         Returns a value that specifies whether the sizer 
10082         flexibly resizes its columns, rows, or both (default). 
10084         :see: `SetFlexibleDirection` 
10086         return _core_
.FlexGridSizer_GetFlexibleDirection(*args
, **kwargs
) 
10088     def SetNonFlexibleGrowMode(*args
, **kwargs
): 
10090         SetNonFlexibleGrowMode(self, int mode) 
10092         Specifies how the sizer should grow in the non-flexible direction if 
10093         there is one (so `SetFlexibleDirection` must have been called 
10094         previously). Argument *mode* can be one of the following values: 
10096             ==========================  ================================================= 
10097             wx.FLEX_GROWMODE_NONE       Sizer doesn't grow in the non flexible direction. 
10098             wx.FLEX_GROWMODE_SPECIFIED  Sizer honors growable columns/rows set with 
10099                                         `AddGrowableCol` and `AddGrowableRow`. In this 
10100                                         case equal sizing applies to minimum sizes of 
10101                                         columns or rows (this is the default value). 
10102             wx.FLEX_GROWMODE_ALL        Sizer equally stretches all columns or rows in 
10103                                         the non flexible direction, whether they are 
10104                                         growable or not in the flexbile direction. 
10105             ==========================  ================================================= 
10107         Note that this method does not trigger relayout. 
10111         return _core_
.FlexGridSizer_SetNonFlexibleGrowMode(*args
, **kwargs
) 
10113     def GetNonFlexibleGrowMode(*args
, **kwargs
): 
10115         GetNonFlexibleGrowMode(self) -> int 
10117         Returns the value that specifies how the sizer grows in the 
10118         non-flexible direction if there is one. 
10120         :see: `SetNonFlexibleGrowMode` 
10122         return _core_
.FlexGridSizer_GetNonFlexibleGrowMode(*args
, **kwargs
) 
10124     def GetRowHeights(*args
, **kwargs
): 
10126         GetRowHeights(self) -> list 
10128         Returns a list of integers representing the heights of each of the 
10131         return _core_
.FlexGridSizer_GetRowHeights(*args
, **kwargs
) 
10133     def GetColWidths(*args
, **kwargs
): 
10135         GetColWidths(self) -> list 
10137         Returns a list of integers representing the widths of each of the 
10138         columns in the sizer. 
10140         return _core_
.FlexGridSizer_GetColWidths(*args
, **kwargs
) 
10143 class FlexGridSizerPtr(FlexGridSizer
): 
10144     def __init__(self
, this
): 
10146         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
10147         self
.__class
__ = FlexGridSizer
 
10148 _core_
.FlexGridSizer_swigregister(FlexGridSizerPtr
) 
10150 class StdDialogButtonSizer(BoxSizer
): 
10152     A special sizer that knows how to order and position standard buttons 
10153     in order to conform to the current platform's standards.  You simply 
10154     need to add each `wx.Button` to the sizer, and be sure to create the 
10155     buttons using the standard ID's.  Then call `Finalize` and the sizer 
10156     will take care of the rest. 
10159     def __repr__(self
): 
10160         return "<%s.%s; proxy of C++ wxStdDialogButtonSizer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
10161     def __init__(self
, *args
, **kwargs
): 
10162         """__init__(self) -> StdDialogButtonSizer""" 
10163         newobj 
= _core_
.new_StdDialogButtonSizer(*args
, **kwargs
) 
10164         self
.this 
= newobj
.this
 
10167     def AddButton(*args
, **kwargs
): 
10169         AddButton(self, wxButton button) 
10171         Use this to add the buttons to this sizer.  Do not use the `Add` 
10172         method in the base class. 
10174         return _core_
.StdDialogButtonSizer_AddButton(*args
, **kwargs
) 
10176     def Finalise(*args
, **kwargs
): 
10180         This funciton needs to be called after all the buttons have been added 
10181         to the sizer.  It will reorder them and position them in a platform 
10184         return _core_
.StdDialogButtonSizer_Finalise(*args
, **kwargs
) 
10186     def SetAffirmativeButton(*args
, **kwargs
): 
10187         """SetAffirmativeButton(self, wxButton button)""" 
10188         return _core_
.StdDialogButtonSizer_SetAffirmativeButton(*args
, **kwargs
) 
10190     def SetNegativeButton(*args
, **kwargs
): 
10191         """SetNegativeButton(self, wxButton button)""" 
10192         return _core_
.StdDialogButtonSizer_SetNegativeButton(*args
, **kwargs
) 
10194     def SetCancelButton(*args
, **kwargs
): 
10195         """SetCancelButton(self, wxButton button)""" 
10196         return _core_
.StdDialogButtonSizer_SetCancelButton(*args
, **kwargs
) 
10198     def GetAffirmativeButton(*args
, **kwargs
): 
10199         """GetAffirmativeButton(self) -> wxButton""" 
10200         return _core_
.StdDialogButtonSizer_GetAffirmativeButton(*args
, **kwargs
) 
10202     def GetApplyButton(*args
, **kwargs
): 
10203         """GetApplyButton(self) -> wxButton""" 
10204         return _core_
.StdDialogButtonSizer_GetApplyButton(*args
, **kwargs
) 
10206     def GetNegativeButton(*args
, **kwargs
): 
10207         """GetNegativeButton(self) -> wxButton""" 
10208         return _core_
.StdDialogButtonSizer_GetNegativeButton(*args
, **kwargs
) 
10210     def GetCancelButton(*args
, **kwargs
): 
10211         """GetCancelButton(self) -> wxButton""" 
10212         return _core_
.StdDialogButtonSizer_GetCancelButton(*args
, **kwargs
) 
10214     def GetHelpButton(*args
, **kwargs
): 
10215         """GetHelpButton(self) -> wxButton""" 
10216         return _core_
.StdDialogButtonSizer_GetHelpButton(*args
, **kwargs
) 
10219 class StdDialogButtonSizerPtr(StdDialogButtonSizer
): 
10220     def __init__(self
, this
): 
10222         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
10223         self
.__class
__ = StdDialogButtonSizer
 
10224 _core_
.StdDialogButtonSizer_swigregister(StdDialogButtonSizerPtr
) 
10226 #--------------------------------------------------------------------------- 
10228 class GBPosition(object): 
10230     This class represents the position of an item in a virtual grid of 
10231     rows and columns managed by a `wx.GridBagSizer`.  wxPython has 
10232     typemaps that will automatically convert from a 2-element sequence of 
10233     integers to a wx.GBPosition, so you can use the more pythonic 
10234     representation of the position nearly transparently in Python code. 
10236     def __repr__(self
): 
10237         return "<%s.%s; proxy of C++ wxGBPosition instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
10238     def __init__(self
, *args
, **kwargs
): 
10240         __init__(self, int row=0, int col=0) -> GBPosition 
10242         This class represents the position of an item in a virtual grid of 
10243         rows and columns managed by a `wx.GridBagSizer`.  wxPython has 
10244         typemaps that will automatically convert from a 2-element sequence of 
10245         integers to a wx.GBPosition, so you can use the more pythonic 
10246         representation of the position nearly transparently in Python code. 
10248         newobj 
= _core_
.new_GBPosition(*args
, **kwargs
) 
10249         self
.this 
= newobj
.this
 
10252     def GetRow(*args
, **kwargs
): 
10253         """GetRow(self) -> int""" 
10254         return _core_
.GBPosition_GetRow(*args
, **kwargs
) 
10256     def GetCol(*args
, **kwargs
): 
10257         """GetCol(self) -> int""" 
10258         return _core_
.GBPosition_GetCol(*args
, **kwargs
) 
10260     def SetRow(*args
, **kwargs
): 
10261         """SetRow(self, int row)""" 
10262         return _core_
.GBPosition_SetRow(*args
, **kwargs
) 
10264     def SetCol(*args
, **kwargs
): 
10265         """SetCol(self, int col)""" 
10266         return _core_
.GBPosition_SetCol(*args
, **kwargs
) 
10268     def __eq__(*args
, **kwargs
): 
10269         """__eq__(self, GBPosition other) -> bool""" 
10270         return _core_
.GBPosition___eq__(*args
, **kwargs
) 
10272     def __ne__(*args
, **kwargs
): 
10273         """__ne__(self, GBPosition other) -> bool""" 
10274         return _core_
.GBPosition___ne__(*args
, **kwargs
) 
10276     def Set(*args
, **kwargs
): 
10277         """Set(self, int row=0, int col=0)""" 
10278         return _core_
.GBPosition_Set(*args
, **kwargs
) 
10280     def Get(*args
, **kwargs
): 
10281         """Get(self) -> PyObject""" 
10282         return _core_
.GBPosition_Get(*args
, **kwargs
) 
10284     asTuple 
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead") 
10285     def __str__(self
):                   return str(self
.Get()) 
10286     def __repr__(self
):                  return 'wx.GBPosition'+str(self
.Get()) 
10287     def __len__(self
):                   return len(self
.Get()) 
10288     def __getitem__(self
, index
):        return self
.Get()[index
] 
10289     def __setitem__(self
, index
, val
): 
10290         if index 
== 0: self
.SetRow(val
) 
10291         elif index 
== 1: self
.SetCol(val
) 
10292         else: raise IndexError 
10293     def __nonzero__(self
):               return self
.Get() != (0,0) 
10294     __safe_for_unpickling__ 
= True 
10295     def __reduce__(self
):                return (wx
.GBPosition
, self
.Get()) 
10297     row 
= property(GetRow
, SetRow
) 
10298     col 
= property(GetCol
, SetCol
) 
10301 class GBPositionPtr(GBPosition
): 
10302     def __init__(self
, this
): 
10304         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
10305         self
.__class
__ = GBPosition
 
10306 _core_
.GBPosition_swigregister(GBPositionPtr
) 
10308 class GBSpan(object): 
10310     This class is used to hold the row and column spanning attributes of 
10311     items in a `wx.GridBagSizer`.  wxPython has typemaps that will 
10312     automatically convert from a 2-element sequence of integers to a 
10313     wx.GBSpan, so you can use the more pythonic representation of the span 
10314     nearly transparently in Python code. 
10317     def __repr__(self
): 
10318         return "<%s.%s; proxy of C++ wxGBSpan instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
10319     def __init__(self
, *args
, **kwargs
): 
10321         __init__(self, int rowspan=1, int colspan=1) -> GBSpan 
10323         Construct a new wxGBSpan, optionally setting the rowspan and 
10324         colspan. The default is (1,1). (Meaning that the item occupies one 
10325         cell in each direction. 
10327         newobj 
= _core_
.new_GBSpan(*args
, **kwargs
) 
10328         self
.this 
= newobj
.this
 
10331     def GetRowspan(*args
, **kwargs
): 
10332         """GetRowspan(self) -> int""" 
10333         return _core_
.GBSpan_GetRowspan(*args
, **kwargs
) 
10335     def GetColspan(*args
, **kwargs
): 
10336         """GetColspan(self) -> int""" 
10337         return _core_
.GBSpan_GetColspan(*args
, **kwargs
) 
10339     def SetRowspan(*args
, **kwargs
): 
10340         """SetRowspan(self, int rowspan)""" 
10341         return _core_
.GBSpan_SetRowspan(*args
, **kwargs
) 
10343     def SetColspan(*args
, **kwargs
): 
10344         """SetColspan(self, int colspan)""" 
10345         return _core_
.GBSpan_SetColspan(*args
, **kwargs
) 
10347     def __eq__(*args
, **kwargs
): 
10348         """__eq__(self, GBSpan other) -> bool""" 
10349         return _core_
.GBSpan___eq__(*args
, **kwargs
) 
10351     def __ne__(*args
, **kwargs
): 
10352         """__ne__(self, GBSpan other) -> bool""" 
10353         return _core_
.GBSpan___ne__(*args
, **kwargs
) 
10355     def Set(*args
, **kwargs
): 
10356         """Set(self, int rowspan=1, int colspan=1)""" 
10357         return _core_
.GBSpan_Set(*args
, **kwargs
) 
10359     def Get(*args
, **kwargs
): 
10360         """Get(self) -> PyObject""" 
10361         return _core_
.GBSpan_Get(*args
, **kwargs
) 
10363     asTuple 
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead") 
10364     def __str__(self
):                   return str(self
.Get()) 
10365     def __repr__(self
):                  return 'wx.GBSpan'+str(self
.Get()) 
10366     def __len__(self
):                   return len(self
.Get()) 
10367     def __getitem__(self
, index
):        return self
.Get()[index
] 
10368     def __setitem__(self
, index
, val
): 
10369         if index 
== 0: self
.SetRowspan(val
) 
10370         elif index 
== 1: self
.SetColspan(val
) 
10371         else: raise IndexError 
10372     def __nonzero__(self
):               return self
.Get() != (0,0) 
10373     __safe_for_unpickling__ 
= True 
10374     def __reduce__(self
):                return (wx
.GBSpan
, self
.Get()) 
10376     rowspan 
= property(GetRowspan
, SetRowspan
) 
10377     colspan 
= property(GetColspan
, SetColspan
) 
10380 class GBSpanPtr(GBSpan
): 
10381     def __init__(self
, this
): 
10383         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
10384         self
.__class
__ = GBSpan
 
10385 _core_
.GBSpan_swigregister(GBSpanPtr
) 
10387 class GBSizerItem(SizerItem
): 
10389     The wx.GBSizerItem class is used to track the additional data about 
10390     items in a `wx.GridBagSizer` such as the item's position in the grid 
10391     and how many rows or columns it spans. 
10394     def __repr__(self
): 
10395         return "<%s.%s; proxy of C++ wxGBSizerItem instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
10396     def __init__(self
, *args
, **kwargs
): 
10398         __init__(self) -> GBSizerItem 
10400         Constructs an empty wx.GBSizerItem.  Either a window, sizer or spacer 
10401         size will need to be set, as well as a position and span before this 
10402         item can be used in a Sizer. 
10404         You will probably never need to create a wx.GBSizerItem directly as they 
10405         are created automatically when the sizer's Add method is called. 
10407         newobj 
= _core_
.new_GBSizerItem(*args
, **kwargs
) 
10408         self
.this 
= newobj
.this
 
10411     def GetPos(*args
, **kwargs
): 
10413         GetPos(self) -> GBPosition 
10415         Get the grid position of the item 
10417         return _core_
.GBSizerItem_GetPos(*args
, **kwargs
) 
10419     def GetPosTuple(self
): return self
.GetPos().Get()  
10420     def GetSpan(*args
, **kwargs
): 
10422         GetSpan(self) -> GBSpan 
10424         Get the row and column spanning of the item 
10426         return _core_
.GBSizerItem_GetSpan(*args
, **kwargs
) 
10428     def GetSpanTuple(self
): return self
.GetSpan().Get()  
10429     def SetPos(*args
, **kwargs
): 
10431         SetPos(self, GBPosition pos) -> bool 
10433         If the item is already a member of a sizer then first ensure that 
10434         there is no other item that would intersect with this one at the new 
10435         position, then set the new position.  Returns True if the change is 
10436         successful and after the next Layout() the item will be moved. 
10438         return _core_
.GBSizerItem_SetPos(*args
, **kwargs
) 
10440     def SetSpan(*args
, **kwargs
): 
10442         SetSpan(self, GBSpan span) -> bool 
10444         If the item is already a member of a sizer then first ensure that 
10445         there is no other item that would intersect with this one with its new 
10446         spanning size, then set the new spanning.  Returns True if the change 
10447         is successful and after the next Layout() the item will be resized. 
10450         return _core_
.GBSizerItem_SetSpan(*args
, **kwargs
) 
10452     def Intersects(*args
, **kwargs
): 
10454         Intersects(self, GBSizerItem other) -> bool 
10456         Returns True if this item and the other item instersect. 
10458         return _core_
.GBSizerItem_Intersects(*args
, **kwargs
) 
10460     def IntersectsPos(*args
, **kwargs
): 
10462         IntersectsPos(self, GBPosition pos, GBSpan span) -> bool 
10464         Returns True if the given pos/span would intersect with this item. 
10466         return _core_
.GBSizerItem_IntersectsPos(*args
, **kwargs
) 
10468     def GetEndPos(*args
, **kwargs
): 
10470         GetEndPos(self) -> GBPosition 
10472         Get the row and column of the endpoint of this item. 
10474         return _core_
.GBSizerItem_GetEndPos(*args
, **kwargs
) 
10476     def GetGBSizer(*args
, **kwargs
): 
10478         GetGBSizer(self) -> GridBagSizer 
10480         Get the sizer this item is a member of. 
10482         return _core_
.GBSizerItem_GetGBSizer(*args
, **kwargs
) 
10484     def SetGBSizer(*args
, **kwargs
): 
10486         SetGBSizer(self, GridBagSizer sizer) 
10488         Set the sizer this item is a member of. 
10490         return _core_
.GBSizerItem_SetGBSizer(*args
, **kwargs
) 
10493 class GBSizerItemPtr(GBSizerItem
): 
10494     def __init__(self
, this
): 
10496         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
10497         self
.__class
__ = GBSizerItem
 
10498 _core_
.GBSizerItem_swigregister(GBSizerItemPtr
) 
10499 DefaultSpan 
= cvar
.DefaultSpan
 
10501 def GBSizerItemWindow(*args
, **kwargs
): 
10503     GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag,  
10504         int border, PyObject userData=None) -> GBSizerItem 
10506     Construct a `wx.GBSizerItem` for a window. 
10508     val 
= _core_
.new_GBSizerItemWindow(*args
, **kwargs
) 
10512 def GBSizerItemSizer(*args
, **kwargs
): 
10514     GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag,  
10515         int border, PyObject userData=None) -> GBSizerItem 
10517     Construct a `wx.GBSizerItem` for a sizer 
10519     val 
= _core_
.new_GBSizerItemSizer(*args
, **kwargs
) 
10523 def GBSizerItemSpacer(*args
, **kwargs
): 
10525     GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span,  
10526         int flag, int border, PyObject userData=None) -> GBSizerItem 
10528     Construct a `wx.GBSizerItem` for a spacer. 
10530     val 
= _core_
.new_GBSizerItemSpacer(*args
, **kwargs
) 
10534 class GridBagSizer(FlexGridSizer
): 
10536     A `wx.Sizer` that can lay out items in a virtual grid like a 
10537     `wx.FlexGridSizer` but in this case explicit positioning of the items 
10538     is allowed using `wx.GBPosition`, and items can optionally span more 
10539     than one row and/or column using `wx.GBSpan`.  The total size of the 
10540     virtual grid is determined by the largest row and column that items are 
10541     positioned at, adjusted for spanning. 
10544     def __repr__(self
): 
10545         return "<%s.%s; proxy of C++ wxGridBagSizer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
10546     def __init__(self
, *args
, **kwargs
): 
10548         __init__(self, int vgap=0, int hgap=0) -> GridBagSizer 
10550         Constructor, with optional parameters to specify the gap between the 
10553         newobj 
= _core_
.new_GridBagSizer(*args
, **kwargs
) 
10554         self
.this 
= newobj
.this
 
10557         self
._setOORInfo
(self
) 
10559     def Add(*args
, **kwargs
): 
10561         Add(self, item, GBPosition pos, GBSpan span=DefaultSpan, int flag=0, 
10562         int border=0, userData=None) -> wx.GBSizerItem 
10564         Adds an item to the sizer at the grid cell *pos*, optionally spanning 
10565         more than one row or column as specified with *span*.  The remaining 
10566         args behave similarly to `wx.Sizer.Add`. 
10568         Returns True if the item was successfully placed at the given cell 
10569         position, False if something was already there. 
10572         return _core_
.GridBagSizer_Add(*args
, **kwargs
) 
10574     def AddItem(*args
, **kwargs
): 
10576         Add(self, GBSizerItem item) -> wx.GBSizerItem 
10578         Add an item to the sizer using a `wx.GBSizerItem`.  Returns True if 
10579         the item was successfully placed at its given cell position, False if 
10580         something was already there. 
10582         return _core_
.GridBagSizer_AddItem(*args
, **kwargs
) 
10584     def GetCellSize(*args
, **kwargs
): 
10586         GetCellSize(self, int row, int col) -> Size 
10588         Get the size of the specified cell, including hgap and 
10589         vgap.  Only valid after a Layout. 
10591         return _core_
.GridBagSizer_GetCellSize(*args
, **kwargs
) 
10593     def GetEmptyCellSize(*args
, **kwargs
): 
10595         GetEmptyCellSize(self) -> Size 
10597         Get the size used for cells in the grid with no item. 
10599         return _core_
.GridBagSizer_GetEmptyCellSize(*args
, **kwargs
) 
10601     def SetEmptyCellSize(*args
, **kwargs
): 
10603         SetEmptyCellSize(self, Size sz) 
10605         Set the size used for cells in the grid with no item. 
10607         return _core_
.GridBagSizer_SetEmptyCellSize(*args
, **kwargs
) 
10609     def GetItemPosition(*args
): 
10611         GetItemPosition(self, item) -> GBPosition 
10613         Get the grid position of the specified *item* where *item* is either a 
10614         window or subsizer that is a member of this sizer, or a zero-based 
10617         return _core_
.GridBagSizer_GetItemPosition(*args
) 
10619     def SetItemPosition(*args
): 
10621         SetItemPosition(self, item, GBPosition pos) -> bool 
10623         Set the grid position of the specified *item* where *item* is either a 
10624         window or subsizer that is a member of this sizer, or a zero-based 
10625         index of an item.  Returns True on success.  If the move is not 
10626         allowed (because an item is already there) then False is returned. 
10629         return _core_
.GridBagSizer_SetItemPosition(*args
) 
10631     def GetItemSpan(*args
): 
10633         GetItemSpan(self, item) -> GBSpan 
10635         Get the row/col spanning of the specified *item* where *item* is 
10636         either a window or subsizer that is a member of this sizer, or a 
10637         zero-based index of an item. 
10639         return _core_
.GridBagSizer_GetItemSpan(*args
) 
10641     def SetItemSpan(*args
): 
10643         SetItemSpan(self, item, GBSpan span) -> bool 
10645         Set the row/col spanning of the specified *item* where *item* is 
10646         either a window or subsizer that is a member of this sizer, or a 
10647         zero-based index of an item.  Returns True on success.  If the move is 
10648         not allowed (because an item is already there) then False is returned. 
10650         return _core_
.GridBagSizer_SetItemSpan(*args
) 
10652     def FindItem(*args
): 
10654         FindItem(self, item) -> GBSizerItem 
10656         Find the sizer item for the given window or subsizer, returns None if 
10657         not found. (non-recursive) 
10659         return _core_
.GridBagSizer_FindItem(*args
) 
10661     def FindItemAtPosition(*args
, **kwargs
): 
10663         FindItemAtPosition(self, GBPosition pos) -> GBSizerItem 
10665         Return the sizer item for the given grid cell, or None if there is no 
10666         item at that position. (non-recursive) 
10668         return _core_
.GridBagSizer_FindItemAtPosition(*args
, **kwargs
) 
10670     def FindItemAtPoint(*args
, **kwargs
): 
10672         FindItemAtPoint(self, Point pt) -> GBSizerItem 
10674         Return the sizer item located at the point given in *pt*, or None if 
10675         there is no item at that point. The (x,y) coordinates in pt correspond 
10676         to the client coordinates of the window using the sizer for 
10677         layout. (non-recursive) 
10679         return _core_
.GridBagSizer_FindItemAtPoint(*args
, **kwargs
) 
10681     def CheckForIntersection(*args
, **kwargs
): 
10683         CheckForIntersection(self, GBSizerItem item, GBSizerItem excludeItem=None) -> bool 
10685         Look at all items and see if any intersect (or would overlap) the 
10686         given *item*.  Returns True if so, False if there would be no overlap. 
10687         If an *excludeItem* is given then it will not be checked for 
10688         intersection, for example it may be the item we are checking the 
10692         return _core_
.GridBagSizer_CheckForIntersection(*args
, **kwargs
) 
10694     def CheckForIntersectionPos(*args
, **kwargs
): 
10696         CheckForIntersectionPos(self, GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -> bool 
10698         Look at all items and see if any intersect (or would overlap) the 
10699         given position and span.  Returns True if so, False if there would be 
10700         no overlap.  If an *excludeItem* is given then it will not be checked 
10701         for intersection, for example it may be the item we are checking the 
10704         return _core_
.GridBagSizer_CheckForIntersectionPos(*args
, **kwargs
) 
10707 class GridBagSizerPtr(GridBagSizer
): 
10708     def __init__(self
, this
): 
10710         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
10711         self
.__class
__ = GridBagSizer
 
10712 _core_
.GridBagSizer_swigregister(GridBagSizerPtr
) 
10714 #--------------------------------------------------------------------------- 
10718 Right 
= _core_
.Right
 
10719 Bottom 
= _core_
.Bottom
 
10720 Width 
= _core_
.Width
 
10721 Height 
= _core_
.Height
 
10722 Centre 
= _core_
.Centre
 
10723 Center 
= _core_
.Center
 
10724 CentreX 
= _core_
.CentreX
 
10725 CentreY 
= _core_
.CentreY
 
10726 Unconstrained 
= _core_
.Unconstrained
 
10728 PercentOf 
= _core_
.PercentOf
 
10729 Above 
= _core_
.Above
 
10730 Below 
= _core_
.Below
 
10731 LeftOf 
= _core_
.LeftOf
 
10732 RightOf 
= _core_
.RightOf
 
10733 SameAs 
= _core_
.SameAs
 
10734 Absolute 
= _core_
.Absolute
 
10735 class IndividualLayoutConstraint(Object
): 
10737     Objects of this class are stored in the `wx.LayoutConstraints` class as 
10738     one of eight possible constraints that a window can be involved in. 
10739     You will never need to create an instance of 
10740     wx.IndividualLayoutConstraint, rather you should create a 
10741     `wx.LayoutConstraints` instance and use the individual contstraints 
10744     def __init__(self
): raise RuntimeError, "No constructor defined" 
10745     def __repr__(self
): 
10746         return "<%s.%s; proxy of C++ wxIndividualLayoutConstraint instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
10747     def Set(*args
, **kwargs
): 
10749         Set(self, int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN) 
10751         Sets the properties of the constraint. Normally called by one of the 
10752         convenience functions such as Above, RightOf, SameAs. 
10754         return _core_
.IndividualLayoutConstraint_Set(*args
, **kwargs
) 
10756     def LeftOf(*args
, **kwargs
): 
10758         LeftOf(self, Window sibling, int marg=0) 
10760         Constrains this edge to be to the left of the given window, with an 
10761         optional margin. Implicitly, this is relative to the left edge of the 
10764         return _core_
.IndividualLayoutConstraint_LeftOf(*args
, **kwargs
) 
10766     def RightOf(*args
, **kwargs
): 
10768         RightOf(self, Window sibling, int marg=0) 
10770         Constrains this edge to be to the right of the given window, with an 
10771         optional margin. Implicitly, this is relative to the right edge of the 
10774         return _core_
.IndividualLayoutConstraint_RightOf(*args
, **kwargs
) 
10776     def Above(*args
, **kwargs
): 
10778         Above(self, Window sibling, int marg=0) 
10780         Constrains this edge to be above the given window, with an optional 
10781         margin. Implicitly, this is relative to the top edge of the other 
10784         return _core_
.IndividualLayoutConstraint_Above(*args
, **kwargs
) 
10786     def Below(*args
, **kwargs
): 
10788         Below(self, Window sibling, int marg=0) 
10790         Constrains this edge to be below the given window, with an optional 
10791         margin. Implicitly, this is relative to the bottom edge of the other 
10794         return _core_
.IndividualLayoutConstraint_Below(*args
, **kwargs
) 
10796     def SameAs(*args
, **kwargs
): 
10798         SameAs(self, Window otherW, int edge, int marg=0) 
10800         Constrains this edge or dimension to be to the same as the edge of the 
10801         given window, with an optional margin. 
10803         return _core_
.IndividualLayoutConstraint_SameAs(*args
, **kwargs
) 
10805     def PercentOf(*args
, **kwargs
): 
10807         PercentOf(self, Window otherW, int wh, int per) 
10809         Constrains this edge or dimension to be to a percentage of the given 
10810         window, with an optional margin. 
10812         return _core_
.IndividualLayoutConstraint_PercentOf(*args
, **kwargs
) 
10814     def Absolute(*args
, **kwargs
): 
10816         Absolute(self, int val) 
10818         Constrains this edge or dimension to be the given absolute value. 
10820         return _core_
.IndividualLayoutConstraint_Absolute(*args
, **kwargs
) 
10822     def Unconstrained(*args
, **kwargs
): 
10824         Unconstrained(self) 
10826         Sets this edge or dimension to be unconstrained, that is, dependent on 
10827         other edges and dimensions from which this value can be deduced. 
10829         return _core_
.IndividualLayoutConstraint_Unconstrained(*args
, **kwargs
) 
10831     def AsIs(*args
, **kwargs
): 
10835         Sets this edge or constraint to be whatever the window's value is at 
10836         the moment. If either of the width and height constraints are *as is*, 
10837         the window will not be resized, but moved instead. This is important 
10838         when considering panel items which are intended to have a default 
10839         size, such as a button, which may take its size from the size of the 
10842         return _core_
.IndividualLayoutConstraint_AsIs(*args
, **kwargs
) 
10844     def GetOtherWindow(*args
, **kwargs
): 
10845         """GetOtherWindow(self) -> Window""" 
10846         return _core_
.IndividualLayoutConstraint_GetOtherWindow(*args
, **kwargs
) 
10848     def GetMyEdge(*args
, **kwargs
): 
10849         """GetMyEdge(self) -> int""" 
10850         return _core_
.IndividualLayoutConstraint_GetMyEdge(*args
, **kwargs
) 
10852     def SetEdge(*args
, **kwargs
): 
10853         """SetEdge(self, int which)""" 
10854         return _core_
.IndividualLayoutConstraint_SetEdge(*args
, **kwargs
) 
10856     def SetValue(*args
, **kwargs
): 
10857         """SetValue(self, int v)""" 
10858         return _core_
.IndividualLayoutConstraint_SetValue(*args
, **kwargs
) 
10860     def GetMargin(*args
, **kwargs
): 
10861         """GetMargin(self) -> int""" 
10862         return _core_
.IndividualLayoutConstraint_GetMargin(*args
, **kwargs
) 
10864     def SetMargin(*args
, **kwargs
): 
10865         """SetMargin(self, int m)""" 
10866         return _core_
.IndividualLayoutConstraint_SetMargin(*args
, **kwargs
) 
10868     def GetValue(*args
, **kwargs
): 
10869         """GetValue(self) -> int""" 
10870         return _core_
.IndividualLayoutConstraint_GetValue(*args
, **kwargs
) 
10872     def GetPercent(*args
, **kwargs
): 
10873         """GetPercent(self) -> int""" 
10874         return _core_
.IndividualLayoutConstraint_GetPercent(*args
, **kwargs
) 
10876     def GetOtherEdge(*args
, **kwargs
): 
10877         """GetOtherEdge(self) -> int""" 
10878         return _core_
.IndividualLayoutConstraint_GetOtherEdge(*args
, **kwargs
) 
10880     def GetDone(*args
, **kwargs
): 
10881         """GetDone(self) -> bool""" 
10882         return _core_
.IndividualLayoutConstraint_GetDone(*args
, **kwargs
) 
10884     def SetDone(*args
, **kwargs
): 
10885         """SetDone(self, bool d)""" 
10886         return _core_
.IndividualLayoutConstraint_SetDone(*args
, **kwargs
) 
10888     def GetRelationship(*args
, **kwargs
): 
10889         """GetRelationship(self) -> int""" 
10890         return _core_
.IndividualLayoutConstraint_GetRelationship(*args
, **kwargs
) 
10892     def SetRelationship(*args
, **kwargs
): 
10893         """SetRelationship(self, int r)""" 
10894         return _core_
.IndividualLayoutConstraint_SetRelationship(*args
, **kwargs
) 
10896     def ResetIfWin(*args
, **kwargs
): 
10898         ResetIfWin(self, Window otherW) -> bool 
10900         Reset constraint if it mentions otherWin 
10902         return _core_
.IndividualLayoutConstraint_ResetIfWin(*args
, **kwargs
) 
10904     def SatisfyConstraint(*args
, **kwargs
): 
10906         SatisfyConstraint(self, LayoutConstraints constraints, Window win) -> bool 
10908         Try to satisfy constraint 
10910         return _core_
.IndividualLayoutConstraint_SatisfyConstraint(*args
, **kwargs
) 
10912     def GetEdge(*args
, **kwargs
): 
10914         GetEdge(self, int which, Window thisWin, Window other) -> int 
10916         Get the value of this edge or dimension, or if this 
10917         is not determinable, -1. 
10919         return _core_
.IndividualLayoutConstraint_GetEdge(*args
, **kwargs
) 
10922 class IndividualLayoutConstraintPtr(IndividualLayoutConstraint
): 
10923     def __init__(self
, this
): 
10925         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
10926         self
.__class
__ = IndividualLayoutConstraint
 
10927 _core_
.IndividualLayoutConstraint_swigregister(IndividualLayoutConstraintPtr
) 
10929 class LayoutConstraints(Object
): 
10931     **Note:** constraints are now deprecated and you should use sizers 
10934     Objects of this class can be associated with a window to define its 
10935     layout constraints, with respect to siblings or its parent. 
10937     The class consists of the following eight constraints of class 
10938     wx.IndividualLayoutConstraint, some or all of which should be accessed 
10939     directly to set the appropriate constraints. 
10941         * left: represents the left hand edge of the window 
10942         * right: represents the right hand edge of the window 
10943         * top: represents the top edge of the window 
10944         * bottom: represents the bottom edge of the window 
10945         * width: represents the width of the window 
10946         * height: represents the height of the window 
10947         * centreX: represents the horizontal centre point of the window 
10948         * centreY: represents the vertical centre point of the window  
10950     Most constraints are initially set to have the relationship 
10951     wxUnconstrained, which means that their values should be calculated by 
10952     looking at known constraints. The exceptions are width and height, 
10953     which are set to wxAsIs to ensure that if the user does not specify a 
10954     constraint, the existing width and height will be used, to be 
10955     compatible with panel items which often have take a default size. If 
10956     the constraint is ``wx.AsIs``, the dimension will not be changed. 
10958     :see: `wx.IndividualLayoutConstraint`, `wx.Window.SetConstraints` 
10961     def __repr__(self
): 
10962         return "<%s.%s; proxy of C++ wxLayoutConstraints instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,) 
10963     left 
= property(_core_
.LayoutConstraints_left_get
) 
10964     top 
= property(_core_
.LayoutConstraints_top_get
) 
10965     right 
= property(_core_
.LayoutConstraints_right_get
) 
10966     bottom 
= property(_core_
.LayoutConstraints_bottom_get
) 
10967     width 
= property(_core_
.LayoutConstraints_width_get
) 
10968     height 
= property(_core_
.LayoutConstraints_height_get
) 
10969     centreX 
= property(_core_
.LayoutConstraints_centreX_get
) 
10970     centreY 
= property(_core_
.LayoutConstraints_centreY_get
) 
10971     def __init__(self
, *args
, **kwargs
): 
10972         """__init__(self) -> LayoutConstraints""" 
10973         newobj 
= _core_
.new_LayoutConstraints(*args
, **kwargs
) 
10974         self
.this 
= newobj
.this
 
10977     def SatisfyConstraints(*args
, **kwargs
): 
10978         """SatisfyConstraints(Window win) -> (areSatisfied, noChanges)""" 
10979         return _core_
.LayoutConstraints_SatisfyConstraints(*args
, **kwargs
) 
10981     def AreSatisfied(*args
, **kwargs
): 
10982         """AreSatisfied(self) -> bool""" 
10983         return _core_
.LayoutConstraints_AreSatisfied(*args
, **kwargs
) 
10986 class LayoutConstraintsPtr(LayoutConstraints
): 
10987     def __init__(self
, this
): 
10989         if not hasattr(self
,"thisown"): self
.thisown 
= 0 
10990         self
.__class
__ = LayoutConstraints
 
10991 _core_
.LayoutConstraints_swigregister(LayoutConstraintsPtr
) 
10993 #---------------------------------------------------------------------------- 
10995 # Use Python's bool constants if available, make some if not 
10999     __builtins__
.True = 1==1 
11000     __builtins__
.False = 1==0 
11001     def bool(value
): return not not value
 
11002     __builtins__
.bool = bool 
11006 # workarounds for bad wxRTTI names 
11007 __wxPyPtrTypeMap
['wxGauge95']    = 'wxGauge' 
11008 __wxPyPtrTypeMap
['wxSlider95']   = 'wxSlider' 
11009 __wxPyPtrTypeMap
['wxStatusBar95']   = 'wxStatusBar' 
11012 #---------------------------------------------------------------------------- 
11013 # Load version numbers from __version__...  Ensure that major and minor 
11014 # versions are the same for both wxPython and wxWidgets. 
11016 from __version__ 
import * 
11017 __version__ 
= VERSION_STRING
 
11019 assert MAJOR_VERSION 
== _core_
.MAJOR_VERSION
, "wxPython/wxWidgets version mismatch" 
11020 assert MINOR_VERSION 
== _core_
.MINOR_VERSION
, "wxPython/wxWidgets version mismatch" 
11021 if RELEASE_VERSION 
!= _core_
.RELEASE_VERSION
: 
11023     warnings
.warn("wxPython/wxWidgets release number mismatch") 
11025 #---------------------------------------------------------------------------- 
11027 # Set the default string<-->unicode conversion encoding from the 
11028 # locale.  This encoding is used when string or unicode objects need 
11029 # to be converted in order to pass them to wxWidgets.  Please be aware 
11030 # that the default encoding within the same locale may be slightly 
11031 # different on different platforms.  For example, please see 
11032 # http://www.alanwood.net/demos/charsetdiffs.html for differences 
11033 # between the common latin/roman encodings. 
11035 default 
= locale
.getdefaultlocale()[1] 
11037     wx
.SetDefaultPyEncoding(default
) 
11041 #---------------------------------------------------------------------------- 
11043 class PyDeadObjectError(AttributeError): 
11046 class _wxPyDeadObject(object): 
11048     Instances of wx objects that are OOR capable will have their __class__ 
11049     changed to this class when the C++ object is deleted.  This should help 
11050     prevent crashes due to referencing a bogus C++ pointer. 
11052     reprStr 
= "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)" 
11053     attrStr 
= "The C++ part of the %s object has been deleted, attribute access no longer allowed." 
11055     def __repr__(self
): 
11056         if not hasattr(self
, "_name"): 
11057             self
._name 
= "[unknown]" 
11058         return self
.reprStr 
% self
._name
 
11060     def __getattr__(self
, *args
): 
11061         if not hasattr(self
, "_name"): 
11062             self
._name 
= "[unknown]" 
11063         raise PyDeadObjectError(self
.attrStr 
% self
._name
) 
11065     def __nonzero__(self
): 
11070 class PyUnbornObjectError(AttributeError): 
11073 class _wxPyUnbornObject(object): 
11075     Some stock objects are created when the wx._core module is 
11076     imported, but their C++ instance is not created until the wx.App 
11077     object is created and initialized.  These object instances will 
11078     temporarily have their __class__ changed to this class so an 
11079     exception will be raised if they are used before the C++ instance 
11083     reprStr 
= "wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.)" 
11084     attrStr 
= "The C++ part of this object has not been initialized, attribute access not allowed." 
11086     def __repr__(self
): 
11087         #if not hasattr(self, "_name"): 
11088         #    self._name = "[unknown]" 
11089         return self
.reprStr 
#% self._name 
11091     def __getattr__(self
, *args
): 
11092         #if not hasattr(self, "_name"): 
11093         #    self._name = "[unknown]" 
11094         raise PyUnbornObjectError(self
.attrStr
) # % self._name ) 
11096     def __nonzero__(self
): 
11100 #---------------------------------------------------------------------------- 
11102 def CallAfter(callable, *args
, **kw
): 
11104     Call the specified function after the current and pending event 
11105     handlers have been completed.  This is also good for making GUI 
11106     method calls from non-GUI threads.  Any extra positional or 
11107     keyword args are passed on to the callable when it is called. 
11109     :see: `wx.FutureCall` 
11112     assert app 
is not None, 'No wx.App created yet' 
11114     if not hasattr(app
, "_CallAfterId"): 
11115         app
._CallAfterId 
= wx
.NewEventType() 
11116         app
.Connect(-1, -1, app
._CallAfterId
, 
11117                     lambda event
: event
.callable(*event
.args
, **event
.kw
) ) 
11119     evt
.SetEventType(app
._CallAfterId
) 
11120     evt
.callable = callable 
11123     wx
.PostEvent(app
, evt
) 
11125 #---------------------------------------------------------------------------- 
11130     A convenience class for `wx.Timer`, that calls the given callable 
11131     object once after the given amount of milliseconds, passing any 
11132     positional or keyword args.  The return value of the callable is 
11133     availbale after it has been run with the `GetResult` method. 
11135     If you don't need to get the return value or restart the timer 
11136     then there is no need to hold a reference to this object.  It will 
11137     hold a reference to itself while the timer is running (the timer 
11138     has a reference to self.Notify) but the cycle will be broken when 
11139     the timer completes, automatically cleaning up the wx.FutureCall 
11142     :see: `wx.CallAfter` 
11144     def __init__(self
, millis
, callable, *args
, **kwargs
): 
11145         self
.millis 
= millis
 
11146         self
.callable = callable 
11147         self
.SetArgs(*args
, **kwargs
) 
11149         self
.running 
= False 
11150         self
.hasRun 
= False 
11159     def Start(self
, millis
=None, *args
, **kwargs
): 
11161         (Re)start the timer 
11163         self
.hasRun 
= False 
11164         if millis 
is not None: 
11165             self
.millis 
= millis
 
11167             self
.SetArgs(*args
, **kwargs
) 
11169         self
.timer 
= wx
.PyTimer(self
.Notify
) 
11170         self
.timer
.Start(self
.millis
, wx
.TIMER_ONE_SHOT
) 
11171         self
.running 
= True 
11177         Stop and destroy the timer. 
11179         if self
.timer 
is not None: 
11184     def GetInterval(self
): 
11185         if self
.timer 
is not None: 
11186             return self
.timer
.GetInterval() 
11191     def IsRunning(self
): 
11192         return self
.timer 
is not None and self
.timer
.IsRunning() 
11195     def SetArgs(self
, *args
, **kwargs
): 
11197         (Re)set the args passed to the callable object.  This is 
11198         useful in conjunction with Restart if you want to schedule a 
11199         new call to the same callable object but with different 
11203         self
.kwargs 
= kwargs
 
11209     def GetResult(self
): 
11214         The timer has expired so call the callable. 
11216         if self
.callable and getattr(self
.callable, 'im_self', True): 
11218             self
.running 
= False 
11219             self
.result 
= self
.callable(*self
.args
, **self
.kwargs
) 
11221         if not self
.running
: 
11222             # if it wasn't restarted, then cleanup 
11223             wx
.CallAfter(self
.Stop
) 
11227 #---------------------------------------------------------------------------- 
11228 # Control which items in this module should be documented by epydoc. 
11229 # We allow only classes and functions, which will help reduce the size 
11230 # of the docs by filtering out the zillions of constants, EVT objects, 
11231 # and etc that don't make much sense by themselves, but are instead 
11232 # documented (or will be) as part of the classes/functions/methods 
11233 # where they should be used. 
11237     A filter for epydoc that only allows non-Ptr classes and 
11238     fucntions, in order to reduce the clutter in the API docs. 
11240     def __init__(self
, globals): 
11241         self
._globals 
= globals 
11243     def __call__(self
, name
): 
11245         obj 
= self
._globals
.get(name
, None) 
11246         if type(obj
) not in [type, types
.ClassType
, types
.FunctionType
, types
.BuiltinFunctionType
]: 
11248         if name
.startswith('_') or name
.endswith('Ptr') or name
.startswith('EVT'): 
11252 #---------------------------------------------------------------------------- 
11253 #---------------------------------------------------------------------------- 
11255 # Import other modules in this package that should show up in the 
11256 # "core" wx namespace 
11258 from _windows 
import * 
11259 from _controls 
import * 
11260 from _misc 
import * 
11263 # Fixup the stock objects since they can't be used yet.  (They will be 
11264 # restored in wx.PyApp.OnInit.) 
11265 _core_
._wxPyFixStockObjects
() 
11267 #---------------------------------------------------------------------------- 
11268 #----------------------------------------------------------------------------