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
)
113 return "<C wxFontEnumerator instance at %s>" % (self
.this
,)
114 class wxFontEnumerator(wxFontEnumeratorPtr
):
115 def __init__(self
,*_args
,**_kwargs
):
116 self
.this
= apply(misc2c
.new_wxFontEnumerator
,_args
,_kwargs
)
123 class wxBusyCursorPtr
:
124 def __init__(self
,this
):
127 def __del__(self
,misc2c
=misc2c
):
128 if self
.thisown
== 1 :
129 misc2c
.delete_wxBusyCursor(self
)
131 return "<C wxBusyCursor instance at %s>" % (self
.this
,)
132 class wxBusyCursor(wxBusyCursorPtr
):
133 def __init__(self
,*_args
,**_kwargs
):
134 self
.this
= apply(misc2c
.new_wxBusyCursor
,_args
,_kwargs
)
142 #-------------- FUNCTION WRAPPERS ------------------
144 wxFileSelector
= misc2c
.wxFileSelector
146 wxGetTextFromUser
= misc2c
.wxGetTextFromUser
148 wxGetSingleChoice
= misc2c
.wxGetSingleChoice
150 wxGetSingleChoiceIndex
= misc2c
.wxGetSingleChoiceIndex
152 wxMessageBox
= misc2c
.wxMessageBox
154 wxGetNumberFromUser
= misc2c
.wxGetNumberFromUser
156 wxColourDisplay
= misc2c
.wxColourDisplay
158 wxDisplayDepth
= misc2c
.wxDisplayDepth
160 wxSetCursor
= misc2c
.wxSetCursor
162 def wxFindWindowByLabel(*_args
, **_kwargs
):
163 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
164 if val
: val
= wxWindowPtr(val
)
167 def wxFindWindowByName(*_args
, **_kwargs
):
168 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
169 if val
: val
= wxWindowPtr(val
)
172 wxBeginBusyCursor
= misc2c
.wxBeginBusyCursor
174 def wxGetActiveWindow(*_args
, **_kwargs
):
175 val
= apply(misc2c
.wxGetActiveWindow
,_args
,_kwargs
)
176 if val
: val
= wxWindowPtr(val
)
179 wxResourceAddIdentifier
= misc2c
.wxResourceAddIdentifier
181 wxResourceClear
= misc2c
.wxResourceClear
183 def wxResourceCreateBitmap(*_args
, **_kwargs
):
184 val
= apply(misc2c
.wxResourceCreateBitmap
,_args
,_kwargs
)
185 if val
: val
= wxBitmapPtr(val
); val
.thisown
= 1
188 def wxResourceCreateIcon(*_args
, **_kwargs
):
189 val
= apply(misc2c
.wxResourceCreateIcon
,_args
,_kwargs
)
190 if val
: val
= wxIconPtr(val
); val
.thisown
= 1
193 def wxResourceCreateMenuBar(*_args
, **_kwargs
):
194 val
= apply(misc2c
.wxResourceCreateMenuBar
,_args
,_kwargs
)
195 if val
: val
= wxMenuBarPtr(val
)
198 wxResourceGetIdentifier
= misc2c
.wxResourceGetIdentifier
200 wxResourceParseData
= misc2c
.wxResourceParseData
202 wxResourceParseFile
= misc2c
.wxResourceParseFile
204 wxResourceParseString
= misc2c
.wxResourceParseString
206 def wxSystemSettings_GetSystemColour(*_args
, **_kwargs
):
207 val
= apply(misc2c
.wxSystemSettings_GetSystemColour
,_args
,_kwargs
)
208 if val
: val
= wxColourPtr(val
); val
.thisown
= 1
211 def wxSystemSettings_GetSystemFont(*_args
, **_kwargs
):
212 val
= apply(misc2c
.wxSystemSettings_GetSystemFont
,_args
,_kwargs
)
213 if val
: val
= wxFontPtr(val
); val
.thisown
= 1
216 wxSystemSettings_GetSystemMetric
= misc2c
.wxSystemSettings_GetSystemMetric
218 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
220 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
222 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
224 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
226 wxPostEvent
= misc2c
.wxPostEvent
230 #-------------- VARIABLE WRAPPERS ------------------
232 wxSYS_WHITE_BRUSH
= misc2c
.wxSYS_WHITE_BRUSH
233 wxSYS_LTGRAY_BRUSH
= misc2c
.wxSYS_LTGRAY_BRUSH
234 wxSYS_GRAY_BRUSH
= misc2c
.wxSYS_GRAY_BRUSH
235 wxSYS_DKGRAY_BRUSH
= misc2c
.wxSYS_DKGRAY_BRUSH
236 wxSYS_BLACK_BRUSH
= misc2c
.wxSYS_BLACK_BRUSH
237 wxSYS_NULL_BRUSH
= misc2c
.wxSYS_NULL_BRUSH
238 wxSYS_HOLLOW_BRUSH
= misc2c
.wxSYS_HOLLOW_BRUSH
239 wxSYS_WHITE_PEN
= misc2c
.wxSYS_WHITE_PEN
240 wxSYS_BLACK_PEN
= misc2c
.wxSYS_BLACK_PEN
241 wxSYS_NULL_PEN
= misc2c
.wxSYS_NULL_PEN
242 wxSYS_OEM_FIXED_FONT
= misc2c
.wxSYS_OEM_FIXED_FONT
243 wxSYS_ANSI_FIXED_FONT
= misc2c
.wxSYS_ANSI_FIXED_FONT
244 wxSYS_ANSI_VAR_FONT
= misc2c
.wxSYS_ANSI_VAR_FONT
245 wxSYS_SYSTEM_FONT
= misc2c
.wxSYS_SYSTEM_FONT
246 wxSYS_DEVICE_DEFAULT_FONT
= misc2c
.wxSYS_DEVICE_DEFAULT_FONT
247 wxSYS_DEFAULT_PALETTE
= misc2c
.wxSYS_DEFAULT_PALETTE
248 wxSYS_SYSTEM_FIXED_FONT
= misc2c
.wxSYS_SYSTEM_FIXED_FONT
249 wxSYS_DEFAULT_GUI_FONT
= misc2c
.wxSYS_DEFAULT_GUI_FONT
250 wxSYS_COLOUR_SCROLLBAR
= misc2c
.wxSYS_COLOUR_SCROLLBAR
251 wxSYS_COLOUR_BACKGROUND
= misc2c
.wxSYS_COLOUR_BACKGROUND
252 wxSYS_COLOUR_ACTIVECAPTION
= misc2c
.wxSYS_COLOUR_ACTIVECAPTION
253 wxSYS_COLOUR_INACTIVECAPTION
= misc2c
.wxSYS_COLOUR_INACTIVECAPTION
254 wxSYS_COLOUR_MENU
= misc2c
.wxSYS_COLOUR_MENU
255 wxSYS_COLOUR_WINDOW
= misc2c
.wxSYS_COLOUR_WINDOW
256 wxSYS_COLOUR_WINDOWFRAME
= misc2c
.wxSYS_COLOUR_WINDOWFRAME
257 wxSYS_COLOUR_MENUTEXT
= misc2c
.wxSYS_COLOUR_MENUTEXT
258 wxSYS_COLOUR_WINDOWTEXT
= misc2c
.wxSYS_COLOUR_WINDOWTEXT
259 wxSYS_COLOUR_CAPTIONTEXT
= misc2c
.wxSYS_COLOUR_CAPTIONTEXT
260 wxSYS_COLOUR_ACTIVEBORDER
= misc2c
.wxSYS_COLOUR_ACTIVEBORDER
261 wxSYS_COLOUR_INACTIVEBORDER
= misc2c
.wxSYS_COLOUR_INACTIVEBORDER
262 wxSYS_COLOUR_APPWORKSPACE
= misc2c
.wxSYS_COLOUR_APPWORKSPACE
263 wxSYS_COLOUR_HIGHLIGHT
= misc2c
.wxSYS_COLOUR_HIGHLIGHT
264 wxSYS_COLOUR_HIGHLIGHTTEXT
= misc2c
.wxSYS_COLOUR_HIGHLIGHTTEXT
265 wxSYS_COLOUR_BTNFACE
= misc2c
.wxSYS_COLOUR_BTNFACE
266 wxSYS_COLOUR_BTNSHADOW
= misc2c
.wxSYS_COLOUR_BTNSHADOW
267 wxSYS_COLOUR_GRAYTEXT
= misc2c
.wxSYS_COLOUR_GRAYTEXT
268 wxSYS_COLOUR_BTNTEXT
= misc2c
.wxSYS_COLOUR_BTNTEXT
269 wxSYS_COLOUR_INACTIVECAPTIONTEXT
= misc2c
.wxSYS_COLOUR_INACTIVECAPTIONTEXT
270 wxSYS_COLOUR_BTNHIGHLIGHT
= misc2c
.wxSYS_COLOUR_BTNHIGHLIGHT
271 wxSYS_COLOUR_3DDKSHADOW
= misc2c
.wxSYS_COLOUR_3DDKSHADOW
272 wxSYS_COLOUR_3DLIGHT
= misc2c
.wxSYS_COLOUR_3DLIGHT
273 wxSYS_COLOUR_INFOTEXT
= misc2c
.wxSYS_COLOUR_INFOTEXT
274 wxSYS_COLOUR_INFOBK
= misc2c
.wxSYS_COLOUR_INFOBK
275 wxSYS_COLOUR_DESKTOP
= misc2c
.wxSYS_COLOUR_DESKTOP
276 wxSYS_COLOUR_3DFACE
= misc2c
.wxSYS_COLOUR_3DFACE
277 wxSYS_COLOUR_3DSHADOW
= misc2c
.wxSYS_COLOUR_3DSHADOW
278 wxSYS_COLOUR_3DHIGHLIGHT
= misc2c
.wxSYS_COLOUR_3DHIGHLIGHT
279 wxSYS_COLOUR_3DHILIGHT
= misc2c
.wxSYS_COLOUR_3DHILIGHT
280 wxSYS_COLOUR_BTNHILIGHT
= misc2c
.wxSYS_COLOUR_BTNHILIGHT
281 wxSYS_MOUSE_BUTTONS
= misc2c
.wxSYS_MOUSE_BUTTONS
282 wxSYS_BORDER_X
= misc2c
.wxSYS_BORDER_X
283 wxSYS_BORDER_Y
= misc2c
.wxSYS_BORDER_Y
284 wxSYS_CURSOR_X
= misc2c
.wxSYS_CURSOR_X
285 wxSYS_CURSOR_Y
= misc2c
.wxSYS_CURSOR_Y
286 wxSYS_DCLICK_X
= misc2c
.wxSYS_DCLICK_X
287 wxSYS_DCLICK_Y
= misc2c
.wxSYS_DCLICK_Y
288 wxSYS_DRAG_X
= misc2c
.wxSYS_DRAG_X
289 wxSYS_DRAG_Y
= misc2c
.wxSYS_DRAG_Y
290 wxSYS_EDGE_X
= misc2c
.wxSYS_EDGE_X
291 wxSYS_EDGE_Y
= misc2c
.wxSYS_EDGE_Y
292 wxSYS_HSCROLL_ARROW_X
= misc2c
.wxSYS_HSCROLL_ARROW_X
293 wxSYS_HSCROLL_ARROW_Y
= misc2c
.wxSYS_HSCROLL_ARROW_Y
294 wxSYS_HTHUMB_X
= misc2c
.wxSYS_HTHUMB_X
295 wxSYS_ICON_X
= misc2c
.wxSYS_ICON_X
296 wxSYS_ICON_Y
= misc2c
.wxSYS_ICON_Y
297 wxSYS_ICONSPACING_X
= misc2c
.wxSYS_ICONSPACING_X
298 wxSYS_ICONSPACING_Y
= misc2c
.wxSYS_ICONSPACING_Y
299 wxSYS_WINDOWMIN_X
= misc2c
.wxSYS_WINDOWMIN_X
300 wxSYS_WINDOWMIN_Y
= misc2c
.wxSYS_WINDOWMIN_Y
301 wxSYS_SCREEN_X
= misc2c
.wxSYS_SCREEN_X
302 wxSYS_SCREEN_Y
= misc2c
.wxSYS_SCREEN_Y
303 wxSYS_FRAMESIZE_X
= misc2c
.wxSYS_FRAMESIZE_X
304 wxSYS_FRAMESIZE_Y
= misc2c
.wxSYS_FRAMESIZE_Y
305 wxSYS_SMALLICON_X
= misc2c
.wxSYS_SMALLICON_X
306 wxSYS_SMALLICON_Y
= misc2c
.wxSYS_SMALLICON_Y
307 wxSYS_HSCROLL_Y
= misc2c
.wxSYS_HSCROLL_Y
308 wxSYS_VSCROLL_X
= misc2c
.wxSYS_VSCROLL_X
309 wxSYS_VSCROLL_ARROW_X
= misc2c
.wxSYS_VSCROLL_ARROW_X
310 wxSYS_VSCROLL_ARROW_Y
= misc2c
.wxSYS_VSCROLL_ARROW_Y
311 wxSYS_VTHUMB_Y
= misc2c
.wxSYS_VTHUMB_Y
312 wxSYS_CAPTION_Y
= misc2c
.wxSYS_CAPTION_Y
313 wxSYS_MENU_Y
= misc2c
.wxSYS_MENU_Y
314 wxSYS_NETWORK_PRESENT
= misc2c
.wxSYS_NETWORK_PRESENT
315 wxSYS_PENWINDOWS_PRESENT
= misc2c
.wxSYS_PENWINDOWS_PRESENT
316 wxSYS_SHOW_SOUNDS
= misc2c
.wxSYS_SHOW_SOUNDS
317 wxSYS_SWAP_BUTTONS
= misc2c
.wxSYS_SWAP_BUTTONS