1 # This file was created automatically by SWIG. 
  10 from clip_dnd 
import * 
  12 from controls 
import * 
  16 class wxStatusBarPtr(wxWindowPtr
): 
  17     def __init__(self
,this
): 
  20     def Create(self
, *_args
, **_kwargs
): 
  21         val 
= apply(stattoolc
.wxStatusBar_Create
,(self
,) + _args
, _kwargs
) 
  23     def GetFieldRect(self
, *_args
, **_kwargs
): 
  24         val 
= apply(stattoolc
.wxStatusBar_GetFieldRect
,(self
,) + _args
, _kwargs
) 
  25         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
  27     def GetFieldsCount(self
, *_args
, **_kwargs
): 
  28         val 
= apply(stattoolc
.wxStatusBar_GetFieldsCount
,(self
,) + _args
, _kwargs
) 
  30     def GetStatusText(self
, *_args
, **_kwargs
): 
  31         val 
= apply(stattoolc
.wxStatusBar_GetStatusText
,(self
,) + _args
, _kwargs
) 
  33     def GetBorderX(self
, *_args
, **_kwargs
): 
  34         val 
= apply(stattoolc
.wxStatusBar_GetBorderX
,(self
,) + _args
, _kwargs
) 
  36     def GetBorderY(self
, *_args
, **_kwargs
): 
  37         val 
= apply(stattoolc
.wxStatusBar_GetBorderY
,(self
,) + _args
, _kwargs
) 
  39     def SetFieldsCount(self
, *_args
, **_kwargs
): 
  40         val 
= apply(stattoolc
.wxStatusBar_SetFieldsCount
,(self
,) + _args
, _kwargs
) 
  42     def SetStatusText(self
, *_args
, **_kwargs
): 
  43         val 
= apply(stattoolc
.wxStatusBar_SetStatusText
,(self
,) + _args
, _kwargs
) 
  45     def SetStatusWidths(self
, *_args
, **_kwargs
): 
  46         val 
= apply(stattoolc
.wxStatusBar_SetStatusWidths
,(self
,) + _args
, _kwargs
) 
  48     def SetMinHeight(self
, *_args
, **_kwargs
): 
  49         val 
= apply(stattoolc
.wxStatusBar_SetMinHeight
,(self
,) + _args
, _kwargs
) 
  52         return "<C wxStatusBar instance at %s>" % (self
.this
,) 
  53 class wxStatusBar(wxStatusBarPtr
): 
  54     def __init__(self
,*_args
,**_kwargs
): 
  55         self
.this 
= apply(stattoolc
.new_wxStatusBar
,_args
,_kwargs
) 
  57         self
._setOORInfo
(self
) 
  61 def wxPreStatusBar(*_args
,**_kwargs
): 
  62     val 
= wxStatusBarPtr(apply(stattoolc
.new_wxPreStatusBar
,_args
,_kwargs
)) 
  68 class wxToolBarToolBasePtr(wxObjectPtr
): 
  69     def __init__(self
,this
): 
  72     def Destroy(self
, *_args
, **_kwargs
): 
  73         val 
= apply(stattoolc
.wxToolBarToolBase_Destroy
,(self
,) + _args
, _kwargs
) 
  75     def GetId(self
, *_args
, **_kwargs
): 
  76         val 
= apply(stattoolc
.wxToolBarToolBase_GetId
,(self
,) + _args
, _kwargs
) 
  78     def GetControl(self
, *_args
, **_kwargs
): 
  79         val 
= apply(stattoolc
.wxToolBarToolBase_GetControl
,(self
,) + _args
, _kwargs
) 
  81     def GetToolBar(self
, *_args
, **_kwargs
): 
  82         val 
= apply(stattoolc
.wxToolBarToolBase_GetToolBar
,(self
,) + _args
, _kwargs
) 
  84     def IsButton(self
, *_args
, **_kwargs
): 
  85         val 
= apply(stattoolc
.wxToolBarToolBase_IsButton
,(self
,) + _args
, _kwargs
) 
  87     def IsControl(self
, *_args
, **_kwargs
): 
  88         val 
= apply(stattoolc
.wxToolBarToolBase_IsControl
,(self
,) + _args
, _kwargs
) 
  90     def IsSeparator(self
, *_args
, **_kwargs
): 
  91         val 
= apply(stattoolc
.wxToolBarToolBase_IsSeparator
,(self
,) + _args
, _kwargs
) 
  93     def GetStyle(self
, *_args
, **_kwargs
): 
  94         val 
= apply(stattoolc
.wxToolBarToolBase_GetStyle
,(self
,) + _args
, _kwargs
) 
  96     def IsEnabled(self
, *_args
, **_kwargs
): 
  97         val 
= apply(stattoolc
.wxToolBarToolBase_IsEnabled
,(self
,) + _args
, _kwargs
) 
  99     def IsToggled(self
, *_args
, **_kwargs
): 
 100         val 
= apply(stattoolc
.wxToolBarToolBase_IsToggled
,(self
,) + _args
, _kwargs
) 
 102     def CanBeToggled(self
, *_args
, **_kwargs
): 
 103         val 
= apply(stattoolc
.wxToolBarToolBase_CanBeToggled
,(self
,) + _args
, _kwargs
) 
 105     def GetBitmap1(self
, *_args
, **_kwargs
): 
 106         val 
= apply(stattoolc
.wxToolBarToolBase_GetBitmap1
,(self
,) + _args
, _kwargs
) 
 107         if val
: val 
= wxBitmapPtr(val
) ; val
.thisown 
= 1 
 109     def GetBitmap2(self
, *_args
, **_kwargs
): 
 110         val 
= apply(stattoolc
.wxToolBarToolBase_GetBitmap2
,(self
,) + _args
, _kwargs
) 
 111         if val
: val 
= wxBitmapPtr(val
) ; val
.thisown 
= 1 
 113     def GetBitmap(self
, *_args
, **_kwargs
): 
 114         val 
= apply(stattoolc
.wxToolBarToolBase_GetBitmap
,(self
,) + _args
, _kwargs
) 
 115         if val
: val 
= wxBitmapPtr(val
) ; val
.thisown 
= 1 
 117     def GetShortHelp(self
, *_args
, **_kwargs
): 
 118         val 
= apply(stattoolc
.wxToolBarToolBase_GetShortHelp
,(self
,) + _args
, _kwargs
) 
 120     def GetLongHelp(self
, *_args
, **_kwargs
): 
 121         val 
= apply(stattoolc
.wxToolBarToolBase_GetLongHelp
,(self
,) + _args
, _kwargs
) 
 123     def Enable(self
, *_args
, **_kwargs
): 
 124         val 
= apply(stattoolc
.wxToolBarToolBase_Enable
,(self
,) + _args
, _kwargs
) 
 126     def Toggle(self
, *_args
, **_kwargs
): 
 127         val 
= apply(stattoolc
.wxToolBarToolBase_Toggle
,(self
,) + _args
, _kwargs
) 
 129     def SetToggle(self
, *_args
, **_kwargs
): 
 130         val 
= apply(stattoolc
.wxToolBarToolBase_SetToggle
,(self
,) + _args
, _kwargs
) 
 132     def SetShortHelp(self
, *_args
, **_kwargs
): 
 133         val 
= apply(stattoolc
.wxToolBarToolBase_SetShortHelp
,(self
,) + _args
, _kwargs
) 
 135     def SetLongHelp(self
, *_args
, **_kwargs
): 
 136         val 
= apply(stattoolc
.wxToolBarToolBase_SetLongHelp
,(self
,) + _args
, _kwargs
) 
 138     def SetBitmap1(self
, *_args
, **_kwargs
): 
 139         val 
= apply(stattoolc
.wxToolBarToolBase_SetBitmap1
,(self
,) + _args
, _kwargs
) 
 141     def SetBitmap2(self
, *_args
, **_kwargs
): 
 142         val 
= apply(stattoolc
.wxToolBarToolBase_SetBitmap2
,(self
,) + _args
, _kwargs
) 
 144     def Detach(self
, *_args
, **_kwargs
): 
 145         val 
= apply(stattoolc
.wxToolBarToolBase_Detach
,(self
,) + _args
, _kwargs
) 
 147     def Attach(self
, *_args
, **_kwargs
): 
 148         val 
= apply(stattoolc
.wxToolBarToolBase_Attach
,(self
,) + _args
, _kwargs
) 
 150     def GetClientData(self
, *_args
, **_kwargs
): 
 151         val 
= apply(stattoolc
.wxToolBarToolBase_GetClientData
,(self
,) + _args
, _kwargs
) 
 153     def SetClientData(self
, *_args
, **_kwargs
): 
 154         val 
= apply(stattoolc
.wxToolBarToolBase_SetClientData
,(self
,) + _args
, _kwargs
) 
 157         return "<C wxToolBarToolBase instance at %s>" % (self
.this
,) 
 158 class wxToolBarToolBase(wxToolBarToolBasePtr
): 
 159     def __init__(self
,this
): 
 165 class wxToolBarBasePtr(wxControlPtr
): 
 166     def __init__(self
,this
): 
 169     def AddTool(self
, *_args
, **_kwargs
): 
 170         val 
= apply(stattoolc
.wxToolBarBase_AddTool
,(self
,) + _args
, _kwargs
) 
 172     def AddSimpleTool(self
, *_args
, **_kwargs
): 
 173         val 
= apply(stattoolc
.wxToolBarBase_AddSimpleTool
,(self
,) + _args
, _kwargs
) 
 175     def InsertTool(self
, *_args
, **_kwargs
): 
 176         val 
= apply(stattoolc
.wxToolBarBase_InsertTool
,(self
,) + _args
, _kwargs
) 
 178     def InsertSimpleTool(self
, *_args
, **_kwargs
): 
 179         val 
= apply(stattoolc
.wxToolBarBase_InsertSimpleTool
,(self
,) + _args
, _kwargs
) 
 181     def AddControl(self
, *_args
, **_kwargs
): 
 182         val 
= apply(stattoolc
.wxToolBarBase_AddControl
,(self
,) + _args
, _kwargs
) 
 184     def InsertControl(self
, *_args
, **_kwargs
): 
 185         val 
= apply(stattoolc
.wxToolBarBase_InsertControl
,(self
,) + _args
, _kwargs
) 
 187     def AddSeparator(self
, *_args
, **_kwargs
): 
 188         val 
= apply(stattoolc
.wxToolBarBase_AddSeparator
,(self
,) + _args
, _kwargs
) 
 190     def InsertSeparator(self
, *_args
, **_kwargs
): 
 191         val 
= apply(stattoolc
.wxToolBarBase_InsertSeparator
,(self
,) + _args
, _kwargs
) 
 193     def RemoveTool(self
, *_args
, **_kwargs
): 
 194         val 
= apply(stattoolc
.wxToolBarBase_RemoveTool
,(self
,) + _args
, _kwargs
) 
 196     def DeleteToolByPos(self
, *_args
, **_kwargs
): 
 197         val 
= apply(stattoolc
.wxToolBarBase_DeleteToolByPos
,(self
,) + _args
, _kwargs
) 
 199     def DeleteTool(self
, *_args
, **_kwargs
): 
 200         val 
= apply(stattoolc
.wxToolBarBase_DeleteTool
,(self
,) + _args
, _kwargs
) 
 202     def ClearTools(self
, *_args
, **_kwargs
): 
 203         val 
= apply(stattoolc
.wxToolBarBase_ClearTools
,(self
,) + _args
, _kwargs
) 
 205     def Realize(self
, *_args
, **_kwargs
): 
 206         val 
= apply(stattoolc
.wxToolBarBase_Realize
,(self
,) + _args
, _kwargs
) 
 208     def EnableTool(self
, *_args
, **_kwargs
): 
 209         val 
= apply(stattoolc
.wxToolBarBase_EnableTool
,(self
,) + _args
, _kwargs
) 
 211     def ToggleTool(self
, *_args
, **_kwargs
): 
 212         val 
= apply(stattoolc
.wxToolBarBase_ToggleTool
,(self
,) + _args
, _kwargs
) 
 214     def SetToggle(self
, *_args
, **_kwargs
): 
 215         val 
= apply(stattoolc
.wxToolBarBase_SetToggle
,(self
,) + _args
, _kwargs
) 
 217     def GetToolClientData(self
, *_args
, **_kwargs
): 
 218         val 
= apply(stattoolc
.wxToolBarBase_GetToolClientData
,(self
,) + _args
, _kwargs
) 
 220     def SetToolClientData(self
, *_args
, **_kwargs
): 
 221         val 
= apply(stattoolc
.wxToolBarBase_SetToolClientData
,(self
,) + _args
, _kwargs
) 
 223     def GetToolState(self
, *_args
, **_kwargs
): 
 224         val 
= apply(stattoolc
.wxToolBarBase_GetToolState
,(self
,) + _args
, _kwargs
) 
 226     def GetToolEnabled(self
, *_args
, **_kwargs
): 
 227         val 
= apply(stattoolc
.wxToolBarBase_GetToolEnabled
,(self
,) + _args
, _kwargs
) 
 229     def SetToolShortHelp(self
, *_args
, **_kwargs
): 
 230         val 
= apply(stattoolc
.wxToolBarBase_SetToolShortHelp
,(self
,) + _args
, _kwargs
) 
 232     def GetToolShortHelp(self
, *_args
, **_kwargs
): 
 233         val 
= apply(stattoolc
.wxToolBarBase_GetToolShortHelp
,(self
,) + _args
, _kwargs
) 
 235     def SetToolLongHelp(self
, *_args
, **_kwargs
): 
 236         val 
= apply(stattoolc
.wxToolBarBase_SetToolLongHelp
,(self
,) + _args
, _kwargs
) 
 238     def GetToolLongHelp(self
, *_args
, **_kwargs
): 
 239         val 
= apply(stattoolc
.wxToolBarBase_GetToolLongHelp
,(self
,) + _args
, _kwargs
) 
 241     def SetMarginsXY(self
, *_args
, **_kwargs
): 
 242         val 
= apply(stattoolc
.wxToolBarBase_SetMarginsXY
,(self
,) + _args
, _kwargs
) 
 244     def SetMargins(self
, *_args
, **_kwargs
): 
 245         val 
= apply(stattoolc
.wxToolBarBase_SetMargins
,(self
,) + _args
, _kwargs
) 
 247     def SetToolPacking(self
, *_args
, **_kwargs
): 
 248         val 
= apply(stattoolc
.wxToolBarBase_SetToolPacking
,(self
,) + _args
, _kwargs
) 
 250     def SetToolSeparation(self
, *_args
, **_kwargs
): 
 251         val 
= apply(stattoolc
.wxToolBarBase_SetToolSeparation
,(self
,) + _args
, _kwargs
) 
 253     def GetToolMargins(self
, *_args
, **_kwargs
): 
 254         val 
= apply(stattoolc
.wxToolBarBase_GetToolMargins
,(self
,) + _args
, _kwargs
) 
 255         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 257     def GetMargins(self
, *_args
, **_kwargs
): 
 258         val 
= apply(stattoolc
.wxToolBarBase_GetMargins
,(self
,) + _args
, _kwargs
) 
 259         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 261     def GetToolPacking(self
, *_args
, **_kwargs
): 
 262         val 
= apply(stattoolc
.wxToolBarBase_GetToolPacking
,(self
,) + _args
, _kwargs
) 
 264     def GetToolSeparation(self
, *_args
, **_kwargs
): 
 265         val 
= apply(stattoolc
.wxToolBarBase_GetToolSeparation
,(self
,) + _args
, _kwargs
) 
 267     def SetRows(self
, *_args
, **_kwargs
): 
 268         val 
= apply(stattoolc
.wxToolBarBase_SetRows
,(self
,) + _args
, _kwargs
) 
 270     def SetMaxRowsCols(self
, *_args
, **_kwargs
): 
 271         val 
