1 # This file was created automatically by SWIG.
10 def __init__(self
,this
):
13 def SetTip(self
, *_args
, **_kwargs
):
14 val
= apply(misc2c
.wxToolTip_SetTip
,(self
,) + _args
, _kwargs
)
16 def GetTip(self
, *_args
, **_kwargs
):
17 val
= apply(misc2c
.wxToolTip_GetTip
,(self
,) + _args
, _kwargs
)
19 def GetWindow(self
, *_args
, **_kwargs
):
20 val
= apply(misc2c
.wxToolTip_GetWindow
,(self
,) + _args
, _kwargs
)
21 if val
: val
= wxWindowPtr(val
)
24 return "<C wxToolTip instance at %s>" % (self
.this
,)
25 class wxToolTip(wxToolTipPtr
):
26 def __init__(self
,*_args
,**_kwargs
):
27 self
.this
= apply(misc2c
.new_wxToolTip
,_args
,_kwargs
)
34 def __init__(self
,this
):
37 def __del__(self
,misc2c
=misc2c
):
38 if self
.thisown
== 1 :
39 misc2c
.delete_wxCaret(self
)
40 def IsOk(self
, *_args
, **_kwargs
):
41 val
= apply(misc2c
.wxCaret_IsOk
,(self
,) + _args
, _kwargs
)
43 def IsVisible(self
, *_args
, **_kwargs
):
44 val
= apply(misc2c
.wxCaret_IsVisible
,(self
,) + _args
, _kwargs
)
46 def GetPositionTuple(self
, *_args
, **_kwargs
):
47 val
= apply(misc2c
.wxCaret_GetPositionTuple
,(self
,) + _args
, _kwargs
)
49 def GetPosition(self
, *_args
, **_kwargs
):
50 val
= apply(misc2c
.wxCaret_GetPosition
,(self
,) + _args
, _kwargs
)
51 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
53 def GetSizeTuple(self
, *_args
, **_kwargs
):
54 val
= apply(misc2c
.wxCaret_GetSizeTuple
,(self
,) + _args
, _kwargs
)
56 def GetSize(self
, *_args
, **_kwargs
):
57 val
= apply(misc2c
.wxCaret_GetSize
,(self
,) + _args
, _kwargs
)
58 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
60 def GetWindow(self
, *_args
, **_kwargs
):
61 val
= apply(misc2c
.wxCaret_GetWindow
,(self
,) + _args
, _kwargs
)
62 if val
: val
= wxWindowPtr(val
)
64 def MoveXY(self
, *_args
, **_kwargs
):
65 val
= apply(misc2c
.wxCaret_MoveXY
,(self
,) + _args
, _kwargs
)
67 def Move(self
, *_args
, **_kwargs
):
68 val
= apply(misc2c
.wxCaret_Move
,(self
,) + _args
, _kwargs
)
70 def Show(self
, *_args
, **_kwargs
):
71 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
73 def Hide(self
, *_args
, **_kwargs
):
74 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
76 def OnSetFocus(self
, *_args
, **_kwargs
):
77 val
= apply(misc2c
.wxCaret_OnSetFocus
,(self
,) + _args
, _kwargs
)
79 def OnKillFocus(self
, *_args
, **_kwargs
):
80 val
= apply(misc2c
.wxCaret_OnKillFocus
,(self
,) + _args
, _kwargs
)
83 return "<C wxCaret instance at %s>" % (self
.this
,)
84 class wxCaret(wxCaretPtr
):
85 def __init__(self
,*_args
,**_kwargs
):
86 self
.this
= apply(misc2c
.new_wxCaret
,_args
,_kwargs
)
92 class wxBusyCursorPtr
:
93 def __init__(self
,this
):
96 def __del__(self
,misc2c
=misc2c
):
97 if self
.thisown
== 1 :
98 misc2c
.delete_wxBusyCursor(self
)
100 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
101 class wxBusyCursor(wxBusyCursorPtr
):
102 def __init__(self
,*_args
,**_kwargs
):
103 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
111 #-------------- FUNCTION WRAPPERS ------------------
113 wxFileSelector
= misc2c
.wxFileSelector
115 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
117 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
119 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
121 wxMessageBox
= misc2c
.wxMessageBox
123 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
125 wxColourDisplay
= misc2c
.wxColourDisplay
127 wxDisplayDepth
= misc2c
.wxDisplayDepth
129 wxSetCursor
= misc2c
.wxSetCursor
131 def wxFindWindowByLabel(*_args
, **_kwargs
):
132 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
133 if val
: val
= wxWindowPtr(val
)
136 def wxFindWindowByName(*_args
, **_kwargs
):
137 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
138 if val
: val
= wxWindowPtr(val
)
141 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
143 def wxGetActiveWindow(*_args
, **_kwargs
):
144 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
145 if val
: val
= wxWindowPtr(val
)
148 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
150 wxResourceClear
= misc2c
.wxResourceClear
152 def wxResourceCreateBitmap(*_args
, **_kwargs
):
153 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
154 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
157 def wxResourceCreateIcon(*_args
, **_kwargs
):
158 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
159 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
162 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
163 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
164 if val
: val
= wxMenuBarPtr(val
)
167 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
169 wxResourceParseData
= misc2c
.wxResourceParseData
171 wxResourceParseFile
= misc2c
.wxResourceParseFile
173 wxResourceParseString
= misc2c
.wxResourceParseString
175 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
176 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
177 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
180 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
181 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
182 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
185 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
187 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
189 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
191 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
193 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
197 #-------------- VARIABLE WRAPPERS ------------------
199 wxSYS_WHITE_BRUSH
= misc2c
.wxSYS_WHITE_BRUSH
200 wxSYS_LTGRAY_BRUSH
= misc2c
.wxSYS_LTGRAY_BRUSH
201 wxSYS_GRAY_BRUSH
= misc2c
.wxSYS_GRAY_BRUSH
202 wxSYS_DKGRAY_BRUSH
= misc2c
.wxSYS_DKGRAY_BRUSH
203 wxSYS_BLACK_BRUSH
= misc2c
.wxSYS_BLACK_BRUSH
204 wxSYS_NULL_BRUSH
= misc2c
.wxSYS_NULL_BRUSH
205 wxSYS_HOLLOW_BRUSH
= misc2c
.wxSYS_HOLLOW_BRUSH
206 wxSYS_WHITE_PEN
= misc2c
.wxSYS_WHITE_PEN
207 wxSYS_BLACK_PEN
= misc2c
.wxSYS_BLACK_PEN
208 wxSYS_NULL_PEN
= misc2c
.wxSYS_NULL_PEN
209 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
210 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
211 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
212 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
213 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
214 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
215 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
216 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
217 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
218 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
219 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
220 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
221 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
222 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
223 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
224 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
225 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
226 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
227 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
228 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
229 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
230 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
231 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
232 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
233 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
234 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
235 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
236 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
237 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
238 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
239 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
240 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
241 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
242 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
243 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
244 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
245 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
246 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
247 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
248 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
249 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
250 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
251 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
252 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
253 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
254 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
255 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
256 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
257 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
258 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
259 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
260 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
261 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
262 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
263 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
264 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
265 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
266 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
267 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
268 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
269 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
270 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
271 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
272 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
273 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
274 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
275 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
276 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
277 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
278 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
279 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
280 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
281 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
282 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
283 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
284 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS