]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/misc2.py
Added wxPython support of new HTML Printing classes.
[wxWidgets.git] / utils / wxPython / src / msw / misc2.py
1 # This file was created automatically by SWIG.
2 import misc2c
3
4 from windows import *
5
6 from misc import *
7
8 from gdi import *
9 class wxToolTipPtr :
10 def __init__(self,this):
11 self.this = this
12 self.thisown = 0
13 def SetTip(self, *_args, **_kwargs):
14 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
15 return val
16 def GetTip(self, *_args, **_kwargs):
17 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
18 return val
19 def GetWindow(self, *_args, **_kwargs):
20 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
21 if val: val = wxWindowPtr(val)
22 return val
23 def __repr__(self):
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)
28 self.thisown = 1
29
30
31
32
33 class wxCaretPtr :
34 def __init__(self,this):
35 self.this = this
36 self.thisown = 0
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)
42 return val
43 def IsVisible(self, *_args, **_kwargs):
44 val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs)
45 return val
46 def GetPositionTuple(self, *_args, **_kwargs):
47 val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs)
48 return val
49 def GetPosition(self, *_args, **_kwargs):
50 val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs)
51 if val: val = wxPointPtr(val) ; val.thisown = 1
52 return val
53 def GetSizeTuple(self, *_args, **_kwargs):
54 val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs)
55 return val
56 def GetSize(self, *_args, **_kwargs):
57 val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs)
58 if val: val = wxSizePtr(val) ; val.thisown = 1
59 return val
60 def GetWindow(self, *_args, **_kwargs):
61 val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs)
62 if val: val = wxWindowPtr(val)
63 return val
64 def MoveXY(self, *_args, **_kwargs):
65 val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs)
66 return val
67 def Move(self, *_args, **_kwargs):
68 val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs)
69 return val
70 def Show(self, *_args, **_kwargs):
71 val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs)
72 return val
73 def Hide(self, *_args, **_kwargs):
74 val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs)
75 return val
76 def OnSetFocus(self, *_args, **_kwargs):
77 val = apply(misc2c.wxCaret_OnSetFocus,(self,) + _args, _kwargs)
78 return val
79 def OnKillFocus(self, *_args, **_kwargs):
80 val = apply(misc2c.wxCaret_OnKillFocus,(self,) + _args, _kwargs)
81 return val
82 def __repr__(self):
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)
87 self.thisown = 1
88
89
90
91
92 class wxBusyCursorPtr :
93 def __init__(self,this):
94 self.this = this
95 self.thisown = 0
96 def __del__(self,misc2c=misc2c):
97 if self.thisown == 1 :
98 misc2c.delete_wxBusyCursor(self)
99 def __repr__(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)
104 self.thisown = 1
105
106
107
108
109
110
111 #-------------- FUNCTION WRAPPERS ------------------
112
113 wxFileSelector = misc2c.wxFileSelector
114
115 wxGetTextFromUser = misc2c.wxGetTextFromUser
116
117 wxGetSingleChoice = misc2c.wxGetSingleChoice
118
119 wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
120
121 wxMessageBox = misc2c.wxMessageBox
122
123 wxGetNumberFromUser = misc2c.wxGetNumberFromUser
124
125 wxColourDisplay = misc2c.wxColourDisplay
126
127 wxDisplayDepth = misc2c.wxDisplayDepth
128
129 wxSetCursor = misc2c.wxSetCursor
130
131 def wxFindWindowByLabel(*_args, **_kwargs):
132 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
133 if val: val = wxWindowPtr(val)
134 return val
135
136 def wxFindWindowByName(*_args, **_kwargs):
137 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
138 if val: val = wxWindowPtr(val)
139 return val
140
141 wxBeginBusyCursor = misc2c.wxBeginBusyCursor
142
143 def wxGetActiveWindow(*_args, **_kwargs):
144 val = apply(misc2c.wxGetActiveWindow,_args,_kwargs)
145 if val: val = wxWindowPtr(val)
146 return val
147
148 wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
149
150 wxResourceClear = misc2c.wxResourceClear
151
152 def wxResourceCreateBitmap(*_args, **_kwargs):
153 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
154 if val: val = wxBitmapPtr(val); val.thisown = 1
155 return val
156
157 def wxResourceCreateIcon(*_args, **_kwargs):
158 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
159 if val: val = wxIconPtr(val); val.thisown = 1
160 return val
161
162 def wxResourceCreateMenuBar(*_args, **_kwargs):
163 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
164 if val: val = wxMenuBarPtr(val)
165 return val
166
167 wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
168
169 wxResourceParseData = misc2c.wxResourceParseData
170
171 wxResourceParseFile = misc2c.wxResourceParseFile
172
173 wxResourceParseString = misc2c.wxResourceParseString
174
175 def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
176 val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs)
177 if val: val = wxColourPtr(val); val.thisown = 1
178 return val
179
180 def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
181 val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs)
182 if val: val = wxFontPtr(val); val.thisown = 1
183 return val
184
185 wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric
186
187 wxToolTip_Enable = misc2c.wxToolTip_Enable
188
189 wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
190
191 wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
192
193 wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
194
195
196
197 #-------------- VARIABLE WRAPPERS ------------------
198
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