= apply(stattoolc
.wxToolBarBase_SetMaxRowsCols
,(self
,) + _args
, _kwargs
) 
 273     def GetMaxRows(self
, *_args
, **_kwargs
): 
 274         val 
= apply(stattoolc
.wxToolBarBase_GetMaxRows
,(self
,) + _args
, _kwargs
) 
 276     def GetMaxCols(self
, *_args
, **_kwargs
): 
 277         val 
= apply(stattoolc
.wxToolBarBase_GetMaxCols
,(self
,) + _args
, _kwargs
) 
 279     def SetToolBitmapSize(self
, *_args
, **_kwargs
): 
 280         val 
= apply(stattoolc
.wxToolBarBase_SetToolBitmapSize
,(self
,) + _args
, _kwargs
) 
 282     def GetToolBitmapSize(self
, *_args
, **_kwargs
): 
 283         val 
= apply(stattoolc
.wxToolBarBase_GetToolBitmapSize
,(self
,) + _args
, _kwargs
) 
 284         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 286     def GetToolSize(self
, *_args
, **_kwargs
): 
 287         val 
= apply(stattoolc
.wxToolBarBase_GetToolSize
,(self
,) + _args
, _kwargs
) 
 288         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
 291         return "<C wxToolBarBase instance at %s>" % (self
.this
,) 
 292 class wxToolBarBase(wxToolBarBasePtr
): 
 293     def __init__(self
,this
): 
 299 class wxToolBarPtr(wxToolBarBasePtr
): 
 300     def __init__(self
,this
): 
 303     def Create(self
, *_args
, **_kwargs
): 
 304         val 
= apply(stattoolc
.wxToolBar_Create
,(self
,) + _args
, _kwargs
) 
 306     def FindToolForPosition(self
, *_args
, **_kwargs
): 
 307         val 
= apply(stattoolc
.wxToolBar_FindToolForPosition
,(self
,) + _args
, _kwargs
) 
 310         return "<C wxToolBar instance at %s>" % (self
.this
,) 
 311 class wxToolBar(wxToolBarPtr
): 
 312     def __init__(self
,*_args
,**_kwargs
): 
 313         self
.this 
= apply(stattoolc
.new_wxToolBar
,_args
,_kwargs
) 
 315         self
._setOORInfo
(self
) 
 319 def wxPreToolBar(*_args
,**_kwargs
): 
 320     val 
= wxToolBarPtr(apply(stattoolc
.new_wxPreToolBar
,_args
,_kwargs
)) 
 326 class wxToolBarSimplePtr(wxToolBarBasePtr
): 
 327     def __init__(self
,this
): 
 330     def Create(self
, *_args
, **_kwargs
): 
 331         val 
= apply(stattoolc
.wxToolBarSimple_Create
,(self
,) + _args
, _kwargs
) 
 333     def FindToolForPosition(self
, *_args
, **_kwargs
): 
 334         val 
= apply(stattoolc
.wxToolBarSimple_FindToolForPosition
,(self
,) + _args
, _kwargs
) 
 337         return "<C wxToolBarSimple instance at %s>" % (self
.this
,) 
 338 class wxToolBarSimple(wxToolBarSimplePtr
): 
 339     def __init__(self
,*_args
,**_kwargs
): 
 340         self
.this 
= apply(stattoolc
.new_wxToolBarSimple
,_args
,_kwargs
) 
 342         self
._setOORInfo
(self
) 
 346 def wxPreToolBarSimple(*_args
,**_kwargs
): 
 347     val 
= wxToolBarSimplePtr(apply(stattoolc
.new_wxPreToolBarSimple
,_args
,_kwargs
)) 
 355 #-------------- FUNCTION WRAPPERS ------------------ 
 359 #-------------- VARIABLE WRAPPERS ------------------ 
 361 wxTOOL_STYLE_BUTTON 
= stattoolc
.wxTOOL_STYLE_BUTTON
 
 362 wxTOOL_STYLE_SEPARATOR 
= stattoolc
.wxTOOL_STYLE_SEPARATOR
 
 363 wxTOOL_STYLE_CONTROL 
= stattoolc
.wxTOOL_STYLE_CONTROL