]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/misc2.py
Made SetType public to match MSW.
[wxWidgets.git] / utils / wxPython / src / gtk / 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
93
94 #-------------- FUNCTION WRAPPERS ------------------
95
96 wxFileSelector = misc2c.wxFileSelector
97
98 wxGetTextFromUser = misc2c.wxGetTextFromUser
99
100 wxGetSingleChoice = misc2c.wxGetSingleChoice
101
102 wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex
103
104 wxMessageBox = misc2c.wxMessageBox
105
106 wxGetNumberFromUser = misc2c.wxGetNumberFromUser
107
108 wxColourDisplay = misc2c.wxColourDisplay
109
110 wxDisplayDepth = misc2c.wxDisplayDepth
111
112 wxSetCursor = misc2c.wxSetCursor
113
114 def wxFindWindowByLabel(*_args, **_kwargs):
115 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
116 if val: val = wxWindowPtr(val)
117 return val
118
119 def wxFindWindowByName(*_args, **_kwargs):
120 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
121 if val: val = wxWindowPtr(val)
122 return val
123
124 wxBeginBusyCursor = misc2c.wxBeginBusyCursor
125
126 def wxGetActiveWindow(*_args, **_kwargs):
127 val = apply(misc2c.wxGetActiveWindow,_args,_kwargs)
128 if val: val = wxWindowPtr(val)
129 return val
130
131 wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier
132
133 wxResourceClear = misc2c.wxResourceClear
134
135 def wxResourceCreateBitmap(*_args, **_kwargs):
136 val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs)
137 if val: val = wxBitmapPtr(val); val.thisown = 1
138 return val
139
140 def wxResourceCreateIcon(*_args, **_kwargs):
141 val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs)
142 if val: val = wxIconPtr(val); val.thisown = 1
143 return val
144
145 def wxResourceCreateMenuBar(*_args, **_kwargs):
146 val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs)
147 if val: val = wxMenuBarPtr(val)
148 return val
149
150 wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier
151
152 wxResourceParseData = misc2c.wxResourceParseData
153
154 wxResourceParseFile = misc2c.wxResourceParseFile
155
156 wxResourceParseString = misc2c.wxResourceParseString
157
158 def wxSystemSettings_GetSystemColour(*_args, **_kwargs):
159 val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs)
160 if val: val = wxColourPtr(val); val.thisown = 1
161 return val
162
163 def wxSystemSettings_GetSystemFont(*_args, **_kwargs):
164 val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs)
165 if val: val = wxFontPtr(val); val.thisown = 1
166 return val
167
168 wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric
169
170 wxToolTip_Enable = misc2c.wxToolTip_Enable
171
172 wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
173
174 wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
175
176 wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
177
178
179
180 #-------------- VARIABLE WRAPPERS ------------------
181
182 wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH
183 wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH
184 wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH
185 wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH
186 wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH
187 wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH
188 wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH
189 wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN
190 wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN
191 wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN
192 wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT
193 wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT
194 wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT
195 wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT
196 wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT
197 wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE
198 wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT
199 wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT
200 wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR
201 wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND
202 wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION
203 wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION
204 wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU
205 wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW
206 wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME
207 wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT
208 wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT
209 wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT
210 wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER
211 wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER
212 wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE
213 wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT
214 wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT
215 wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE
216 wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW
217 wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT
218 wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT
219 wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT
220 wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT
221 wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW
222 wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT
223 wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT
224 wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK
225 wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP
226 wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE
227 wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW
228 wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT
229 wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT
230 wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT
231 wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS
232 wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X
233 wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y
234 wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X
235 wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y
236 wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X
237 wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y
238 wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X
239 wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y
240 wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X
241 wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y
242 wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X
243 wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y
244 wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X
245 wxSYS_ICON_X = misc2c.wxSYS_ICON_X
246 wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y
247 wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X
248 wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y
249 wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X
250 wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y
251 wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X
252 wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y
253 wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X
254 wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y
255 wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X
256 wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y
257 wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y
258 wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X
259 wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X
260 wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y
261 wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y
262 wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y
263 wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y
264 wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT
265 wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT
266 wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS
267 wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS