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 SetSizeWH(self
, *_args
, **_kwargs
):
75 val
= apply(misc2c
.wxCaret_SetSizeWH
,(self
,) + _args
, _kwargs
)
77 def SetSize(self
, *_args
, **_kwargs
):
78 val
= apply(misc2c
.wxCaret_SetSize
,(self
,) + _args
, _kwargs
)
80 def Show(self
, *_args
, **_kwargs
):
81 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
83 def Hide(self
, *_args
, **_kwargs
):
84 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
86 def OnSetFocus(self
, *_args
, **_kwargs
):
87 val
= apply(misc2c
.wxCaret_OnSetFocus
,(self
,) + _args
, _kwargs
)
89 def OnKillFocus(self
, *_args
, **_kwargs
):
90 val
= apply(misc2c
.wxCaret_OnKillFocus
,(self
,) + _args
, _kwargs
)
93 return "<C wxCaret instance at %s>" % (self
.this
,)
94 class wxCaret(wxCaretPtr
):
95 def __init__(self
,*_args
,**_kwargs
):
96 self
.this
= apply(misc2c
.new_wxCaret
,_args
,_kwargs
)
102 class wxFontEnumeratorPtr
:
103 def __init__(self
,this
):
106 def __del__(self
,misc2c
=misc2c
):
107 if self
.thisown
== 1 :
108 misc2c
.delete_wxFontEnumerator(self
)
109 def _setSelf(self
, *_args
, **_kwargs
):
110 val
= apply(misc2c
.wxFontEnumerator__setSelf
,(self
,) + _args
, _kwargs
)
112 def EnumerateFacenames(self
, *_args
, **_kwargs
):
113 val
= apply(misc2c
.wxFontEnumerator_EnumerateFacenames
,(self
,) + _args
, _kwargs
)
115 def EnumerateEncodings(self
, *_args
, **_kwargs
):
116 val
= apply(misc2c
.wxFontEnumerator_EnumerateEncodings
,(self
,) + _args
, _kwargs
)
118 def GetEncodings(self
, *_args
, **_kwargs
):
119 val
= apply(misc2c
.wxFontEnumerator_GetEncodings
,(self
,) + _args
, _kwargs
)
121 def GetFacenames(self
, *_args
, **_kwargs
):
122 val
= apply(misc2c
.wxFontEnumerator_GetFacenames
,(self
,) + _args
, _kwargs
)
125 return "<C wxFontEnumerator instance at %s>" % (self
.this
,)
126 class wxFontEnumerator(wxFontEnumeratorPtr
):
127 def __init__(self
,*_args
,**_kwargs
):
128 self
.this
= apply(misc2c
.new_wxFontEnumerator
,_args
,_kwargs
)
135 class wxBusyCursorPtr
:
136 def __init__(self
,this
):
139 def __del__(self
,misc2c
=misc2c
):
140 if self
.thisown
== 1 :
141 misc2c
.delete_wxBusyCursor(self
)
143 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
144 class wxBusyCursor(wxBusyCursorPtr
):
145 def __init__(self
,*_args
,**_kwargs
):
146 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
154 #-------------- FUNCTION WRAPPERS ------------------
156 wxFileSelector
= misc2c
.wxFileSelector
158 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
160 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
162 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
164 wxMessageBox
= misc2c
.wxMessageBox
166 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
168 wxColourDisplay
= misc2c
.wxColourDisplay
170 wxDisplayDepth
= misc2c
.wxDisplayDepth
172 wxSetCursor
= misc2c
.wxSetCursor
174 def wxFindWindowByLabel(*_args
, **_kwargs
):
175 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
176 if val
: val
= wxWindowPtr(val
)
179 def wxFindWindowByName(*_args
, **_kwargs
):
180 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
181 if val
: val
= wxWindowPtr(val
)
184 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
186 def wxGetActiveWindow(*_args
, **_kwargs
):
187 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
188 if val
: val
= wxWindowPtr(val
)
191 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
193 wxResourceClear
= misc2c
.wxResourceClear
195 def wxResourceCreateBitmap(*_args
, **_kwargs
):
196 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
197 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
200 def wxResourceCreateIcon(*_args
, **_kwargs
):
201 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
202 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
205 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
206 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
207 if val
: val
= wxMenuBarPtr(val
)
210 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
212 wxResourceParseData
= misc2c
.wxResourceParseData
214 wxResourceParseFile
= misc2c
.wxResourceParseFile
216 wxResourceParseString
= misc2c
.wxResourceParseString
218 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
219 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
220 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
223 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
224 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
225 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
228 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
230 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
232 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
234 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
236 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
238 wxPostEvent
= misc2c
.wxPostEvent
240 wxWakeUpIdle
= misc2c
.wxWakeUpIdle
244 #-------------- VARIABLE WRAPPERS ------------------
246 wxSYS_WHITE_BRUSH
= misc2c
.wxSYS_WHITE_BRUSH
247 wxSYS_LTGRAY_BRUSH
= misc2c
.wxSYS_LTGRAY_BRUSH
248 wxSYS_GRAY_BRUSH
= misc2c
.wxSYS_GRAY_BRUSH
249 wxSYS_DKGRAY_BRUSH
= misc2c
.wxSYS_DKGRAY_BRUSH
250 wxSYS_BLACK_BRUSH
= misc2c
.wxSYS_BLACK_BRUSH
251 wxSYS_NULL_BRUSH
= misc2c
.wxSYS_NULL_BRUSH
252 wxSYS_HOLLOW_BRUSH
= misc2c
.wxSYS_HOLLOW_BRUSH
253 wxSYS_WHITE_PEN
= misc2c
.wxSYS_WHITE_PEN
254 wxSYS_BLACK_PEN
= misc2c
.wxSYS_BLACK_PEN
255 wxSYS_NULL_PEN
= misc2c
.wxSYS_NULL_PEN
256 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
257 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
258 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
259 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
260 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
261 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
262 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
263 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
264 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
265 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
266 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
267 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
268 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
269 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
270 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
271 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
272 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
273 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
274 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
275 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
276 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
277 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
278 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
279 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
280 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
281 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
282 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
283 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
284 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
285 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
286 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
287 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
288 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
289 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
290 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
291 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
292 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
293 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
294 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
295 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
296 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
297 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
298 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
299 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
300 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
301 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
302 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
303 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
304 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
305 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
306 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
307 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
308 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
309 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
310 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
311 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
312 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
313 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
314 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
315 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
316 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
317 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
318 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
319 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
320 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
321 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
322 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
323 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
324 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
325 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
326 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
327 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
328 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
329 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
330 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
331 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS