1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
14 def __init__(self
,this
):
17 def SetTip(self
, *_args
, **_kwargs
):
18 val
= apply(misc2c
.wxToolTip_SetTip
,(self
,) + _args
, _kwargs
)
20 def GetTip(self
, *_args
, **_kwargs
):
21 val
= apply(misc2c
.wxToolTip_GetTip
,(self
,) + _args
, _kwargs
)
23 def GetWindow(self
, *_args
, **_kwargs
):
24 val
= apply(misc2c
.wxToolTip_GetWindow
,(self
,) + _args
, _kwargs
)
25 if val
: val
= wxWindowPtr(val
)
28 return "<C wxToolTip instance at %s>" % (self
.this
,)
29 class wxToolTip(wxToolTipPtr
):
30 def __init__(self
,*_args
,**_kwargs
):
31 self
.this
= apply(misc2c
.new_wxToolTip
,_args
,_kwargs
)
38 def __init__(self
,this
):
41 def __del__(self
,misc2c
=misc2c
):
42 if self
.thisown
== 1 :
43 misc2c
.delete_wxCaret(self
)
44 def IsOk(self
, *_args
, **_kwargs
):
45 val
= apply(misc2c
.wxCaret_IsOk
,(self
,) + _args
, _kwargs
)
47 def IsVisible(self
, *_args
, **_kwargs
):
48 val
= apply(misc2c
.wxCaret_IsVisible
,(self
,) + _args
, _kwargs
)
50 def GetPositionTuple(self
, *_args
, **_kwargs
):
51 val
= apply(misc2c
.wxCaret_GetPositionTuple
,(self
,) + _args
, _kwargs
)
53 def GetPosition(self
, *_args
, **_kwargs
):
54 val
= apply(misc2c
.wxCaret_GetPosition
,(self
,) + _args
, _kwargs
)
55 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
57 def GetSizeTuple(self
, *_args
, **_kwargs
):
58 val
= apply(misc2c
.wxCaret_GetSizeTuple
,(self
,) + _args
, _kwargs
)
60 def GetSize(self
, *_args
, **_kwargs
):
61 val
= apply(misc2c
.wxCaret_GetSize
,(self
,) + _args
, _kwargs
)
62 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
64 def GetWindow(self
, *_args
, **_kwargs
):
65 val
= apply(misc2c
.wxCaret_GetWindow
,(self
,) + _args
, _kwargs
)
66 if val
: val
= wxWindowPtr(val
)
68 def MoveXY(self
, *_args
, **_kwargs
):
69 val
= apply(misc2c
.wxCaret_MoveXY
,(self
,) + _args
, _kwargs
)
71 def Move(self
, *_args
, **_kwargs
):
72 val
= apply(misc2c
.wxCaret_Move
,(self
,) + _args
, _kwargs
)
74 def Show(self
, *_args
, **_kwargs
):
75 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
77 def Hide(self
, *_args
, **_kwargs
):
78 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
80 def OnSetFocus(self
, *_args
, **_kwargs
):
81 val
= apply(misc2c
.wxCaret_OnSetFocus
,(self
,) + _args
, _kwargs
)
83 def OnKillFocus(self
, *_args
, **_kwargs
):
84 val
= apply(misc2c
.wxCaret_OnKillFocus
,(self
,) + _args
, _kwargs
)
87 return "<C wxCaret instance at %s>" % (self
.this
,)
88 class wxCaret(wxCaretPtr
):
89 def __init__(self
,*_args
,**_kwargs
):
90 self
.this
= apply(misc2c
.new_wxCaret
,_args
,_kwargs
)
96 class wxFontEnumeratorPtr
:
97 def __init__(self
,this
):
100 def __del__(self
,misc2c
=misc2c
):
101 if self
.thisown
== 1 :
102 misc2c
.delete_wxFontEnumerator(self
)
103 def _setSelf(self
, *_args
, **_kwargs
):
104 val
= apply(misc2c
.wxFontEnumerator__setSelf
,(self
,) + _args
, _kwargs
)
106 def EnumerateFacenames(self
, *_args
, **_kwargs
):
107 val
= apply(misc2c
.wxFontEnumerator_EnumerateFacenames
,(self
,) + _args
, _kwargs
)
109 def EnumerateEncodings(self
, *_args
, **_kwargs
):
110 val
= apply(misc2c
.wxFontEnumerator_EnumerateEncodings
,(self
,) + _args
, _kwargs
)
112 def GetEncodings(self
, *_args
, **_kwargs
):
113 val
= apply(misc2c
.wxFontEnumerator_GetEncodings
,(self
,) + _args
, _kwargs
)
115 def GetFacenames(self
, *_args
, **_kwargs
):
116 val
= apply(misc2c
.wxFontEnumerator_GetFacenames
,(self
,) + _args
, _kwargs
)
119 return "<C wxFontEnumerator instance at %s>" % (self
.this
,)
120 class wxFontEnumerator(wxFontEnumeratorPtr
):
121 def __init__(self
,*_args
,**_kwargs
):
122 self
.this
= apply(misc2c
.new_wxFontEnumerator
,_args
,_kwargs
)
129 class wxBusyCursorPtr
:
130 def __init__(self
,this
):
133 def __del__(self
,misc2c
=misc2c
):
134 if self
.thisown
== 1 :
135 misc2c
.delete_wxBusyCursor(self
)
137 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
138 class wxBusyCursor(wxBusyCursorPtr
):
139 def __init__(self
,*_args
,**_kwargs
):
140 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
148 #-------------- FUNCTION WRAPPERS ------------------
150 wxFileSelector
= misc2c
.wxFileSelector
152 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
154 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
156 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
158 wxMessageBox
= misc2c
.wxMessageBox
160 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
162 wxColourDisplay
= misc2c
.wxColourDisplay
164 wxDisplayDepth
= misc2c
.wxDisplayDepth
166 wxSetCursor
= misc2c
.wxSetCursor
168 def wxFindWindowByLabel(*_args
, **_kwargs
):
169 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
170 if val
: val
= wxWindowPtr(val
)
173 def wxFindWindowByName(*_args
, **_kwargs
):
174 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
175 if val
: val
= wxWindowPtr(val
)
178 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
180 def wxGetActiveWindow(*_args
, **_kwargs
):
181 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
182 if val
: val
= wxWindowPtr(val
)
185 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
187 wxResourceClear
= misc2c
.wxResourceClear
189 def wxResourceCreateBitmap(*_args
, **_kwargs
):
190 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
191 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
194 def wxResourceCreateIcon(*_args
, **_kwargs
):
195 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
196 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
199 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
200 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
201 if val
: val
= wxMenuBarPtr(val
)
204 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
206 wxResourceParseData
= misc2c
.wxResourceParseData
208 wxResourceParseFile
= misc2c
.wxResourceParseFile
210 wxResourceParseString
= misc2c
.wxResourceParseString
212 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
213 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
214 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
217 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
218 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
219 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
222 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
224 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
226 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
228 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
230 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
232 wxPostEvent
= misc2c
.wxPostEvent
234 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
238 #-------------- VARIABLE WRAPPERS ------------------
240 wxSYS_WHITE_BRUSH
= misc2c
.wxSYS_WHITE_BRUSH
241 wxSYS_LTGRAY_BRUSH
= misc2c
.wxSYS_LTGRAY_BRUSH
242 wxSYS_GRAY_BRUSH
= misc2c
.wxSYS_GRAY_BRUSH
243 wxSYS_DKGRAY_BRUSH
= misc2c
.wxSYS_DKGRAY_BRUSH
244 wxSYS_BLACK_BRUSH
= misc2c
.wxSYS_BLACK_BRUSH
245 wxSYS_NULL_BRUSH
= misc2c
.wxSYS_NULL_BRUSH
246 wxSYS_HOLLOW_BRUSH
= misc2c
.wxSYS_HOLLOW_BRUSH
247 wxSYS_WHITE_PEN
= misc2c
.wxSYS_WHITE_PEN
248 wxSYS_BLACK_PEN
= misc2c
.wxSYS_BLACK_PEN
249 wxSYS_NULL_PEN
= misc2c
.wxSYS_NULL_PEN
250 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
251 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
252 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
253 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
254 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
255 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
256 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
257 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
258 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
259 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
260 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
261 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
262 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
263 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
264 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
265 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
266 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
267 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
268 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
269 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
270 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
271 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
272 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
273 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
274 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
275 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
276 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
277 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
278 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
279 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
280 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
281 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
282 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
283 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
284 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
285 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
286 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
287 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
288 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
289 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
290 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
291 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
292 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
293 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
294 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
295 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
296 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
297 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
298 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
299 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
300 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
301 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
302 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
303 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
304 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
305 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
306 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
307 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
308 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
309 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
310 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
311 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
312 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
313 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
314 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
315 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
316 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
317 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
318 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
319 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
320 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
321 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
322 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
323 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
324 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
325 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS