]> Dogcows Code - chaz/openbox/blob - src/openbox.py
d0679ba23620d01f388981f89b1b833848bdd069
[chaz/openbox] / src / openbox.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3 # This file is compatible with both classic and new-style classes.
4 import _openbox
5 def _swig_setattr(self,class_type,name,value):
6 if (name == "this"):
7 if isinstance(value, class_type):
8 self.__dict__[name] = value.this
9 if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
10 del value.thisown
11 return
12 method = class_type.__swig_setmethods__.get(name,None)
13 if method: return method(self,value)
14 self.__dict__[name] = value
15
16 def _swig_getattr(self,class_type,name):
17 method = class_type.__swig_getmethods__.get(name,None)
18 if method: return method(self)
19 raise AttributeError,name
20
21 import types
22 try:
23 _object = types.ObjectType
24 _newclass = 1
25 except AttributeError:
26 class _object : pass
27 _newclass = 0
28
29
30 Openbox_instance = _openbox.Openbox_instance
31
32 OBDisplay_display = _openbox.OBDisplay_display
33
34 class OtkEventDispatcher(_object):
35 __swig_setmethods__ = {}
36 __setattr__ = lambda self, name, value: _swig_setattr(self, OtkEventDispatcher, name, value)
37 __swig_getmethods__ = {}
38 __getattr__ = lambda self, name: _swig_getattr(self, OtkEventDispatcher, name)
39 def __init__(self,*args):
40 self.this = apply(_openbox.new_OtkEventDispatcher,args)
41 self.thisown = 1
42 def __del__(self, destroy= _openbox.delete_OtkEventDispatcher):
43 try:
44 if self.thisown: destroy(self)
45 except: pass
46 def clearAllHandlers(*args): return apply(_openbox.OtkEventDispatcher_clearAllHandlers,args)
47 def registerHandler(*args): return apply(_openbox.OtkEventDispatcher_registerHandler,args)
48 def clearHandler(*args): return apply(_openbox.OtkEventDispatcher_clearHandler,args)
49 def dispatchEvents(*args): return apply(_openbox.OtkEventDispatcher_dispatchEvents,args)
50 def setFallbackHandler(*args): return apply(_openbox.OtkEventDispatcher_setFallbackHandler,args)
51 def getFallbackHandler(*args): return apply(_openbox.OtkEventDispatcher_getFallbackHandler,args)
52 def setMasterHandler(*args): return apply(_openbox.OtkEventDispatcher_setMasterHandler,args)
53 def getMasterHandler(*args): return apply(_openbox.OtkEventDispatcher_getMasterHandler,args)
54 def findHandler(*args): return apply(_openbox.OtkEventDispatcher_findHandler,args)
55 def lastTime(*args): return apply(_openbox.OtkEventDispatcher_lastTime,args)
56 def __repr__(self):
57 return "<C OtkEventDispatcher instance at %s>" % (self.this,)
58
59 class OtkEventDispatcherPtr(OtkEventDispatcher):
60 def __init__(self,this):
61 self.this = this
62 if not hasattr(self,"thisown"): self.thisown = 0
63 self.__class__ = OtkEventDispatcher
64 _openbox.OtkEventDispatcher_swigregister(OtkEventDispatcherPtr)
65
66 class OtkEventHandler(_object):
67 __swig_setmethods__ = {}
68 __setattr__ = lambda self, name, value: _swig_setattr(self, OtkEventHandler, name, value)
69 __swig_getmethods__ = {}
70 __getattr__ = lambda self, name: _swig_getattr(self, OtkEventHandler, name)
71 def handle(*args): return apply(_openbox.OtkEventHandler_handle,args)
72 def keyPressHandler(*args): return apply(_openbox.OtkEventHandler_keyPressHandler,args)
73 def keyReleaseHandler(*args): return apply(_openbox.OtkEventHandler_keyReleaseHandler,args)
74 def buttonPressHandler(*args): return apply(_openbox.OtkEventHandler_buttonPressHandler,args)
75 def buttonReleaseHandler(*args): return apply(_openbox.OtkEventHandler_buttonReleaseHandler,args)
76 def motionHandler(*args): return apply(_openbox.OtkEventHandler_motionHandler,args)
77 def enterHandler(*args): return apply(_openbox.OtkEventHandler_enterHandler,args)
78 def leaveHandler(*args): return apply(_openbox.OtkEventHandler_leaveHandler,args)
79 def focusHandler(*args): return apply(_openbox.OtkEventHandler_focusHandler,args)
80 def unfocusHandler(*args): return apply(_openbox.OtkEventHandler_unfocusHandler,args)
81 def exposeHandler(*args): return apply(_openbox.OtkEventHandler_exposeHandler,args)
82 def graphicsExposeHandler(*args): return apply(_openbox.OtkEventHandler_graphicsExposeHandler,args)
83 def noExposeEventHandler(*args): return apply(_openbox.OtkEventHandler_noExposeEventHandler,args)
84 def circulateRequestHandler(*args): return apply(_openbox.OtkEventHandler_circulateRequestHandler,args)
85 def configureRequestHandler(*args): return apply(_openbox.OtkEventHandler_configureRequestHandler,args)
86 def mapRequestHandler(*args): return apply(_openbox.OtkEventHandler_mapRequestHandler,args)
87 def resizeRequestHandler(*args): return apply(_openbox.OtkEventHandler_resizeRequestHandler,args)
88 def circulateHandler(*args): return apply(_openbox.OtkEventHandler_circulateHandler,args)
89 def configureHandler(*args): return apply(_openbox.OtkEventHandler_configureHandler,args)
90 def createHandler(*args): return apply(_openbox.OtkEventHandler_createHandler,args)
91 def destroyHandler(*args): return apply(_openbox.OtkEventHandler_destroyHandler,args)
92 def gravityHandler(*args): return apply(_openbox.OtkEventHandler_gravityHandler,args)
93 def mapHandler(*args): return apply(_openbox.OtkEventHandler_mapHandler,args)
94 def mappingHandler(*args): return apply(_openbox.OtkEventHandler_mappingHandler,args)
95 def reparentHandler(*args): return apply(_openbox.OtkEventHandler_reparentHandler,args)
96 def unmapHandler(*args): return apply(_openbox.OtkEventHandler_unmapHandler,args)
97 def visibilityHandler(*args): return apply(_openbox.OtkEventHandler_visibilityHandler,args)
98 def colorMapHandler(*args): return apply(_openbox.OtkEventHandler_colorMapHandler,args)
99 def propertyHandler(*args): return apply(_openbox.OtkEventHandler_propertyHandler,args)
100 def selectionClearHandler(*args): return apply(_openbox.OtkEventHandler_selectionClearHandler,args)
101 def selectionHandler(*args): return apply(_openbox.OtkEventHandler_selectionHandler,args)
102 def selectionRequestHandler(*args): return apply(_openbox.OtkEventHandler_selectionRequestHandler,args)
103 def clientMessageHandler(*args): return apply(_openbox.OtkEventHandler_clientMessageHandler,args)
104 def __del__(self, destroy= _openbox.delete_OtkEventHandler):
105 try:
106 if self.thisown: destroy(self)
107 except: pass
108 def __init__(self): raise RuntimeError, "No constructor defined"
109 def __repr__(self):
110 return "<C OtkEventHandler instance at %s>" % (self.this,)
111
112 class OtkEventHandlerPtr(OtkEventHandler):
113 def __init__(self,this):
114 self.this = this
115 if not hasattr(self,"thisown"): self.thisown = 0
116 self.__class__ = OtkEventHandler
117 _openbox.OtkEventHandler_swigregister(OtkEventHandlerPtr)
118
119 class OtkWidget(OtkEventHandler):
120 __swig_setmethods__ = {}
121 for _s in [OtkEventHandler]: __swig_setmethods__.update(_s.__swig_setmethods__)
122 __setattr__ = lambda self, name, value: _swig_setattr(self, OtkWidget, name, value)
123 __swig_getmethods__ = {}
124 for _s in [OtkEventHandler]: __swig_getmethods__.update(_s.__swig_getmethods__)
125 __getattr__ = lambda self, name: _swig_getattr(self, OtkWidget, name)
126 Horizontal = _openbox.OtkWidget_Horizontal
127 Vertical = _openbox.OtkWidget_Vertical
128 def __init__(self,*args):
129 self.this = apply(_openbox.new_OtkWidget,args)
130 self.thisown = 1
131 def __del__(self, destroy= _openbox.delete_OtkWidget):
132 try:
133 if self.thisown: destroy(self)
134 except: pass
135 def update(*args): return apply(_openbox.OtkWidget_update,args)
136 def exposeHandler(*args): return apply(_openbox.OtkWidget_exposeHandler,args)
137 def configureHandler(*args): return apply(_openbox.OtkWidget_configureHandler,args)
138 def window(*args): return apply(_openbox.OtkWidget_window,args)
139 def parent(*args): return apply(_openbox.OtkWidget_parent,args)
140 def children(*args): return apply(_openbox.OtkWidget_children,args)
141 def screen(*args): return apply(_openbox.OtkWidget_screen,args)
142 def rect(*args): return apply(_openbox.OtkWidget_rect,args)
143 def move(*args): return apply(_openbox.OtkWidget_move,args)
144 def setWidth(*args): return apply(_openbox.OtkWidget_setWidth,args)
145 def setHeight(*args): return apply(_openbox.OtkWidget_setHeight,args)
146 def width(*args): return apply(_openbox.OtkWidget_width,args)
147 def height(*args): return apply(_openbox.OtkWidget_height,args)
148 def resize(*args): return apply(_openbox.OtkWidget_resize,args)
149 def setGeometry(*args): return apply(_openbox.OtkWidget_setGeometry,args)
150 def isVisible(*args): return apply(_openbox.OtkWidget_isVisible,args)
151 def show(*args): return apply(_openbox.OtkWidget_show,args)
152 def hide(*args): return apply(_openbox.OtkWidget_hide,args)
153 def isFocused(*args): return apply(_openbox.OtkWidget_isFocused,args)
154 def focus(*args): return apply(_openbox.OtkWidget_focus,args)
155 def unfocus(*args): return apply(_openbox.OtkWidget_unfocus,args)
156 def hasGrabbedMouse(*args): return apply(_openbox.OtkWidget_hasGrabbedMouse,args)
157 def grabMouse(*args): return apply(_openbox.OtkWidget_grabMouse,args)
158 def ungrabMouse(*args): return apply(_openbox.OtkWidget_ungrabMouse,args)
159 def hasGrabbedKeyboard(*args): return apply(_openbox.OtkWidget_hasGrabbedKeyboard,args)
160 def grabKeyboard(*args): return apply(_openbox.OtkWidget_grabKeyboard,args)
161 def ungrabKeyboard(*args): return apply(_openbox.OtkWidget_ungrabKeyboard,args)
162 def texture(*args): return apply(_openbox.OtkWidget_texture,args)
163 def setTexture(*args): return apply(_openbox.OtkWidget_setTexture,args)
164 def borderColor(*args): return apply(_openbox.OtkWidget_borderColor,args)
165 def setBorderColor(*args): return apply(_openbox.OtkWidget_setBorderColor,args)
166 def borderWidth(*args): return apply(_openbox.OtkWidget_borderWidth,args)
167 def setBorderWidth(*args): return apply(_openbox.OtkWidget_setBorderWidth,args)
168 def addChild(*args): return apply(_openbox.OtkWidget_addChild,args)
169 def removeChild(*args): return apply(_openbox.OtkWidget_removeChild,args)
170 def isStretchableHorz(*args): return apply(_openbox.OtkWidget_isStretchableHorz,args)
171 def setStretchableHorz(*args): return apply(_openbox.OtkWidget_setStretchableHorz,args)
172 def isStretchableVert(*args): return apply(_openbox.OtkWidget_isStretchableVert,args)
173 def setStretchableVert(*args): return apply(_openbox.OtkWidget_setStretchableVert,args)
174 def cursor(*args): return apply(_openbox.OtkWidget_cursor,args)
175 def setCursor(*args): return apply(_openbox.OtkWidget_setCursor,args)
176 def bevelWidth(*args): return apply(_openbox.OtkWidget_bevelWidth,args)
177 def setBevelWidth(*args): return apply(_openbox.OtkWidget_setBevelWidth,args)
178 def direction(*args): return apply(_openbox.OtkWidget_direction,args)
179 def setDirection(*args): return apply(_openbox.OtkWidget_setDirection,args)
180 def style(*args): return apply(_openbox.OtkWidget_style,args)
181 def setStyle(*args): return apply(_openbox.OtkWidget_setStyle,args)
182 def eventDispatcher(*args): return apply(_openbox.OtkWidget_eventDispatcher,args)
183 def setEventDispatcher(*args): return apply(_openbox.OtkWidget_setEventDispatcher,args)
184 def __repr__(self):
185 return "<C OtkWidget instance at %s>" % (self.this,)
186
187 class OtkWidgetPtr(OtkWidget):
188 def __init__(self,this):
189 self.this = this
190 if not hasattr(self,"thisown"): self.thisown = 0
191 self.__class__ = OtkWidget
192 _openbox.OtkWidget_swigregister(OtkWidgetPtr)
193
194 class OtkFocusWidget(OtkWidget):
195 __swig_setmethods__ = {}
196 for _s in [OtkWidget]: __swig_setmethods__.update(_s.__swig_setmethods__)
197 __setattr__ = lambda self, name, value: _swig_setattr(self, OtkFocusWidget, name, value)
198 __swig_getmethods__ = {}
199 for _s in [OtkWidget]: __swig_getmethods__.update(_s.__swig_getmethods__)
200 __getattr__ = lambda self, name: _swig_getattr(self, OtkFocusWidget, name)
201 def __init__(self,*args):
202 self.this = apply(_openbox.new_OtkFocusWidget,args)
203 self.thisown = 1
204 def __del__(self, destroy= _openbox.delete_OtkFocusWidget):
205 try:
206 if self.thisown: destroy(self)
207 except: pass
208 def focus(*args): return apply(_openbox.OtkFocusWidget_focus,args)
209 def unfocus(*args): return apply(_openbox.OtkFocusWidget_unfocus,args)
210 def setTexture(*args): return apply(_openbox.OtkFocusWidget_setTexture,args)
211 def setBorderColor(*args): return apply(_openbox.OtkFocusWidget_setBorderColor,args)
212 def setUnfocusTexture(*args): return apply(_openbox.OtkFocusWidget_setUnfocusTexture,args)
213 def getUnfocusTexture(*args): return apply(_openbox.OtkFocusWidget_getUnfocusTexture,args)
214 def setUnfocusBorderColor(*args): return apply(_openbox.OtkFocusWidget_setUnfocusBorderColor,args)
215 def getUnfocusBorderColor(*args): return apply(_openbox.OtkFocusWidget_getUnfocusBorderColor,args)
216 def isFocused(*args): return apply(_openbox.OtkFocusWidget_isFocused,args)
217 def isUnfocused(*args): return apply(_openbox.OtkFocusWidget_isUnfocused,args)
218 def __repr__(self):
219 return "<C OtkFocusWidget instance at %s>" % (self.this,)
220
221 class OtkFocusWidgetPtr(OtkFocusWidget):
222 def __init__(self,this):
223 self.this = this
224 if not hasattr(self,"thisown"): self.thisown = 0
225 self.__class__ = OtkFocusWidget
226 _openbox.OtkFocusWidget_swigregister(OtkFocusWidgetPtr)
227
228 class OtkFocusLabel(OtkFocusWidget):
229 __swig_setmethods__ = {}
230 for _s in [OtkFocusWidget]: __swig_setmethods__.update(_s.__swig_setmethods__)
231 __setattr__ = lambda self, name, value: _swig_setattr(self, OtkFocusLabel, name, value)
232 __swig_getmethods__ = {}
233 for _s in [OtkFocusWidget]: __swig_getmethods__.update(_s.__swig_getmethods__)
234 __getattr__ = lambda self, name: _swig_getattr(self, OtkFocusLabel, name)
235 def __init__(self,*args):
236 self.this = apply(_openbox.new_OtkFocusLabel,args)
237 self.thisown = 1
238 def __del__(self, destroy= _openbox.delete_OtkFocusLabel):
239 try:
240 if self.thisown: destroy(self)
241 except: pass
242 def getText(*args): return apply(_openbox.OtkFocusLabel_getText,args)
243 def setText(*args): return apply(_openbox.OtkFocusLabel_setText,args)
244 def update(*args): return apply(_openbox.OtkFocusLabel_update,args)
245 def setStyle(*args): return apply(_openbox.OtkFocusLabel_setStyle,args)
246 def __repr__(self):
247 return "<C OtkFocusLabel instance at %s>" % (self.this,)
248
249 class OtkFocusLabelPtr(OtkFocusLabel):
250 def __init__(self,this):
251 self.this = this
252 if not hasattr(self,"thisown"): self.thisown = 0
253 self.__class__ = OtkFocusLabel
254 _openbox.OtkFocusLabel_swigregister(OtkFocusLabelPtr)
255
256 class OtkAppWidget(OtkWidget):
257 __swig_setmethods__ = {}
258 for _s in [OtkWidget]: __swig_setmethods__.update(_s.__swig_setmethods__)
259 __setattr__ = lambda self, name, value: _swig_setattr(self, OtkAppWidget, name, value)
260 __swig_getmethods__ = {}
261 for _s in [OtkWidget]: __swig_getmethods__.update(_s.__swig_getmethods__)
262 __getattr__ = lambda self, name: _swig_getattr(self, OtkAppWidget, name)
263 def __init__(self,*args):
264 self.this = apply(_openbox.new_OtkAppWidget,args)
265 self.thisown = 1
266 def __del__(self, destroy= _openbox.delete_OtkAppWidget):
267 try:
268 if self.thisown: destroy(self)
269 except: pass
270 def show(*args): return apply(_openbox.OtkAppWidget_show,args)
271 def hide(*args): return apply(_openbox.OtkAppWidget_hide,args)
272 def clientMessageHandler(*args): return apply(_openbox.OtkAppWidget_clientMessageHandler,args)
273 def __repr__(self):
274 return "<C OtkAppWidget instance at %s>" % (self.this,)
275
276 class OtkAppWidgetPtr(OtkAppWidget):
277 def __init__(self,this):
278 self.this = this
279 if not hasattr(self,"thisown"): self.thisown = 0
280 self.__class__ = OtkAppWidget
281 _openbox.OtkAppWidget_swigregister(OtkAppWidgetPtr)
282
283 class OtkApplication(OtkEventDispatcher):
284 __swig_setmethods__ = {}
285 for _s in [OtkEventDispatcher]: __swig_setmethods__.update(_s.__swig_setmethods__)
286 __setattr__ = lambda self, name, value: _swig_setattr(self, OtkApplication, name, value)
287 __swig_getmethods__ = {}
288 for _s in [OtkEventDispatcher]: __swig_getmethods__.update(_s.__swig_getmethods__)
289 __getattr__ = lambda self, name: _swig_getattr(self, OtkApplication, name)
290 def __init__(self,*args):
291 self.this = apply(_openbox.new_OtkApplication,args)
292 self.thisown = 1
293 def __del__(self, destroy= _openbox.delete_OtkApplication):
294 try:
295 if self.thisown: destroy(self)
296 except: pass
297 def run(*args): return apply(_openbox.OtkApplication_run,args)
298 def setDockable(*args): return apply(_openbox.OtkApplication_setDockable,args)
299 def isDockable(*args): return apply(_openbox.OtkApplication_isDockable,args)
300 def getStyle(*args): return apply(_openbox.OtkApplication_getStyle,args)
301 def __repr__(self):
302 return "<C OtkApplication instance at %s>" % (self.this,)
303
304 class OtkApplicationPtr(OtkApplication):
305 def __init__(self,this):
306 self.this = this
307 if not hasattr(self,"thisown"): self.thisown = 0
308 self.__class__ = OtkApplication
309 _openbox.OtkApplication_swigregister(OtkApplicationPtr)
310
311 class PointerAssassin(_object):
312 __swig_setmethods__ = {}
313 __setattr__ = lambda self, name, value: _swig_setattr(self, PointerAssassin, name, value)
314 __swig_getmethods__ = {}
315 __getattr__ = lambda self, name: _swig_getattr(self, PointerAssassin, name)
316 def __init__(self): raise RuntimeError, "No constructor defined"
317 def __repr__(self):
318 return "<C PointerAssassin instance at %s>" % (self.this,)
319
320 class PointerAssassinPtr(PointerAssassin):
321 def __init__(self,this):
322 self.this = this
323 if not hasattr(self,"thisown"): self.thisown = 0
324 self.__class__ = PointerAssassin
325 _openbox.PointerAssassin_swigregister(PointerAssassinPtr)
326
327 class OtkButton(OtkFocusLabel):
328 __swig_setmethods__ = {}
329 for _s in [OtkFocusLabel]: __swig_setmethods__.update(_s.__swig_setmethods__)
330 __setattr__ = lambda self, name, value: _swig_setattr(self, OtkButton, name, value)
331 __swig_getmethods__ = {}
332 for _s in [OtkFocusLabel]: __swig_getmethods__.update(_s.__swig_getmethods__)
333 __getattr__ = lambda self, name: _swig_getattr(self, OtkButton, name)
334 def __init__(self,*args):
335 self.this = apply(_openbox.new_OtkButton,args)
336 self.thisown = 1
337 def __del__(self, destroy= _openbox.delete_OtkButton):
338 try:
339 if self.thisown: destroy(self)
340 except: pass
341 def getPressedFocusTexture(*args): return apply(_openbox.OtkButton_getPressedFocusTexture,args)
342 def setPressedFocusTexture(*args): return apply(_openbox.OtkButton_setPressedFocusTexture,args)
343 def getPressedUnfocusTexture(*args): return apply(_openbox.OtkButton_getPressedUnfocusTexture,args)
344 def setPressedUnfocusTexture(*args): return apply(_openbox.OtkButton_setPressedUnfocusTexture,args)
345 def setTexture(*args): return apply(_openbox.OtkButton_setTexture,args)
346 def setUnfocusTexture(*args): return apply(_openbox.OtkButton_setUnfocusTexture,args)
347 def isPressed(*args): return apply(_openbox.OtkButton_isPressed,args)
348 def press(*args): return apply(_openbox.OtkButton_press,args)
349 def release(*args): return apply(_openbox.OtkButton_release,args)
350 def buttonPressHandler(*args): return apply(_openbox.OtkButton_buttonPressHandler,args)
351 def buttonReleaseHandler(*args): return apply(_openbox.OtkButton_buttonReleaseHandler,args)
352 def setStyle(*args): return apply(_openbox.OtkButton_setStyle,args)
353 def __repr__(self):
354 return "<C OtkButton instance at %s>" % (self.this,)
355
356 class OtkButtonPtr(OtkButton):
357 def __init__(self,this):
358 self.this = this
359 if not hasattr(self,"thisown"): self.thisown = 0
360 self.__class__ = OtkButton
361 _openbox.OtkButton_swigregister(OtkButtonPtr)
362
363 class BColor(_object):
364 __swig_setmethods__ = {}
365 __setattr__ = lambda self, name, value: _swig_setattr(self, BColor, name, value)
366 __swig_getmethods__ = {}
367 __getattr__ = lambda self, name: _swig_getattr(self, BColor, name)
368 def __init__(self,*args):
369 self.this = apply(_openbox.new_BColor,args)
370 self.thisown = 1
371 def __del__(self, destroy= _openbox.delete_BColor):
372 try:
373 if self.thisown: destroy(self)
374 except: pass
375 def name(*args): return apply(_openbox.BColor_name,args)
376 def red(*args): return apply(_openbox.BColor_red,args)
377 def green(*args): return apply(_openbox.BColor_green,args)
378 def blue(*args): return apply(_openbox.BColor_blue,args)
379 def setRGB(*args): return apply(_openbox.BColor_setRGB,args)
380 def screen(*args): return apply(_openbox.BColor_screen,args)
381 def setScreen(*args): return apply(_openbox.BColor_setScreen,args)
382 def isAllocated(*args): return apply(_openbox.BColor_isAllocated,args)
383 def isValid(*args): return apply(_openbox.BColor_isValid,args)
384 def pixel(*args): return apply(_openbox.BColor_pixel,args)
385 def equals(*args): return apply(_openbox.BColor_equals,args)
386 __swig_getmethods__["cleanupColorCache"] = lambda x: _openbox.BColor_cleanupColorCache
387 if _newclass:cleanupColorCache = staticmethod(_openbox.BColor_cleanupColorCache)
388 def __repr__(self):
389 return "<C BColor instance at %s>" % (self.this,)
390
391 class BColorPtr(BColor):
392 def __init__(self,this):
393 self.this = this
394 if not hasattr(self,"thisown"): self.thisown = 0
395 self.__class__ = BColor
396 _openbox.BColor_swigregister(BColorPtr)
397 BColor_cleanupColorCache = _openbox.BColor_cleanupColorCache
398
399
400 class Configuration(_object):
401 __swig_setmethods__ = {}
402 __setattr__ = lambda self, name, value: _swig_setattr(self, Configuration, name, value)
403 __swig_getmethods__ = {}
404 __getattr__ = lambda self, name: _swig_getattr(self, Configuration, name)
405 def __init__(self,*args):
406 self.this = apply(_openbox.new_Configuration,args)
407 self.thisown = 1
408 def __del__(self, destroy= _openbox.delete_Configuration):
409 try:
410 if self.thisown: destroy(self)
411 except: pass
412 def file(*args): return apply(_openbox.Configuration_file,args)
413 def setFile(*args): return apply(_openbox.Configuration_setFile,args)
414 def autoSave(*args): return apply(_openbox.Configuration_autoSave,args)
415 def setAutoSave(*args): return apply(_openbox.Configuration_setAutoSave,args)
416 def isModified(*args): return apply(_openbox.Configuration_isModified,args)
417 def save(*args): return apply(_openbox.Configuration_save,args)
418 def load(*args): return apply(_openbox.Configuration_load,args)
419 def merge(*args): return apply(_openbox.Configuration_merge,args)
420 def create(*args): return apply(_openbox.Configuration_create,args)
421 def setValue_bool(*args): return apply(_openbox.Configuration_setValue_bool,args)
422 def setValue(*args): return apply(_openbox.Configuration_setValue,args)
423 def setValue_unsigned(*args): return apply(_openbox.Configuration_setValue_unsigned,args)
424 def setValue_long(*args): return apply(_openbox.Configuration_setValue_long,args)
425 def setValue_unsignedlong(*args): return apply(_openbox.Configuration_setValue_unsignedlong,args)
426 def setValue_string(*args): return apply(_openbox.Configuration_setValue_string,args)
427 def setValue_charptr(*args): return apply(_openbox.Configuration_setValue_charptr,args)
428 def getValue(*args): return apply(_openbox.Configuration_getValue,args)
429 def __repr__(self):
430 return "<C Configuration instance at %s>" % (self.this,)
431
432 class ConfigurationPtr(Configuration):
433 def __init__(self,this):
434 self.this = this
435 if not hasattr(self,"thisown"): self.thisown = 0
436 self.__class__ = Configuration
437 _openbox.Configuration_swigregister(ConfigurationPtr)
438
439 class OBDisplay(_object):
440 __swig_setmethods__ = {}
441 __setattr__ = lambda self, name, value: _swig_setattr(self, OBDisplay, name, value)
442 __swig_getmethods__ = {}
443 __getattr__ = lambda self, name: _swig_getattr(self, OBDisplay, name)
444 __swig_getmethods__["initialize"] = lambda x: _openbox.OBDisplay_initialize
445 if _newclass:initialize = staticmethod(_openbox.OBDisplay_initialize)
446 __swig_getmethods__["destroy"] = lambda x: _openbox.OBDisplay_destroy
447 if _newclass:destroy = staticmethod(_openbox.OBDisplay_destroy)
448 __swig_getmethods__["gcCache"] = lambda x: _openbox.OBDisplay_gcCache
449 if _newclass:gcCache = staticmethod(_openbox.OBDisplay_gcCache)
450 __swig_getmethods__["screenInfo"] = lambda x: _openbox.OBDisplay_screenInfo
451 if _newclass:screenInfo = staticmethod(_openbox.OBDisplay_screenInfo)
452 __swig_getmethods__["findScreen"] = lambda x: _openbox.OBDisplay_findScreen
453 if _newclass:findScreen = staticmethod(_openbox.OBDisplay_findScreen)
454 __swig_getmethods__["xkb"] = lambda x: _openbox.OBDisplay_xkb
455 if _newclass:xkb = staticmethod(_openbox.OBDisplay_xkb)
456 __swig_getmethods__["xkbEventBase"] = lambda x: _openbox.OBDisplay_xkbEventBase
457 if _newclass:xkbEventBase = staticmethod(_openbox.OBDisplay_xkbEventBase)
458 __swig_getmethods__["shape"] = lambda x: _openbox.OBDisplay_shape
459 if _newclass:shape = staticmethod(_openbox.OBDisplay_shape)
460 __swig_getmethods__["shapeEventBase"] = lambda x: _openbox.OBDisplay_shapeEventBase
461 if _newclass:shapeEventBase = staticmethod(_openbox.OBDisplay_shapeEventBase)
462 __swig_getmethods__["xinerama"] = lambda x: _openbox.OBDisplay_xinerama
463 if _newclass:xinerama = staticmethod(_openbox.OBDisplay_xinerama)
464 __swig_getmethods__["numLockMask"] = lambda x: _openbox.OBDisplay_numLockMask
465 if _newclass:numLockMask = staticmethod(_openbox.OBDisplay_numLockMask)
466 __swig_getmethods__["scrollLockMask"] = lambda x: _openbox.OBDisplay_scrollLockMask
467 if _newclass:scrollLockMask = staticmethod(_openbox.OBDisplay_scrollLockMask)
468 __swig_getmethods__["grab"] = lambda x: _openbox.OBDisplay_grab
469 if _newclass:grab = staticmethod(_openbox.OBDisplay_grab)
470 __swig_getmethods__["ungrab"] = lambda x: _openbox.OBDisplay_ungrab
471 if _newclass:ungrab = staticmethod(_openbox.OBDisplay_ungrab)
472 __swig_getmethods__["grabButton"] = lambda x: _openbox.OBDisplay_grabButton
473 if _newclass:grabButton = staticmethod(_openbox.OBDisplay_grabButton)
474 __swig_getmethods__["ungrabButton"] = lambda x: _openbox.OBDisplay_ungrabButton
475 if _newclass:ungrabButton = staticmethod(_openbox.OBDisplay_ungrabButton)
476 __swig_getmethods__["grabKey"] = lambda x: _openbox.OBDisplay_grabKey
477 if _newclass:grabKey = staticmethod(_openbox.OBDisplay_grabKey)
478 __swig_getmethods__["ungrabKey"] = lambda x: _openbox.OBDisplay_ungrabKey
479 if _newclass:ungrabKey = staticmethod(_openbox.OBDisplay_ungrabKey)
480 def __init__(self): raise RuntimeError, "No constructor defined"
481 def __repr__(self):
482 return "<C OBDisplay instance at %s>" % (self.this,)
483
484 class OBDisplayPtr(OBDisplay):
485 def __init__(self,this):
486 self.this = this
487 if not hasattr(self,"thisown"): self.thisown = 0
488 self.__class__ = OBDisplay
489 _openbox.OBDisplay_swigregister(OBDisplayPtr)
490 OBDisplay_initialize = _openbox.OBDisplay_initialize
491
492 OBDisplay_destroy = _openbox.OBDisplay_destroy
493
494 OBDisplay_gcCache = _openbox.OBDisplay_gcCache
495
496 OBDisplay_screenInfo = _openbox.OBDisplay_screenInfo
497
498 OBDisplay_findScreen = _openbox.OBDisplay_findScreen
499
500 OBDisplay_xkb = _openbox.OBDisplay_xkb
501
502 OBDisplay_xkbEventBase = _openbox.OBDisplay_xkbEventBase
503
504 OBDisplay_shape = _openbox.OBDisplay_shape
505
506 OBDisplay_shapeEventBase = _openbox.OBDisplay_shapeEventBase
507
508 OBDisplay_xinerama = _openbox.OBDisplay_xinerama
509
510 OBDisplay_numLockMask = _openbox.OBDisplay_numLockMask
511
512 OBDisplay_scrollLockMask = _openbox.OBDisplay_scrollLockMask
513
514 OBDisplay_grab = _openbox.OBDisplay_grab
515
516 OBDisplay_ungrab = _openbox.OBDisplay_ungrab
517
518 OBDisplay_grabButton = _openbox.OBDisplay_grabButton
519
520 OBDisplay_ungrabButton = _openbox.OBDisplay_ungrabButton
521
522 OBDisplay_grabKey = _openbox.OBDisplay_grabKey
523
524 OBDisplay_ungrabKey = _openbox.OBDisplay_ungrabKey
525
526
527 class BFont(_object):
528 __swig_setmethods__ = {}
529 __setattr__ = lambda self, name, value: _swig_setattr(self, BFont, name, value)
530 __swig_getmethods__ = {}
531 __getattr__ = lambda self, name: _swig_getattr(self, BFont, name)
532 __swig_getmethods__["fallbackFont"] = lambda x: _openbox.BFont_fallbackFont
533 if _newclass:fallbackFont = staticmethod(_openbox.BFont_fallbackFont)
534 __swig_getmethods__["setFallbackFont"] = lambda x: _openbox.BFont_setFallbackFont
535 if _newclass:setFallbackFont = staticmethod(_openbox.BFont_setFallbackFont)
536 def __init__(self,*args):
537 self.this = apply(_openbox.new_BFont,args)
538 self.thisown = 1
539 def __del__(self, destroy= _openbox.delete_BFont):
540 try:
541 if self.thisown: destroy(self)
542 except: pass
543 def fontstring(*args): return apply(_openbox.BFont_fontstring,args)
544 def height(*args): return apply(_openbox.BFont_height,args)
545 def maxCharWidth(*args): return apply(_openbox.BFont_maxCharWidth,args)
546 def measureString(*args): return apply(_openbox.BFont_measureString,args)
547 def drawString(*args): return apply(_openbox.BFont_drawString,args)
548 def __repr__(self):
549 return "<C BFont instance at %s>" % (self.this,)
550
551 class BFontPtr(BFont):
552 def __init__(self,this):
553 self.this = this
554 if not hasattr(self,"thisown"): self.thisown = 0
555 self.__class__ = BFont
556 _openbox.BFont_swigregister(BFontPtr)
557 BFont_fallbackFont = _openbox.BFont_fallbackFont
558
559 BFont_setFallbackFont = _openbox.BFont_setFallbackFont
560
561
562 class BGCCacheContext(_object):
563 __swig_setmethods__ = {}
564 __setattr__ = lambda self, name, value: _swig_setattr(self, BGCCacheContext, name, value)
565 __swig_getmethods__ = {}
566 __getattr__ = lambda self, name: _swig_getattr(self, BGCCacheContext, name)
567 def set(*args): return apply(_openbox.BGCCacheContext_set,args)
568 def __del__(self, destroy= _openbox.delete_BGCCacheContext):
569 try:
570 if self.thisown: destroy(self)
571 except: pass
572 def __init__(self): raise RuntimeError, "No constructor defined"
573 def __repr__(self):
574 return "<C BGCCacheContext instance at %s>" % (self.this,)
575
576 class BGCCacheContextPtr(BGCCacheContext):
577 def __init__(self,this):
578 self.this = this
579 if not hasattr(self,"thisown"): self.thisown = 0
580 self.__class__ = BGCCacheContext
581 _openbox.BGCCacheContext_swigregister(BGCCacheContextPtr)
582
583 class BGCCacheItem(_object):
584 __swig_setmethods__ = {}
585 __setattr__ = lambda self, name, value: _swig_setattr(self, BGCCacheItem, name, value)
586 __swig_getmethods__ = {}
587 __getattr__ = lambda self, name: _swig_getattr(self, BGCCacheItem, name)
588 def gc(*args): return apply(_openbox.BGCCacheItem_gc,args)
589 def __init__(self): raise RuntimeError, "No constructor defined"
590 def __repr__(self):
591 return "<C BGCCacheItem instance at %s>" % (self.this,)
592
593 class BGCCacheItemPtr(BGCCacheItem):
594 def __init__(self,this):
595 self.this = this
596 if not hasattr(self,"thisown"): self.thisown = 0
597 self.__class__ = BGCCacheItem
598 _openbox.BGCCacheItem_swigregister(BGCCacheItemPtr)
599
600 class BGCCache(_object):
601 __swig_setmethods__ = {}
602 __setattr__ = lambda self, name, value: _swig_setattr(self, BGCCache, name, value)
603 __swig_getmethods__ = {}
604 __getattr__ = lambda self, name: _swig_getattr(self, BGCCache, name)
605 def __init__(self,*args):
606 self.this = apply(_openbox.new_BGCCache,args)
607 self.thisown = 1
608 def __del__(self, destroy= _openbox.delete_BGCCache):
609 try:
610 if self.thisown: destroy(self)
611 except: pass
612 def purge(*args): return apply(_openbox.BGCCache_purge,args)
613 def find(*args): return apply(_openbox.BGCCache_find,args)
614 def release(*args): return apply(_openbox.BGCCache_release,args)
615 def __repr__(self):
616 return "<C BGCCache instance at %s>" % (self.this,)
617
618 class BGCCachePtr(BGCCache):
619 def __init__(self,this):
620 self.this = this
621 if not hasattr(self,"thisown"): self.thisown = 0
622 self.__class__ = BGCCache
623 _openbox.BGCCache_swigregister(BGCCachePtr)
624
625 class BPen(_object):
626 __swig_setmethods__ = {}
627 __setattr__ = lambda self, name, value: _swig_setattr(self, BPen, name, value)
628 __swig_getmethods__ = {}
629 __getattr__ = lambda self, name: _swig_getattr(self, BPen, name)
630 def __init__(self,*args):
631 self.this = apply(_openbox.new_BPen,args)
632 self.thisown = 1
633 def __del__(self, destroy= _openbox.delete_BPen):
634 try:
635 if self.thisown: destroy(self)
636 except: pass
637 def gc(*args): return apply(_openbox.BPen_gc,args)
638 def __repr__(self):
639 return "<C BPen instance at %s>" % (self.this,)
640
641 class BPenPtr(BPen):
642 def __init__(self,this):
643 self.this = this
644 if not hasattr(self,"thisown"): self.thisown = 0
645 self.__class__ = BPen
646 _openbox.BPen_swigregister(BPenPtr)
647
648 class BImage(_object):
649 __swig_setmethods__ = {}
650 __setattr__ = lambda self, name, value: _swig_setattr(self, BImage, name, value)
651 __swig_getmethods__ = {}
652 __getattr__ = lambda self, name: _swig_getattr(self, BImage, name)
653 def __init__(self,*args):
654 self.this = apply(_openbox.new_BImage,args)
655 self.thisown = 1
656 def __del__(self, destroy= _openbox.delete_BImage):
657 try:
658 if self.thisown: destroy(self)
659 except: pass
660 def render(*args): return apply(_openbox.BImage_render,args)
661 def __repr__(self):
662 return "<C BImage instance at %s>" % (self.this,)
663
664 class BImagePtr(BImage):
665 def __init__(self,this):
666 self.this = this
667 if not hasattr(self,"thisown"): self.thisown = 0
668 self.__class__ = BImage
669 _openbox.BImage_swigregister(BImagePtr)
670
671 class BImageControl(_object):
672 __swig_setmethods__ = {}
673 __setattr__ = lambda self, name, value: _swig_setattr(self, BImageControl, name, value)
674 __swig_getmethods__ = {}
675 __getattr__ = lambda self, name: _swig_getattr(self, BImageControl, name)
676 def __init__(self,*args):
677 self.this = apply(_openbox.new_BImageControl,args)
678 self.thisown = 1
679 def __del__(self, destroy= _openbox.delete_BImageControl):
680 try:
681 if self.thisown: destroy(self)
682 except: pass
683 def doDither(*args): return apply(_openbox.BImageControl_doDither,args)
684 def getScreenInfo(*args): return apply(_openbox.BImageControl_getScreenInfo,args)
685 def getDrawable(*args): return apply(_openbox.BImageControl_getDrawable,args)
686 def getVisual(*args): return apply(_openbox.BImageControl_getVisual,args)
687 def getBitsPerPixel(*args): return apply(_openbox.BImageControl_getBitsPerPixel,args)
688 def getDepth(*args): return apply(_openbox.BImageControl_getDepth,args)
689 def getColorsPerChannel(*args): return apply(_openbox.BImageControl_getColorsPerChannel,args)
690 def getSqrt(*args): return apply(_openbox.BImageControl_getSqrt,args)
691 def renderImage(*args): return apply(_openbox.BImageControl_renderImage,args)
692 def installRootColormap(*args): return apply(_openbox.BImageControl_installRootColormap,args)
693 def removeImage(*args): return apply(_openbox.BImageControl_removeImage,args)
694 def getColorTables(*args): return apply(_openbox.BImageControl_getColorTables,args)
695 def getXColorTable(*args): return apply(_openbox.BImageControl_getXColorTable,args)
696 def getGradientBuffers(*args): return apply(_openbox.BImageControl_getGradientBuffers,args)
697 def setDither(*args): return apply(_openbox.BImageControl_setDither,args)
698 def setColorsPerChannel(*args): return apply(_openbox.BImageControl_setColorsPerChannel,args)
699 __swig_getmethods__["timeout"] = lambda x: _openbox.BImageControl_timeout
700 if _newclass:timeout = staticmethod(_openbox.BImageControl_timeout)
701 def __repr__(self):
702 return "<C BImageControl instance at %s>" % (self.this,)
703
704 class BImageControlPtr(BImageControl):
705 def __init__(self,this):
706 self.this = this
707 if not hasattr(self,"thisown"): self.thisown = 0
708 self.__class__ = BImageControl
709 _openbox.BImageControl_swigregister(BImageControlPtr)
710 BImageControl_timeout = _openbox.BImageControl_timeout
711
712
713 class Point(_object):
714 __swig_setmethods__ = {}
715 __setattr__ = lambda self, name, value: _swig_setattr(self, Point, name, value)
716 __swig_getmethods__ = {}
717 __getattr__ = lambda self, name: _swig_getattr(self, Point, name)
718 def __init__(self,*args):
719 self.this = apply(_openbox.new_Point,args)
720 self.thisown = 1
721 def setX(*args): return apply(_openbox.Point_setX,args)
722 def x(*args): return apply(_openbox.Point_x,args)
723 def setY(*args): return apply(_openbox.Point_setY,args)
724 def y(*args): return apply(_openbox.Point_y,args)
725 def setPoint(*args): return apply(_openbox.Point_setPoint,args)
726 def __repr__(self):
727 return "<C Point instance at %s>" % (self.this,)
728
729 class PointPtr(Point):
730 def __init__(self,this):
731 self.this = this
732 if not hasattr(self,"thisown"): self.thisown = 0
733 self.__class__ = Point
734 _openbox.Point_swigregister(PointPtr)
735
736 class OBProperty(_object):
737 __swig_setmethods__ = {}
738 __setattr__ = lambda self, name, value: _swig_setattr(self, OBProperty, name, value)
739 __swig_getmethods__ = {}
740 __getattr__ = lambda self, name: _swig_getattr(self, OBProperty, name)
741 Atom_Cardinal = _openbox.OBProperty_Atom_Cardinal
742 Atom_Window = _openbox.OBProperty_Atom_Window
743 Atom_Pixmap = _openbox.OBProperty_Atom_Pixmap
744 Atom_Atom = _openbox.OBProperty_Atom_Atom
745 Atom_String = _openbox.OBProperty_Atom_String
746 Atom_Utf8 = _openbox.OBProperty_Atom_Utf8
747 openbox_pid = _openbox.OBProperty_openbox_pid
748 wm_colormap_windows = _openbox.OBProperty_wm_colormap_windows
749 wm_protocols = _openbox.OBProperty_wm_protocols
750 wm_state = _openbox.OBProperty_wm_state
751 wm_delete_window = _openbox.OBProperty_wm_delete_window
752 wm_take_focus = _openbox.OBProperty_wm_take_focus
753 wm_change_state = _openbox.OBProperty_wm_change_state
754 wm_name = _openbox.OBProperty_wm_name
755 wm_icon_name = _openbox.OBProperty_wm_icon_name
756 wm_class = _openbox.OBProperty_wm_class
757 wm_window_role = _openbox.OBProperty_wm_window_role
758 motif_wm_hints = _openbox.OBProperty_motif_wm_hints
759 blackbox_attributes = _openbox.OBProperty_blackbox_attributes
760 blackbox_change_attributes = _openbox.OBProperty_blackbox_change_attributes
761 blackbox_hints = _openbox.OBProperty_blackbox_hints
762 blackbox_structure_messages = _openbox.OBProperty_blackbox_structure_messages
763 blackbox_notify_startup = _openbox.OBProperty_blackbox_notify_startup
764 blackbox_notify_window_add = _openbox.OBProperty_blackbox_notify_window_add
765 blackbox_notify_window_del = _openbox.OBProperty_blackbox_notify_window_del
766 blackbox_notify_window_focus = _openbox.OBProperty_blackbox_notify_window_focus
767 blackbox_notify_current_workspace = _openbox.OBProperty_blackbox_notify_current_workspace
768 blackbox_notify_workspace_count = _openbox.OBProperty_blackbox_notify_workspace_count
769 blackbox_notify_window_raise = _openbox.OBProperty_blackbox_notify_window_raise
770 blackbox_notify_window_lower = _openbox.OBProperty_blackbox_notify_window_lower
771 blackbox_change_workspace = _openbox.OBProperty_blackbox_change_workspace
772 blackbox_change_window_focus = _openbox.OBProperty_blackbox_change_window_focus
773 blackbox_cycle_window_focus = _openbox.OBProperty_blackbox_cycle_window_focus
774 openbox_show_root_menu = _openbox.OBProperty_openbox_show_root_menu
775 openbox_show_workspace_menu = _openbox.OBProperty_openbox_show_workspace_menu
776 net_supported = _openbox.OBProperty_net_supported
777 net_client_list = _openbox.OBProperty_net_client_list
778 net_client_list_stacking = _openbox.OBProperty_net_client_list_stacking
779 net_number_of_desktops = _openbox.OBProperty_net_number_of_desktops
780 net_desktop_geometry = _openbox.OBProperty_net_desktop_geometry
781 net_desktop_viewport = _openbox.OBProperty_net_desktop_viewport
782 net_current_desktop = _openbox.OBProperty_net_current_desktop
783 net_desktop_names = _openbox.OBProperty_net_desktop_names
784 net_active_window = _openbox.OBProperty_net_active_window
785 net_workarea = _openbox.OBProperty_net_workarea
786 net_supporting_wm_check = _openbox.OBProperty_net_supporting_wm_check
787 net_close_window = _openbox.OBProperty_net_close_window
788 net_wm_moveresize = _openbox.OBProperty_net_wm_moveresize
789 net_wm_name = _openbox.OBProperty_net_wm_name
790 net_wm_visible_name = _openbox.OBProperty_net_wm_visible_name
791 net_wm_icon_name = _openbox.OBProperty_net_wm_icon_name
792 net_wm_visible_icon_name = _openbox.OBProperty_net_wm_visible_icon_name
793 net_wm_desktop = _openbox.OBProperty_net_wm_desktop
794 net_wm_window_type = _openbox.OBProperty_net_wm_window_type
795 net_wm_state = _openbox.OBProperty_net_wm_state
796 net_wm_strut = _openbox.OBProperty_net_wm_strut
797 net_wm_allowed_actions = _openbox.OBProperty_net_wm_allowed_actions
798 net_wm_window_type_desktop = _openbox.OBProperty_net_wm_window_type_desktop
799 net_wm_window_type_dock = _openbox.OBProperty_net_wm_window_type_dock
800 net_wm_window_type_toolbar = _openbox.OBProperty_net_wm_window_type_toolbar
801 net_wm_window_type_menu = _openbox.OBProperty_net_wm_window_type_menu
802 net_wm_window_type_utility = _openbox.OBProperty_net_wm_window_type_utility
803 net_wm_window_type_splash = _openbox.OBProperty_net_wm_window_type_splash
804 net_wm_window_type_dialog = _openbox.OBProperty_net_wm_window_type_dialog
805 net_wm_window_type_normal = _openbox.OBProperty_net_wm_window_type_normal
806 net_wm_moveresize_size_topleft = _openbox.OBProperty_net_wm_moveresize_size_topleft
807 net_wm_moveresize_size_topright = _openbox.OBProperty_net_wm_moveresize_size_topright
808 net_wm_moveresize_size_bottomleft = _openbox.OBProperty_net_wm_moveresize_size_bottomleft
809 net_wm_moveresize_size_bottomright = _openbox.OBProperty_net_wm_moveresize_size_bottomright
810 net_wm_moveresize_move = _openbox.OBProperty_net_wm_moveresize_move
811 net_wm_action_move = _openbox.OBProperty_net_wm_action_move
812 net_wm_action_resize = _openbox.OBProperty_net_wm_action_resize
813 net_wm_action_shade = _openbox.OBProperty_net_wm_action_shade
814 net_wm_action_maximize_horz = _openbox.OBProperty_net_wm_action_maximize_horz
815 net_wm_action_maximize_vert = _openbox.OBProperty_net_wm_action_maximize_vert
816 net_wm_action_change_desktop = _openbox.OBProperty_net_wm_action_change_desktop
817 net_wm_action_close = _openbox.OBProperty_net_wm_action_close
818 net_wm_state_modal = _openbox.OBProperty_net_wm_state_modal
819 net_wm_state_sticky = _openbox.OBProperty_net_wm_state_sticky
820 net_wm_state_maximized_vert = _openbox.OBProperty_net_wm_state_maximized_vert
821 net_wm_state_maximized_horz = _openbox.OBProperty_net_wm_state_maximized_horz
822 net_wm_state_shaded = _openbox.OBProperty_net_wm_state_shaded
823 net_wm_state_skip_taskbar = _openbox.OBProperty_net_wm_state_skip_taskbar
824 net_wm_state_skip_pager = _openbox.OBProperty_net_wm_state_skip_pager
825 net_wm_state_hidden = _openbox.OBProperty_net_wm_state_hidden
826 net_wm_state_fullscreen = _openbox.OBProperty_net_wm_state_fullscreen
827 net_wm_state_above = _openbox.OBProperty_net_wm_state_above
828 net_wm_state_below = _openbox.OBProperty_net_wm_state_below
829 kde_net_system_tray_windows = _openbox.OBProperty_kde_net_system_tray_windows
830 kde_net_wm_system_tray_window_for = _openbox.OBProperty_kde_net_wm_system_tray_window_for
831 kde_net_wm_window_type_override = _openbox.OBProperty_kde_net_wm_window_type_override
832 NUM_ATOMS = _openbox.OBProperty_NUM_ATOMS
833 ascii = _openbox.OBProperty_ascii
834 utf8 = _openbox.OBProperty_utf8
835 NUM_STRING_TYPE = _openbox.OBProperty_NUM_STRING_TYPE
836 def __init__(self,*args):
837 self.this = apply(_openbox.new_OBProperty,args)
838 self.thisown = 1
839 def __del__(self, destroy= _openbox.delete_OBProperty):
840 try:
841 if self.thisown: destroy(self)
842 except: pass
843 def set(*args): return apply(_openbox.OBProperty_set,args)
844 def get(*args): return apply(_openbox.OBProperty_get,args)
845 def erase(*args): return apply(_openbox.OBProperty_erase,args)
846 def atom(*args): return apply(_openbox.OBProperty_atom,args)
847 def __repr__(self):
848 return "<C OBProperty instance at %s>" % (self.this,)
849
850 class OBPropertyPtr(OBProperty):
851 def __init__(self,this):
852 self.this = this
853 if not hasattr(self,"thisown"): self.thisown = 0
854 self.__class__ = OBProperty
855 _openbox.OBProperty_swigregister(OBPropertyPtr)
856
857 class Rect(_object):
858 __swig_setmethods__ = {}
859 __setattr__ = lambda self, name, value: _swig_setattr(self, Rect, name, value)
860 __swig_getmethods__ = {}
861 __getattr__ = lambda self, name: _swig_getattr(self, Rect, name)
862 def __init__(self,*args):
863 self.this = apply(_openbox.new_Rect,args)
864 self.thisown = 1
865 def left(*args): return apply(_openbox.Rect_left,args)
866 def top(*args): return apply(_openbox.Rect_top,args)
867 def right(*args): return apply(_openbox.Rect_right,args)
868 def bottom(*args): return apply(_openbox.Rect_bottom,args)
869 def x(*args): return apply(_openbox.Rect_x,args)
870 def y(*args): return apply(_openbox.Rect_y,args)
871 def location(*args): return apply(_openbox.Rect_location,args)
872 def setX(*args): return apply(_openbox.Rect_setX,args)
873 def setY(*args): return apply(_openbox.Rect_setY,args)
874 def setPos(*args): return apply(_openbox.Rect_setPos,args)
875 def width(*args): return apply(_openbox.Rect_width,args)
876 def height(*args): return apply(_openbox.Rect_height,args)
877 def size(*args): return apply(_openbox.Rect_size,args)
878 def setWidth(*args): return apply(_openbox.Rect_setWidth,args)
879 def setHeight(*args): return apply(_openbox.Rect_setHeight,args)
880 def setSize(*args): return apply(_openbox.Rect_setSize,args)
881 def setRect(*args): return apply(_openbox.Rect_setRect,args)
882 def setCoords(*args): return apply(_openbox.Rect_setCoords,args)
883 def equals(*args): return apply(_openbox.Rect_equals,args)
884 def valid(*args): return apply(_openbox.Rect_valid,args)
885 def intersects(*args): return apply(_openbox.Rect_intersects,args)
886 def contains(*args): return apply(_openbox.Rect_contains,args)
887 def __repr__(self):
888 return "<C Rect instance at %s>" % (self.this,)
889
890 class RectPtr(Rect):
891 def __init__(self,this):
892 self.this = this
893 if not hasattr(self,"thisown"): self.thisown = 0
894 self.__class__ = Rect
895 _openbox.Rect_swigregister(RectPtr)
896
897 class ScreenInfo(_object):
898 __swig_setmethods__ = {}
899 __setattr__ = lambda self, name, value: _swig_setattr(self, ScreenInfo, name, value)
900 __swig_getmethods__ = {}
901 __getattr__ = lambda self, name: _swig_getattr(self, ScreenInfo, name)
902 def __init__(self,*args):
903 self.this = apply(_openbox.new_ScreenInfo,args)
904 self.thisown = 1
905 def visual(*args): return apply(_openbox.ScreenInfo_visual,args)
906 def rootWindow(*args): return apply(_openbox.ScreenInfo_rootWindow,args)
907 def colormap(*args): return apply(_openbox.ScreenInfo_colormap,args)
908 def depth(*args): return apply(_openbox.ScreenInfo_depth,args)
909 def screen(*args): return apply(_openbox.ScreenInfo_screen,args)
910 def rect(*args): return apply(_openbox.ScreenInfo_rect,args)
911 def width(*args): return apply(_openbox.ScreenInfo_width,args)
912 def height(*args): return apply(_openbox.ScreenInfo_height,args)
913 def displayString(*args): return apply(_openbox.ScreenInfo_displayString,args)
914 def __repr__(self):
915 return "<C ScreenInfo instance at %s>" % (self.this,)
916
917 class ScreenInfoPtr(ScreenInfo):
918 def __init__(self,this):
919 self.this = this
920 if not hasattr(self,"thisown"): self.thisown = 0
921 self.__class__ = ScreenInfo
922 _openbox.ScreenInfo_swigregister(ScreenInfoPtr)
923
924 class Strut(_object):
925 __swig_setmethods__ = {}
926 __setattr__ = lambda self, name, value: _swig_setattr(self, Strut, name, value)
927 __swig_getmethods__ = {}
928 __getattr__ = lambda self, name: _swig_getattr(self, Strut, name)
929 __swig_setmethods__["top"] = _openbox.Strut_top_set
930 __swig_getmethods__["top"] = _openbox.Strut_top_get
931 if _newclass:top = property(_openbox.Strut_top_get,_openbox.Strut_top_set)
932 __swig_setmethods__["bottom"] = _openbox.Strut_bottom_set
933 __swig_getmethods__["bottom"] = _openbox.Strut_bottom_get
934 if _newclass:bottom = property(_openbox.Strut_bottom_get,_openbox.Strut_bottom_set)
935 __swig_setmethods__["left"] = _openbox.Strut_left_set
936 __swig_getmethods__["left"] = _openbox.Strut_left_get
937 if _newclass:left = property(_openbox.Strut_left_get,_openbox.Strut_left_set)
938 __swig_setmethods__["right"] = _openbox.Strut_right_set
939 __swig_getmethods__["right"] = _openbox.Strut_right_get
940 if _newclass:right = property(_openbox.Strut_right_get,_openbox.Strut_right_set)
941 def __init__(self,*args):
942 self.this = apply(_openbox.new_Strut,args)
943 self.thisown = 1
944 def __repr__(self):
945 return "<C Strut instance at %s>" % (self.this,)
946
947 class StrutPtr(Strut):
948 def __init__(self,this):
949 self.this = this
950 if not hasattr(self,"thisown"): self.thisown = 0
951 self.__class__ = Strut
952 _openbox.Strut_swigregister(StrutPtr)
953
954 class PixmapMask(_object):
955 __swig_setmethods__ = {}
956 __setattr__ = lambda self, name, value: _swig_setattr(self, PixmapMask, name, value)
957 __swig_getmethods__ = {}
958 __getattr__ = lambda self, name: _swig_getattr(self, PixmapMask, name)
959 __swig_setmethods__["mask"] = _openbox.PixmapMask_mask_set
960 __swig_getmethods__["mask"] = _openbox.PixmapMask_mask_get
961 if _newclass:mask = property(_openbox.PixmapMask_mask_get,_openbox.PixmapMask_mask_set)
962 __swig_setmethods__["w"] = _openbox.PixmapMask_w_set
963 __swig_getmethods__["w"] = _openbox.PixmapMask_w_get
964 if _newclass:w = property(_openbox.PixmapMask_w_get,_openbox.PixmapMask_w_set)
965 __swig_setmethods__["h"] = _openbox.PixmapMask_h_set
966 __swig_getmethods__["h"] = _openbox.PixmapMask_h_get
967 if _newclass:h = property(_openbox.PixmapMask_h_get,_openbox.PixmapMask_h_set)
968 def __init__(self,*args):
969 self.this = apply(_openbox.new_PixmapMask,args)
970 self.thisown = 1
971 def __repr__(self):
972 return "<C PixmapMask instance at %s>" % (self.this,)
973
974 class PixmapMaskPtr(PixmapMask):
975 def __init__(self,this):
976 self.this = this
977 if not hasattr(self,"thisown"): self.thisown = 0
978 self.__class__ = PixmapMask
979 _openbox.PixmapMask_swigregister(PixmapMaskPtr)
980
981 class Style(_object):
982 __swig_setmethods__ = {}
983 __setattr__ = lambda self, name, value: _swig_setattr(self, Style, name, value)
984 __swig_getmethods__ = {}
985 __getattr__ = lambda self, name: _swig_getattr(self, Style, name)
986 ButtonFocus = _openbox.Style_ButtonFocus
987 ButtonUnfocus = _openbox.Style_ButtonUnfocus
988 TitleFocus = _openbox.Style_TitleFocus
989 TitleUnfocus = _openbox.Style_TitleUnfocus
990 LabelFocus = _openbox.Style_LabelFocus
991 LabelUnfocus = _openbox.Style_LabelUnfocus
992 HandleFocus = _openbox.Style_HandleFocus
993 HandleUnfocus = _openbox.Style_HandleUnfocus
994 GripFocus = _openbox.Style_GripFocus
995 GripUnfocus = _openbox.Style_GripUnfocus
996 LeftJustify = _openbox.Style_LeftJustify
997 RightJustify = _openbox.Style_RightJustify
998 CenterJustify = _openbox.Style_CenterJustify
999 RoundBullet = _openbox.Style_RoundBullet
1000 TriangleBullet = _openbox.Style_TriangleBullet
1001 SquareBullet = _openbox.Style_SquareBullet
1002 NoBullet = _openbox.Style_NoBullet
1003 __swig_setmethods__["image_control"] = _openbox.Style_image_control_set
1004 __swig_getmethods__["image_control"] = _openbox.Style_image_control_get
1005 if _newclass:image_control = property(_openbox.Style_image_control_get,_openbox.Style_image_control_set)
1006 __swig_setmethods__["l_text_focus"] = _openbox.Style_l_text_focus_set
1007 __swig_getmethods__["l_text_focus"] = _openbox.Style_l_text_focus_get
1008 if _newclass:l_text_focus = property(_openbox.Style_l_text_focus_get,_openbox.Style_l_text_focus_set)
1009 __swig_setmethods__["l_text_unfocus"] = _openbox.Style_l_text_unfocus_set
1010 __swig_getmethods__["l_text_unfocus"] = _openbox.Style_l_text_unfocus_get
1011 if _newclass:l_text_unfocus = property(_openbox.Style_l_text_unfocus_get,_openbox.Style_l_text_unfocus_set)
1012 __swig_setmethods__["b_pic_focus"] = _openbox.Style_b_pic_focus_set
1013 __swig_getmethods__["b_pic_focus"] = _openbox.Style_b_pic_focus_get
1014 if _newclass:b_pic_focus = property(_openbox.Style_b_pic_focus_get,_openbox.Style_b_pic_focus_set)
1015 __swig_setmethods__["b_pic_unfocus"] = _openbox.Style_b_pic_unfocus_set
1016 __swig_getmethods__["b_pic_unfocus"] = _openbox.Style_b_pic_unfocus_get
1017 if _newclass:b_pic_unfocus = property(_openbox.Style_b_pic_unfocus_get,_openbox.Style_b_pic_unfocus_set)
1018 __swig_setmethods__["border_color"] = _openbox.Style_border_color_set
1019 __swig_getmethods__["border_color"] = _openbox.Style_border_color_get
1020 if _newclass:border_color = property(_openbox.Style_border_color_get,_openbox.Style_border_color_set)
1021 __swig_setmethods__["font"] = _openbox.Style_font_set
1022 __swig_getmethods__["font"] = _openbox.Style_font_get
1023 if _newclass:font = property(_openbox.Style_font_get,_openbox.Style_font_set)
1024 __swig_setmethods__["f_focus"] = _openbox.Style_f_focus_set
1025 __swig_getmethods__["f_focus"] = _openbox.Style_f_focus_get
1026 if _newclass:f_focus = property(_openbox.Style_f_focus_get,_openbox.Style_f_focus_set)
1027 __swig_setmethods__["f_unfocus"] = _openbox.Style_f_unfocus_set
1028 __swig_getmethods__["f_unfocus"] = _openbox.Style_f_unfocus_get
1029 if _newclass:f_unfocus = property(_openbox.Style_f_unfocus_get,_openbox.Style_f_unfocus_set)
1030 __swig_setmethods__["t_focus"] = _openbox.Style_t_focus_set
1031 __swig_getmethods__["t_focus"] = _openbox.Style_t_focus_get
1032 if _newclass:t_focus = property(_openbox.Style_t_focus_get,_openbox.Style_t_focus_set)
1033 __swig_setmethods__["t_unfocus"] = _openbox.Style_t_unfocus_set
1034 __swig_getmethods__["t_unfocus"] = _openbox.Style_t_unfocus_get
1035 if _newclass:t_unfocus = property(_openbox.Style_t_unfocus_get,_openbox.Style_t_unfocus_set)
1036 __swig_setmethods__["l_focus"] = _openbox.Style_l_focus_set
1037 __swig_getmethods__["l_focus"] = _openbox.Style_l_focus_get
1038 if _newclass:l_focus = property(_openbox.Style_l_focus_get,_openbox.Style_l_focus_set)
1039 __swig_setmethods__["l_unfocus"] = _openbox.Style_l_unfocus_set
1040 __swig_getmethods__["l_unfocus"] = _openbox.Style_l_unfocus_get
1041 if _newclass:l_unfocus = property(_openbox.Style_l_unfocus_get,_openbox.Style_l_unfocus_set)
1042 __swig_setmethods__["h_focus"] = _openbox.Style_h_focus_set
1043 __swig_getmethods__["h_focus"] = _openbox.Style_h_focus_get
1044 if _newclass:h_focus = property(_openbox.Style_h_focus_get,_openbox.Style_h_focus_set)
1045 __swig_setmethods__["h_unfocus"] = _openbox.Style_h_unfocus_set
1046 __swig_getmethods__["h_unfocus"] = _openbox.Style_h_unfocus_get
1047 if _newclass:h_unfocus = property(_openbox.Style_h_unfocus_get,_openbox.Style_h_unfocus_set)
1048 __swig_setmethods__["b_focus"] = _openbox.Style_b_focus_set
1049 __swig_getmethods__["b_focus"] = _openbox.Style_b_focus_get
1050 if _newclass:b_focus = property(_openbox.Style_b_focus_get,_openbox.Style_b_focus_set)
1051 __swig_setmethods__["b_unfocus"] = _openbox.Style_b_unfocus_set
1052 __swig_getmethods__["b_unfocus"] = _openbox.Style_b_unfocus_get
1053 if _newclass:b_unfocus = property(_openbox.Style_b_unfocus_get,_openbox.Style_b_unfocus_set)
1054 __swig_setmethods__["b_pressed_focus"] = _openbox.Style_b_pressed_focus_set
1055 __swig_getmethods__["b_pressed_focus"] = _openbox.Style_b_pressed_focus_get
1056 if _newclass:b_pressed_focus = property(_openbox.Style_b_pressed_focus_get,_openbox.Style_b_pressed_focus_set)
1057 __swig_setmethods__["b_pressed_unfocus"] = _openbox.Style_b_pressed_unfocus_set
1058 __swig_getmethods__["b_pressed_unfocus"] = _openbox.Style_b_pressed_unfocus_get
1059 if _newclass:b_pressed_unfocus = property(_openbox.Style_b_pressed_unfocus_get,_openbox.Style_b_pressed_unfocus_set)
1060 __swig_setmethods__["g_focus"] = _openbox.Style_g_focus_set
1061 __swig_getmethods__["g_focus"] = _openbox.Style_g_focus_get
1062 if _newclass:g_focus = property(_openbox.Style_g_focus_get,_openbox.Style_g_focus_set)
1063 __swig_setmethods__["g_unfocus"] = _openbox.Style_g_unfocus_set
1064 __swig_getmethods__["g_unfocus"] = _openbox.Style_g_unfocus_get
1065 if _newclass:g_unfocus = property(_openbox.Style_g_unfocus_get,_openbox.Style_g_unfocus_set)
1066 __swig_setmethods__["close_button"] = _openbox.Style_close_button_set
1067 __swig_getmethods__["close_button"] = _openbox.Style_close_button_get
1068 if _newclass:close_button = property(_openbox.Style_close_button_get,_openbox.Style_close_button_set)
1069 __swig_setmethods__["max_button"] = _openbox.Style_max_button_set
1070 __swig_getmethods__["max_button"] = _openbox.Style_max_button_get
1071 if _newclass:max_button = property(_openbox.Style_max_button_get,_openbox.Style_max_button_set)
1072 __swig_setmethods__["icon_button"] = _openbox.Style_icon_button_set
1073 __swig_getmethods__["icon_button"] = _openbox.Style_icon_button_get
1074 if _newclass:icon_button = property(_openbox.Style_icon_button_get,_openbox.Style_icon_button_set)
1075 __swig_setmethods__["stick_button"] = _openbox.Style_stick_button_set
1076 __swig_getmethods__["stick_button"] = _openbox.Style_stick_button_get
1077 if _newclass:stick_button = property(_openbox.Style_stick_button_get,_openbox.Style_stick_button_set)
1078 __swig_setmethods__["justify"] = _openbox.Style_justify_set
1079 __swig_getmethods__["justify"] = _openbox.Style_justify_get
1080 if _newclass:justify = property(_openbox.Style_justify_get,_openbox.Style_justify_set)
1081 __swig_setmethods__["bullet_type"] = _openbox.Style_bullet_type_set
1082 __swig_getmethods__["bullet_type"] = _openbox.Style_bullet_type_get
1083 if _newclass:bullet_type = property(_openbox.Style_bullet_type_get,_openbox.Style_bullet_type_set)
1084 __swig_setmethods__["handle_width"] = _openbox.Style_handle_width_set
1085 __swig_getmethods__["handle_width"] = _openbox.Style_handle_width_get
1086 if _newclass:handle_width = property(_openbox.Style_handle_width_get,_openbox.Style_handle_width_set)
1087 __swig_setmethods__["bevel_width"] = _openbox.Style_bevel_width_set
1088 __swig_getmethods__["bevel_width"] = _openbox.Style_bevel_width_get
1089 if _newclass:bevel_width = property(_openbox.Style_bevel_width_get,_openbox.Style_bevel_width_set)
1090 __swig_setmethods__["frame_width"] = _openbox.Style_frame_width_set
1091 __swig_getmethods__["frame_width"] = _openbox.Style_frame_width_get
1092 if _newclass:frame_width = property(_openbox.Style_frame_width_get,_openbox.Style_frame_width_set)
1093 __swig_setmethods__["border_width"] = _openbox.Style_border_width_set
1094 __swig_getmethods__["border_width"] = _openbox.Style_border_width_get
1095 if _newclass:border_width = property(_openbox.Style_border_width_get,_openbox.Style_border_width_set)
1096 __swig_setmethods__["screen_number"] = _openbox.Style_screen_number_set
1097 __swig_getmethods__["screen_number"] = _openbox.Style_screen_number_get
1098 if _newclass:screen_number = property(_openbox.Style_screen_number_get,_openbox.Style_screen_number_set)
1099 __swig_setmethods__["shadow_fonts"] = _openbox.Style_shadow_fonts_set
1100 __swig_getmethods__["shadow_fonts"] = _openbox.Style_shadow_fonts_get
1101 if _newclass:shadow_fonts = property(_openbox.Style_shadow_fonts_get,_openbox.Style_shadow_fonts_set)
1102 __swig_setmethods__["aa_fonts"] = _openbox.Style_aa_fonts_set
1103 __swig_getmethods__["aa_fonts"] = _openbox.Style_aa_fonts_get
1104 if _newclass:aa_fonts = property(_openbox.Style_aa_fonts_get,_openbox.Style_aa_fonts_set)
1105 def __init__(self,*args):
1106 self.this = apply(_openbox.new_Style,args)
1107 self.thisown = 1
1108 def __del__(self, destroy= _openbox.delete_Style):
1109 try:
1110 if self.thisown: destroy(self)
1111 except: pass
1112 def readDatabaseMask(*args): return apply(_openbox.Style_readDatabaseMask,args)
1113 def readDatabaseTexture(*args): return apply(_openbox.Style_readDatabaseTexture,args)
1114 def readDatabaseColor(*args): return apply(_openbox.Style_readDatabaseColor,args)
1115 def readDatabaseFont(*args): return apply(_openbox.Style_readDatabaseFont,args)
1116 def load(*args): return apply(_openbox.Style_load,args)
1117 def getCloseButtonMask(*args): return apply(_openbox.Style_getCloseButtonMask,args)
1118 def getMaximizeButtonMask(*args): return apply(_openbox.Style_getMaximizeButtonMask,args)
1119 def getIconifyButtonMask(*args): return apply(_openbox.Style_getIconifyButtonMask,args)
1120 def getStickyButtonMask(*args): return apply(_openbox.Style_getStickyButtonMask,args)
1121 def getTextFocus(*args): return apply(_openbox.Style_getTextFocus,args)
1122 def getTextUnfocus(*args): return apply(_openbox.Style_getTextUnfocus,args)
1123 def getButtonPicFocus(*args): return apply(_openbox.Style_getButtonPicFocus,args)
1124 def getButtonPicUnfocus(*args): return apply(_openbox.Style_getButtonPicUnfocus,args)
1125 def getTitleFocus(*args): return apply(_openbox.Style_getTitleFocus,args)
1126 def getTitleUnfocus(*args): return apply(_openbox.Style_getTitleUnfocus,args)
1127 def getLabelFocus(*args): return apply(_openbox.Style_getLabelFocus,args)
1128 def getLabelUnfocus(*args): return apply(_openbox.Style_getLabelUnfocus,args)
1129 def getHandleFocus(*args): return apply(_openbox.Style_getHandleFocus,args)
1130 def getHandleUnfocus(*args): return apply(_openbox.Style_getHandleUnfocus,args)
1131 def getButtonFocus(*args): return apply(_openbox.Style_getButtonFocus,args)
1132 def getButtonUnfocus(*args): return apply(_openbox.Style_getButtonUnfocus,args)
1133 def getButtonPressedFocus(*args): return apply(_openbox.Style_getButtonPressedFocus,args)
1134 def getButtonPressedUnfocus(*args): return apply(_openbox.Style_getButtonPressedUnfocus,args)
1135 def getGripFocus(*args): return apply(_openbox.Style_getGripFocus,args)
1136 def getGripUnfocus(*args): return apply(_openbox.Style_getGripUnfocus,args)
1137 def getHandleWidth(*args): return apply(_openbox.Style_getHandleWidth,args)
1138 def getBevelWidth(*args): return apply(_openbox.Style_getBevelWidth,args)
1139 def getFrameWidth(*args): return apply(_openbox.Style_getFrameWidth,args)
1140 def getBorderWidth(*args): return apply(_openbox.Style_getBorderWidth,args)
1141 def getFont(*args): return apply(_openbox.Style_getFont,args)
1142 def setShadowFonts(*args): return apply(_openbox.Style_setShadowFonts,args)
1143 def hasShadowFonts(*args): return apply(_openbox.Style_hasShadowFonts,args)
1144 def setAAFonts(*args): return apply(_openbox.Style_setAAFonts,args)
1145 def hasAAFonts(*args): return apply(_openbox.Style_hasAAFonts,args)
1146 def textJustify(*args): return apply(_openbox.Style_textJustify,args)
1147 def bulletType(*args): return apply(_openbox.Style_bulletType,args)
1148 def getBorderColor(*args): return apply(_openbox.Style_getBorderColor,args)
1149 def getFrameFocus(*args): return apply(_openbox.Style_getFrameFocus,args)
1150 def getFrameUnfocus(*args): return apply(_openbox.Style_getFrameUnfocus,args)
1151 def setImageControl(*args): return apply(_openbox.Style_setImageControl,args)
1152 def getScreen(*args): return apply(_openbox.Style_getScreen,args)
1153 def __repr__(self):
1154 return "<C Style instance at %s>" % (self.this,)
1155
1156 class StylePtr(Style):
1157 def __init__(self,this):
1158 self.this = this
1159 if not hasattr(self,"thisown"): self.thisown = 0
1160 self.__class__ = Style
1161 _openbox.Style_swigregister(StylePtr)
1162
1163 class BTexture(_object):
1164 __swig_setmethods__ = {}
1165 __setattr__ = lambda self, name, value: _swig_setattr(self, BTexture, name, value)
1166 __swig_getmethods__ = {}
1167 __getattr__ = lambda self, name: _swig_getattr(self, BTexture, name)
1168 NoTexture = _openbox.BTexture_NoTexture
1169 Flat = _openbox.BTexture_Flat
1170 Sunken = _openbox.BTexture_Sunken
1171 Raised = _openbox.BTexture_Raised
1172 Solid = _openbox.BTexture_Solid
1173 Gradient = _openbox.BTexture_Gradient
1174 Horizontal = _openbox.BTexture_Horizontal
1175 Vertical = _openbox.BTexture_Vertical
1176 Diagonal = _openbox.BTexture_Diagonal
1177 CrossDiagonal = _openbox.BTexture_CrossDiagonal
1178 Rectangle = _openbox.BTexture_Rectangle
1179 Pyramid = _openbox.BTexture_Pyramid
1180 PipeCross = _openbox.BTexture_PipeCross
1181 Elliptic = _openbox.BTexture_Elliptic
1182 Bevel1 = _openbox.BTexture_Bevel1
1183 Bevel2 = _openbox.BTexture_Bevel2
1184 Border = _openbox.BTexture_Border
1185 Invert = _openbox.BTexture_Invert
1186 Parent_Relative = _openbox.BTexture_Parent_Relative
1187 Interlaced = _openbox.BTexture_Interlaced
1188 def __init__(self,*args):
1189 self.this = apply(_openbox.new_BTexture,args)
1190 self.thisown = 1
1191 def setColor(*args): return apply(_openbox.BTexture_setColor,args)
1192 def setColorTo(*args): return apply(_openbox.BTexture_setColorTo,args)
1193 def setBorderColor(*args): return apply(_openbox.BTexture_setBorderColor,args)
1194 def color(*args): return apply(_openbox.BTexture_color,args)
1195 def colorTo(*args): return apply(_openbox.BTexture_colorTo,args)
1196 def lightColor(*args): return apply(_openbox.BTexture_lightColor,args)
1197 def shadowColor(*args): return apply(_openbox.BTexture_shadowColor,args)
1198 def borderColor(*args): return apply(_openbox.BTexture_borderColor,args)
1199 def texture(*args): return apply(_openbox.BTexture_texture,args)
1200 def setTexture(*args): return apply(_openbox.BTexture_setTexture,args)
1201 def addTexture(*args): return apply(_openbox.BTexture_addTexture,args)
1202 def equals(*args): return apply(_openbox.BTexture_equals,args)
1203 def screen(*args): return apply(_openbox.BTexture_screen,args)
1204 def setScreen(*args): return apply(_openbox.BTexture_setScreen,args)
1205 def setImageControl(*args): return apply(_openbox.BTexture_setImageControl,args)
1206 def description(*args): return apply(_openbox.BTexture_description,args)
1207 def setDescription(*args): return apply(_openbox.BTexture_setDescription,args)
1208 def render(*args): return apply(_openbox.BTexture_render,args)
1209 def __repr__(self):
1210 return "<C BTexture instance at %s>" % (self.this,)
1211
1212 class BTexturePtr(BTexture):
1213 def __init__(self,this):
1214 self.this = this
1215 if not hasattr(self,"thisown"): self.thisown = 0
1216 self.__class__ = BTexture
1217 _openbox.BTexture_swigregister(BTexturePtr)
1218
1219 class OBTimer(_object):
1220 __swig_setmethods__ = {}
1221 __setattr__ = lambda self, name, value: _swig_setattr(self, OBTimer, name, value)
1222 __swig_getmethods__ = {}
1223 __getattr__ = lambda self, name: _swig_getattr(self, OBTimer, name)
1224 def __init__(self,*args):
1225 self.this = apply(_openbox.new_OBTimer,args)
1226 self.thisown = 1
1227 def __del__(self, destroy= _openbox.delete_OBTimer):
1228 try:
1229 if self.thisown: destroy(self)
1230 except: pass
1231 def fire(*args): return apply(_openbox.OBTimer_fire,args)
1232 def timing(*args): return apply(_openbox.OBTimer_timing,args)
1233 def recurring(*args): return apply(_openbox.OBTimer_recurring,args)
1234 def timeout(*args): return apply(_openbox.OBTimer_timeout,args)
1235 def startTime(*args): return apply(_openbox.OBTimer_startTime,args)
1236 def remainingTime(*args): return apply(_openbox.OBTimer_remainingTime,args)
1237 def shouldFire(*args): return apply(_openbox.OBTimer_shouldFire,args)
1238 def endTime(*args): return apply(_openbox.OBTimer_endTime,args)
1239 def setRecurring(*args): return apply(_openbox.OBTimer_setRecurring,args)
1240 def setTimeout(*args): return apply(_openbox.OBTimer_setTimeout,args)
1241 def start(*args): return apply(_openbox.OBTimer_start,args)
1242 def stop(*args): return apply(_openbox.OBTimer_stop,args)
1243 def __repr__(self):
1244 return "<C OBTimer instance at %s>" % (self.this,)
1245
1246 class OBTimerPtr(OBTimer):
1247 def __init__(self,this):
1248 self.this = this
1249 if not hasattr(self,"thisown"): self.thisown = 0
1250 self.__class__ = OBTimer
1251 _openbox.OBTimer_swigregister(OBTimerPtr)
1252
1253 class OBTimerQueueManager(_object):
1254 __swig_setmethods__ = {}
1255 __setattr__ = lambda self, name, value: _swig_setattr(self, OBTimerQueueManager, name, value)
1256 __swig_getmethods__ = {}
1257 __getattr__ = lambda self, name: _swig_getattr(self, OBTimerQueueManager, name)
1258 def __init__(self,*args):
1259 self.this = apply(_openbox.new_OBTimerQueueManager,args)
1260 self.thisown = 1
1261 def __del__(self, destroy= _openbox.delete_OBTimerQueueManager):
1262 try:
1263 if self.thisown: destroy(self)
1264 except: pass
1265 def fire(*args): return apply(_openbox.OBTimerQueueManager_fire,args)
1266 def addTimer(*args): return apply(_openbox.OBTimerQueueManager_addTimer,args)
1267 def removeTimer(*args): return apply(_openbox.OBTimerQueueManager_removeTimer,args)
1268 def __repr__(self):
1269 return "<C OBTimerQueueManager instance at %s>" % (self.this,)
1270
1271 class OBTimerQueueManagerPtr(OBTimerQueueManager):
1272 def __init__(self,this):
1273 self.this = this
1274 if not hasattr(self,"thisown"): self.thisown = 0
1275 self.__class__ = OBTimerQueueManager
1276 _openbox.OBTimerQueueManager_swigregister(OBTimerQueueManagerPtr)
1277
1278 expandTilde = _openbox.expandTilde
1279
1280 bexec = _openbox.bexec
1281
1282 textPropertyToString = _openbox.textPropertyToString
1283
1284 itostring_unsigned_long = _openbox.itostring_unsigned_long
1285
1286 itostring_long = _openbox.itostring_long
1287
1288 itostring_unsigned = _openbox.itostring_unsigned
1289
1290 itostring = _openbox.itostring
1291
1292 basename = _openbox.basename
1293
1294 X_PROTOCOL = _openbox.X_PROTOCOL
1295 X_PROTOCOL_REVISION = _openbox.X_PROTOCOL_REVISION
1296 None = _openbox.None
1297 ParentRelative = _openbox.ParentRelative
1298 CopyFromParent = _openbox.CopyFromParent
1299 PointerWindow = _openbox.PointerWindow
1300 InputFocus = _openbox.InputFocus
1301 PointerRoot = _openbox.PointerRoot
1302 AnyPropertyType = _openbox.AnyPropertyType
1303 AnyKey = _openbox.AnyKey
1304 AnyButton = _openbox.AnyButton
1305 AllTemporary = _openbox.AllTemporary
1306 CurrentTime = _openbox.CurrentTime
1307 NoSymbol = _openbox.NoSymbol
1308 NoEventMask = _openbox.NoEventMask
1309 KeyPressMask = _openbox.KeyPressMask
1310 KeyReleaseMask = _openbox.KeyReleaseMask
1311 ButtonPressMask = _openbox.ButtonPressMask
1312 ButtonReleaseMask = _openbox.ButtonReleaseMask
1313 EnterWindowMask = _openbox.EnterWindowMask
1314 LeaveWindowMask = _openbox.LeaveWindowMask
1315 PointerMotionMask = _openbox.PointerMotionMask
1316 PointerMotionHintMask = _openbox.PointerMotionHintMask
1317 Button1MotionMask = _openbox.Button1MotionMask
1318 Button2MotionMask = _openbox.Button2MotionMask
1319 Button3MotionMask = _openbox.Button3MotionMask
1320 Button4MotionMask = _openbox.Button4MotionMask
1321 Button5MotionMask = _openbox.Button5MotionMask
1322 ButtonMotionMask = _openbox.ButtonMotionMask
1323 KeymapStateMask = _openbox.KeymapStateMask
1324 ExposureMask = _openbox.ExposureMask
1325 VisibilityChangeMask = _openbox.VisibilityChangeMask
1326 StructureNotifyMask = _openbox.StructureNotifyMask
1327 ResizeRedirectMask = _openbox.ResizeRedirectMask
1328 SubstructureNotifyMask = _openbox.SubstructureNotifyMask
1329 SubstructureRedirectMask = _openbox.SubstructureRedirectMask
1330 FocusChangeMask = _openbox.FocusChangeMask
1331 PropertyChangeMask = _openbox.PropertyChangeMask
1332 ColormapChangeMask = _openbox.ColormapChangeMask
1333 OwnerGrabButtonMask = _openbox.OwnerGrabButtonMask
1334 KeyPress = _openbox.KeyPress
1335 KeyRelease = _openbox.KeyRelease
1336 ButtonPress = _openbox.ButtonPress
1337 ButtonRelease = _openbox.ButtonRelease
1338 MotionNotify = _openbox.MotionNotify
1339 EnterNotify = _openbox.EnterNotify
1340 LeaveNotify = _openbox.LeaveNotify
1341 FocusIn = _openbox.FocusIn
1342 FocusOut = _openbox.FocusOut
1343 KeymapNotify = _openbox.KeymapNotify
1344 Expose = _openbox.Expose
1345 GraphicsExpose = _openbox.GraphicsExpose
1346 NoExpose = _openbox.NoExpose
1347 VisibilityNotify = _openbox.VisibilityNotify
1348 CreateNotify = _openbox.CreateNotify
1349 DestroyNotify = _openbox.DestroyNotify
1350 UnmapNotify = _openbox.UnmapNotify
1351 MapNotify = _openbox.MapNotify
1352 MapRequest = _openbox.MapRequest
1353 ReparentNotify = _openbox.ReparentNotify
1354 ConfigureNotify = _openbox.ConfigureNotify
1355 ConfigureRequest = _openbox.ConfigureRequest
1356 GravityNotify = _openbox.GravityNotify
1357 ResizeRequest = _openbox.ResizeRequest
1358 CirculateNotify = _openbox.CirculateNotify
1359 CirculateRequest = _openbox.CirculateRequest
1360 PropertyNotify = _openbox.PropertyNotify
1361 SelectionClear = _openbox.SelectionClear
1362 SelectionRequest = _openbox.SelectionRequest
1363 SelectionNotify = _openbox.SelectionNotify
1364 ColormapNotify = _openbox.ColormapNotify
1365 ClientMessage = _openbox.ClientMessage
1366 MappingNotify = _openbox.MappingNotify
1367 LASTEvent = _openbox.LASTEvent
1368 ShiftMask = _openbox.ShiftMask
1369 LockMask = _openbox.LockMask
1370 ControlMask = _openbox.ControlMask
1371 Mod1Mask = _openbox.Mod1Mask
1372 Mod2Mask = _openbox.Mod2Mask
1373 Mod3Mask = _openbox.Mod3Mask
1374 Mod4Mask = _openbox.Mod4Mask
1375 Mod5Mask = _openbox.Mod5Mask
1376 ShiftMapIndex = _openbox.ShiftMapIndex
1377 LockMapIndex = _openbox.LockMapIndex
1378 ControlMapIndex = _openbox.ControlMapIndex
1379 Mod1MapIndex = _openbox.Mod1MapIndex
1380 Mod2MapIndex = _openbox.Mod2MapIndex
1381 Mod3MapIndex = _openbox.Mod3MapIndex
1382 Mod4MapIndex = _openbox.Mod4MapIndex
1383 Mod5MapIndex = _openbox.Mod5MapIndex
1384 Button1Mask = _openbox.Button1Mask
1385 Button2Mask = _openbox.Button2Mask
1386 Button3Mask = _openbox.Button3Mask
1387 Button4Mask = _openbox.Button4Mask
1388 Button5Mask = _openbox.Button5Mask
1389 AnyModifier = _openbox.AnyModifier
1390 Button1 = _openbox.Button1
1391 Button2 = _openbox.Button2
1392 Button3 = _openbox.Button3
1393 Button4 = _openbox.Button4
1394 Button5 = _openbox.Button5
1395 NotifyNormal = _openbox.NotifyNormal
1396 NotifyGrab = _openbox.NotifyGrab
1397 NotifyUngrab = _openbox.NotifyUngrab
1398 NotifyWhileGrabbed = _openbox.NotifyWhileGrabbed
1399 NotifyHint = _openbox.NotifyHint
1400 NotifyAncestor = _openbox.NotifyAncestor
1401 NotifyVirtual = _openbox.NotifyVirtual
1402 NotifyInferior = _openbox.NotifyInferior
1403 NotifyNonlinear = _openbox.NotifyNonlinear
1404 NotifyNonlinearVirtual = _openbox.NotifyNonlinearVirtual
1405 NotifyPointer = _openbox.NotifyPointer
1406 NotifyPointerRoot = _openbox.NotifyPointerRoot
1407 NotifyDetailNone = _openbox.NotifyDetailNone
1408 VisibilityUnobscured = _openbox.VisibilityUnobscured
1409 VisibilityPartiallyObscured = _openbox.VisibilityPartiallyObscured
1410 VisibilityFullyObscured = _openbox.VisibilityFullyObscured
1411 PlaceOnTop = _openbox.PlaceOnTop
1412 PlaceOnBottom = _openbox.PlaceOnBottom
1413 FamilyInternet = _openbox.FamilyInternet
1414 FamilyDECnet = _openbox.FamilyDECnet
1415 FamilyChaos = _openbox.FamilyChaos
1416 PropertyNewValue = _openbox.PropertyNewValue
1417 PropertyDelete = _openbox.PropertyDelete
1418 ColormapUninstalled = _openbox.ColormapUninstalled
1419 ColormapInstalled = _openbox.ColormapInstalled
1420 GrabModeSync = _openbox.GrabModeSync
1421 GrabModeAsync = _openbox.GrabModeAsync
1422 GrabSuccess = _openbox.GrabSuccess
1423 AlreadyGrabbed = _openbox.AlreadyGrabbed
1424 GrabInvalidTime = _openbox.GrabInvalidTime
1425 GrabNotViewable = _openbox.GrabNotViewable
1426 GrabFrozen = _openbox.GrabFrozen
1427 AsyncPointer = _openbox.AsyncPointer
1428 SyncPointer = _openbox.SyncPointer
1429 ReplayPointer = _openbox.ReplayPointer
1430 AsyncKeyboard = _openbox.AsyncKeyboard
1431 SyncKeyboard = _openbox.SyncKeyboard
1432 ReplayKeyboard = _openbox.ReplayKeyboard
1433 AsyncBoth = _openbox.AsyncBoth
1434 SyncBoth = _openbox.SyncBoth
1435 RevertToParent = _openbox.RevertToParent
1436 Success = _openbox.Success
1437 BadRequest = _openbox.BadRequest
1438 BadValue = _openbox.BadValue
1439 BadWindow = _openbox.BadWindow
1440 BadPixmap = _openbox.BadPixmap
1441 BadAtom = _openbox.BadAtom
1442 BadCursor = _openbox.BadCursor
1443 BadFont = _openbox.BadFont
1444 BadMatch = _openbox.BadMatch
1445 BadDrawable = _openbox.BadDrawable
1446 BadAccess = _openbox.BadAccess
1447 BadAlloc = _openbox.BadAlloc
1448 BadColor = _openbox.BadColor
1449 BadGC = _openbox.BadGC
1450 BadIDChoice = _openbox.BadIDChoice
1451 BadName = _openbox.BadName
1452 BadLength = _openbox.BadLength
1453 BadImplementation = _openbox.BadImplementation
1454 FirstExtensionError = _openbox.FirstExtensionError
1455 LastExtensionError = _openbox.LastExtensionError
1456 InputOutput = _openbox.InputOutput
1457 InputOnly = _openbox.InputOnly
1458 CWBackPixmap = _openbox.CWBackPixmap
1459 CWBackPixel = _openbox.CWBackPixel
1460 CWBorderPixmap = _openbox.CWBorderPixmap
1461 CWBorderPixel = _openbox.CWBorderPixel
1462 CWBitGravity = _openbox.CWBitGravity
1463 CWWinGravity = _openbox.CWWinGravity
1464 CWBackingStore = _openbox.CWBackingStore
1465 CWBackingPlanes = _openbox.CWBackingPlanes
1466 CWBackingPixel = _openbox.CWBackingPixel
1467 CWOverrideRedirect = _openbox.CWOverrideRedirect
1468 CWSaveUnder = _openbox.CWSaveUnder
1469 CWEventMask = _openbox.CWEventMask
1470 CWDontPropagate = _openbox.CWDontPropagate
1471 CWColormap = _openbox.CWColormap
1472 CWCursor = _openbox.CWCursor
1473 CWX = _openbox.CWX
1474 CWY = _openbox.CWY
1475 CWWidth = _openbox.CWWidth
1476 CWHeight = _openbox.CWHeight
1477 CWBorderWidth = _openbox.CWBorderWidth
1478 CWSibling = _openbox.CWSibling
1479 CWStackMode = _openbox.CWStackMode
1480 ForgetGravity = _openbox.ForgetGravity
1481 NorthWestGravity = _openbox.NorthWestGravity
1482 NorthGravity = _openbox.NorthGravity
1483 NorthEastGravity = _openbox.NorthEastGravity
1484 WestGravity = _openbox.WestGravity
1485 CenterGravity = _openbox.CenterGravity
1486 EastGravity = _openbox.EastGravity
1487 SouthWestGravity = _openbox.SouthWestGravity
1488 SouthGravity = _openbox.SouthGravity
1489 SouthEastGravity = _openbox.SouthEastGravity
1490 StaticGravity = _openbox.StaticGravity
1491 UnmapGravity = _openbox.UnmapGravity
1492 NotUseful = _openbox.NotUseful
1493 WhenMapped = _openbox.WhenMapped
1494 Always = _openbox.Always
1495 IsUnmapped = _openbox.IsUnmapped
1496 IsUnviewable = _openbox.IsUnviewable
1497 IsViewable = _openbox.IsViewable
1498 SetModeInsert = _openbox.SetModeInsert
1499 SetModeDelete = _openbox.SetModeDelete
1500 DestroyAll = _openbox.DestroyAll
1501 RetainPermanent = _openbox.RetainPermanent
1502 RetainTemporary = _openbox.RetainTemporary
1503 Above = _openbox.Above
1504 Below = _openbox.Below
1505 TopIf = _openbox.TopIf
1506 BottomIf = _openbox.BottomIf
1507 Opposite = _openbox.Opposite
1508 RaiseLowest = _openbox.RaiseLowest
1509 LowerHighest = _openbox.LowerHighest
1510 PropModeReplace = _openbox.PropModeReplace
1511 PropModePrepend = _openbox.PropModePrepend
1512 PropModeAppend = _openbox.PropModeAppend
1513 GXclear = _openbox.GXclear
1514 GXand = _openbox.GXand
1515 GXandReverse = _openbox.GXandReverse
1516 GXcopy = _openbox.GXcopy
1517 GXandInverted = _openbox.GXandInverted
1518 GXnoop = _openbox.GXnoop
1519 GXxor = _openbox.GXxor
1520 GXor = _openbox.GXor
1521 GXnor = _openbox.GXnor
1522 GXequiv = _openbox.GXequiv
1523 GXinvert = _openbox.GXinvert
1524 GXorReverse = _openbox.GXorReverse
1525 GXcopyInverted = _openbox.GXcopyInverted
1526 GXorInverted = _openbox.GXorInverted
1527 GXnand = _openbox.GXnand
1528 GXset = _openbox.GXset
1529 LineSolid = _openbox.LineSolid
1530 LineOnOffDash = _openbox.LineOnOffDash
1531 LineDoubleDash = _openbox.LineDoubleDash
1532 CapNotLast = _openbox.CapNotLast
1533 CapButt = _openbox.CapButt
1534 CapRound = _openbox.CapRound
1535 CapProjecting = _openbox.CapProjecting
1536 JoinMiter = _openbox.JoinMiter
1537 JoinRound = _openbox.JoinRound
1538 JoinBevel = _openbox.JoinBevel
1539 FillSolid = _openbox.FillSolid
1540 FillTiled = _openbox.FillTiled
1541 FillStippled = _openbox.FillStippled
1542 FillOpaqueStippled = _openbox.FillOpaqueStippled
1543 EvenOddRule = _openbox.EvenOddRule
1544 WindingRule = _openbox.WindingRule
1545 ClipByChildren = _openbox.ClipByChildren
1546 IncludeInferiors = _openbox.IncludeInferiors
1547 Unsorted = _openbox.Unsorted
1548 YSorted = _openbox.YSorted
1549 YXSorted = _openbox.YXSorted
1550 YXBanded = _openbox.YXBanded
1551 CoordModeOrigin = _openbox.CoordModeOrigin
1552 CoordModePrevious = _openbox.CoordModePrevious
1553 Complex = _openbox.Complex
1554 Nonconvex = _openbox.Nonconvex
1555 Convex = _openbox.Convex
1556 ArcChord = _openbox.ArcChord
1557 ArcPieSlice = _openbox.ArcPieSlice
1558 GCFunction = _openbox.GCFunction
1559 GCPlaneMask = _openbox.GCPlaneMask
1560 GCForeground = _openbox.GCForeground
1561 GCBackground = _openbox.GCBackground
1562 GCLineWidth = _openbox.GCLineWidth
1563 GCLineStyle = _openbox.GCLineStyle
1564 GCCapStyle = _openbox.GCCapStyle
1565 GCJoinStyle = _openbox.GCJoinStyle
1566 GCFillStyle = _openbox.GCFillStyle
1567 GCFillRule = _openbox.GCFillRule
1568 GCTile = _openbox.GCTile
1569 GCStipple = _openbox.GCStipple
1570 GCTileStipXOrigin = _openbox.GCTileStipXOrigin
1571 GCTileStipYOrigin = _openbox.GCTileStipYOrigin
1572 GCFont = _openbox.GCFont
1573 GCSubwindowMode = _openbox.GCSubwindowMode
1574 GCGraphicsExposures = _openbox.GCGraphicsExposures
1575 GCClipXOrigin = _openbox.GCClipXOrigin
1576 GCClipYOrigin = _openbox.GCClipYOrigin
1577 GCClipMask = _openbox.GCClipMask
1578 GCDashOffset = _openbox.GCDashOffset
1579 GCDashList = _openbox.GCDashList
1580 GCArcMode = _openbox.GCArcMode
1581 GCLastBit = _openbox.GCLastBit
1582 FontLeftToRight = _openbox.FontLeftToRight
1583 FontRightToLeft = _openbox.FontRightToLeft
1584 FontChange = _openbox.FontChange
1585 XYBitmap = _openbox.XYBitmap
1586 XYPixmap = _openbox.XYPixmap
1587 ZPixmap = _openbox.ZPixmap
1588 AllocNone = _openbox.AllocNone
1589 AllocAll = _openbox.AllocAll
1590 DoRed = _openbox.DoRed
1591 DoGreen = _openbox.DoGreen
1592 DoBlue = _openbox.DoBlue
1593 CursorShape = _openbox.CursorShape
1594 TileShape = _openbox.TileShape
1595 StippleShape = _openbox.StippleShape
1596 AutoRepeatModeOff = _openbox.AutoRepeatModeOff
1597 AutoRepeatModeOn = _openbox.AutoRepeatModeOn
1598 AutoRepeatModeDefault = _openbox.AutoRepeatModeDefault
1599 LedModeOff = _openbox.LedModeOff
1600 LedModeOn = _openbox.LedModeOn
1601 KBKeyClickPercent = _openbox.KBKeyClickPercent
1602 KBBellPercent = _openbox.KBBellPercent
1603 KBBellPitch = _openbox.KBBellPitch
1604 KBBellDuration = _openbox.KBBellDuration
1605 KBLed = _openbox.KBLed
1606 KBLedMode = _openbox.KBLedMode
1607 KBKey = _openbox.KBKey
1608 KBAutoRepeatMode = _openbox.KBAutoRepeatMode
1609 MappingSuccess = _openbox.MappingSuccess
1610 MappingBusy = _openbox.MappingBusy
1611 MappingFailed = _openbox.MappingFailed
1612 MappingModifier = _openbox.MappingModifier
1613 MappingKeyboard = _openbox.MappingKeyboard
1614 MappingPointer = _openbox.MappingPointer
1615 DontPreferBlanking = _openbox.DontPreferBlanking
1616 PreferBlanking = _openbox.PreferBlanking
1617 DefaultBlanking = _openbox.DefaultBlanking
1618 DisableScreenSaver = _openbox.DisableScreenSaver
1619 DisableScreenInterval = _openbox.DisableScreenInterval
1620 DontAllowExposures = _openbox.DontAllowExposures
1621 AllowExposures = _openbox.AllowExposures
1622 DefaultExposures = _openbox.DefaultExposures
1623 ScreenSaverReset = _openbox.ScreenSaverReset
1624 ScreenSaverActive = _openbox.ScreenSaverActive
1625 HostInsert = _openbox.HostInsert
1626 HostDelete = _openbox.HostDelete
1627 EnableAccess = _openbox.EnableAccess
1628 DisableAccess = _openbox.DisableAccess
1629 StaticGray = _openbox.StaticGray
1630 GrayScale = _openbox.GrayScale
1631 StaticColor = _openbox.StaticColor
1632 PseudoColor = _openbox.PseudoColor
1633 TrueColor = _openbox.TrueColor
1634 DirectColor = _openbox.DirectColor
1635 LSBFirst = _openbox.LSBFirst
1636 MSBFirst = _openbox.MSBFirst
1637 class Cursors(_object):
1638 __swig_setmethods__ = {}
1639 __setattr__ = lambda self, name, value: _swig_setattr(self, Cursors, name, value)
1640 __swig_getmethods__ = {}
1641 __getattr__ = lambda self, name: _swig_getattr(self, Cursors, name)
1642 __swig_setmethods__["session"] = _openbox.Cursors_session_set
1643 __swig_getmethods__["session"] = _openbox.Cursors_session_get
1644 if _newclass:session = property(_openbox.Cursors_session_get,_openbox.Cursors_session_set)
1645 __swig_setmethods__["move"] = _openbox.Cursors_move_set
1646 __swig_getmethods__["move"] = _openbox.Cursors_move_get
1647 if _newclass:move = property(_openbox.Cursors_move_get,_openbox.Cursors_move_set)
1648 __swig_setmethods__["ll_angle"] = _openbox.Cursors_ll_angle_set
1649 __swig_getmethods__["ll_angle"] = _openbox.Cursors_ll_angle_get
1650 if _newclass:ll_angle = property(_openbox.Cursors_ll_angle_get,_openbox.Cursors_ll_angle_set)
1651 __swig_setmethods__["lr_angle"] = _openbox.Cursors_lr_angle_set
1652 __swig_getmethods__["lr_angle"] = _openbox.Cursors_lr_angle_get
1653 if _newclass:lr_angle = property(_openbox.Cursors_lr_angle_get,_openbox.Cursors_lr_angle_set)
1654 __swig_setmethods__["ul_angle"] = _openbox.Cursors_ul_angle_set
1655 __swig_getmethods__["ul_angle"] = _openbox.Cursors_ul_angle_get
1656 if _newclass:ul_angle = property(_openbox.Cursors_ul_angle_get,_openbox.Cursors_ul_angle_set)
1657 __swig_setmethods__["ur_angle"] = _openbox.Cursors_ur_angle_set
1658 __swig_getmethods__["ur_angle"] = _openbox.Cursors_ur_angle_get
1659 if _newclass:ur_angle = property(_openbox.Cursors_ur_angle_get,_openbox.Cursors_ur_angle_set)
1660 def __init__(self): raise RuntimeError, "No constructor defined"
1661 def __repr__(self):
1662 return "<C Cursors instance at %s>" % (self.this,)
1663
1664 class CursorsPtr(Cursors):
1665 def __init__(self,this):
1666 self.this = this
1667 if not hasattr(self,"thisown"): self.thisown = 0
1668 self.__class__ = Cursors
1669 _openbox.Cursors_swigregister(CursorsPtr)
1670 cvar = _openbox.cvar
1671 BSENTINEL = cvar.BSENTINEL
1672
1673 class Openbox(OtkEventDispatcher,OtkEventHandler):
1674 __swig_setmethods__ = {}
1675 for _s in [OtkEventDispatcher,OtkEventHandler]: __swig_setmethods__.update(_s.__swig_setmethods__)
1676 __setattr__ = lambda self, name, value: _swig_setattr(self, Openbox, name, value)
1677 __swig_getmethods__ = {}
1678 for _s in [OtkEventDispatcher,OtkEventHandler]: __swig_getmethods__.update(_s.__swig_getmethods__)
1679 __getattr__ = lambda self, name: _swig_getattr(self, Openbox, name)
1680 State_Starting = _openbox.Openbox_State_Starting
1681 State_Normal = _openbox.Openbox_State_Normal
1682 State_Exiting = _openbox.Openbox_State_Exiting
1683 def state(*args): return apply(_openbox.Openbox_state,args)
1684 def timerManager(*args): return apply(_openbox.Openbox_timerManager,args)
1685 def property(*args): return apply(_openbox.Openbox_property,args)
1686 def actions(*args): return apply(_openbox.Openbox_actions,args)
1687 def bindings(*args): return apply(_openbox.Openbox_bindings,args)
1688 def screen(*args): return apply(_openbox.Openbox_screen,args)
1689 def screenCount(*args): return apply(_openbox.Openbox_screenCount,args)
1690 def cursors(*args): return apply(_openbox.Openbox_cursors,args)
1691 def addClient(*args): return apply(_openbox.Openbox_addClient,args)
1692 def removeClient(*args): return apply(_openbox.Openbox_removeClient,args)
1693 def findClient(*args): return apply(_openbox.Openbox_findClient,args)
1694 def focusedClient(*args): return apply(_openbox.Openbox_focusedClient,args)
1695 def setFocusedClient(*args): return apply(_openbox.Openbox_setFocusedClient,args)
1696 def focusedScreen(*args): return apply(_openbox.Openbox_focusedScreen,args)
1697 def shutdown(*args): return apply(_openbox.Openbox_shutdown,args)
1698 def restart(*args): return apply(_openbox.Openbox_restart,args)
1699 def execute(*args): return apply(_openbox.Openbox_execute,args)
1700 def __init__(self): raise RuntimeError, "No constructor defined"
1701 def __repr__(self):
1702 return "<C Openbox instance at %s>" % (self.this,)
1703
1704 class OpenboxPtr(Openbox):
1705 def __init__(self,this):
1706 self.this = this
1707 if not hasattr(self,"thisown"): self.thisown = 0
1708 self.__class__ = Openbox
1709 _openbox.Openbox_swigregister(OpenboxPtr)
1710
1711 class OBScreen(OtkEventHandler,):
1712 __swig_setmethods__ = {}
1713 for _s in [OtkEventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
1714 __setattr__ = lambda self, name, value: _swig_setattr(self, OBScreen, name, value)
1715 __swig_getmethods__ = {}
1716 for _s in [OtkEventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
1717 __getattr__ = lambda self, name: _swig_getattr(self, OBScreen, name)
1718 def client(*args): return apply(_openbox.OBScreen_client,args)
1719 def clientCount(*args): return apply(_openbox.OBScreen_clientCount,args)
1720 event_mask = _openbox.OBScreen_event_mask
1721 def number(*args): return apply(_openbox.OBScreen_number,args)
1722 def managed(*args): return apply(_openbox.OBScreen_managed,args)
1723 def imageControl(*args): return apply(_openbox.OBScreen_imageControl,args)
1724 def area(*args): return apply(_openbox.OBScreen_area,args)
1725 def style(*args): return apply(_openbox.OBScreen_style,args)
1726 def focuswindow(*args): return apply(_openbox.OBScreen_focuswindow,args)
1727 def desktop(*args): return apply(_openbox.OBScreen_desktop,args)
1728 def numDesktops(*args): return apply(_openbox.OBScreen_numDesktops,args)
1729 def updateStrut(*args): return apply(_openbox.OBScreen_updateStrut,args)
1730 def manageExisting(*args): return apply(_openbox.OBScreen_manageExisting,args)
1731 def manageWindow(*args): return apply(_openbox.OBScreen_manageWindow,args)
1732 def unmanageWindow(*args): return apply(_openbox.OBScreen_unmanageWindow,args)
1733 def restack(*args): return apply(_openbox.OBScreen_restack,args)
1734 def setDesktopName(*args): return apply(_openbox.OBScreen_setDesktopName,args)
1735 def propertyHandler(*args): return apply(_openbox.OBScreen_propertyHandler,args)
1736 def clientMessageHandler(*args): return apply(_openbox.OBScreen_clientMessageHandler,args)
1737 def mapRequestHandler(*args): return apply(_openbox.OBScreen_mapRequestHandler,args)
1738 def __init__(self): raise RuntimeError, "No constructor defined"
1739 def __repr__(self):
1740 return "<C OBScreen instance at %s>" % (self.this,)
1741
1742 class OBScreenPtr(OBScreen):
1743 def __init__(self,this):
1744 self.this = this
1745 if not hasattr(self,"thisown"): self.thisown = 0
1746 self.__class__ = OBScreen
1747 _openbox.OBScreen_swigregister(OBScreenPtr)
1748
1749 class MwmHints(_object):
1750 __swig_setmethods__ = {}
1751 __setattr__ = lambda self, name, value: _swig_setattr(self, MwmHints, name, value)
1752 __swig_getmethods__ = {}
1753 __getattr__ = lambda self, name: _swig_getattr(self, MwmHints, name)
1754 __swig_setmethods__["flags"] = _openbox.MwmHints_flags_set
1755 __swig_getmethods__["flags"] = _openbox.MwmHints_flags_get
1756 if _newclass:flags = property(_openbox.MwmHints_flags_get,_openbox.MwmHints_flags_set)
1757 __swig_setmethods__["functions"] = _openbox.MwmHints_functions_set
1758 __swig_getmethods__["functions"] = _openbox.MwmHints_functions_get
1759 if _newclass:functions = property(_openbox.MwmHints_functions_get,_openbox.MwmHints_functions_set)
1760 __swig_setmethods__["decorations"] = _openbox.MwmHints_decorations_set
1761 __swig_getmethods__["decorations"] = _openbox.MwmHints_decorations_get
1762 if _newclass:decorations = property(_openbox.MwmHints_decorations_get,_openbox.MwmHints_decorations_set)
1763 elements = _openbox.MwmHints_elements
1764 def __init__(self): raise RuntimeError, "No constructor defined"
1765 def __repr__(self):
1766 return "<C MwmHints instance at %s>" % (self.this,)
1767
1768 class MwmHintsPtr(MwmHints):
1769 def __init__(self,this):
1770 self.this = this
1771 if not hasattr(self,"thisown"): self.thisown = 0
1772 self.__class__ = MwmHints
1773 _openbox.MwmHints_swigregister(MwmHintsPtr)
1774
1775 class OBClient(OtkEventHandler,):
1776 __swig_setmethods__ = {}
1777 for _s in [OtkEventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
1778 __setattr__ = lambda self, name, value: _swig_setattr(self, OBClient, name, value)
1779 __swig_getmethods__ = {}
1780 for _s in [OtkEventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
1781 __getattr__ = lambda self, name: _swig_getattr(self, OBClient, name)
1782 __swig_setmethods__["frame"] = _openbox.OBClient_frame_set
1783 __swig_getmethods__["frame"] = _openbox.OBClient_frame_get
1784 if _newclass:frame = property(_openbox.OBClient_frame_get,_openbox.OBClient_frame_set)
1785 Layer_Icon = _openbox.OBClient_Layer_Icon
1786 Layer_Desktop = _openbox.OBClient_Layer_Desktop
1787 Layer_Below = _openbox.OBClient_Layer_Below
1788 Layer_Normal = _openbox.OBClient_Layer_Normal
1789 Layer_Above = _openbox.OBClient_Layer_Above
1790 Layer_Top = _openbox.OBClient_Layer_Top
1791 Layer_Fullscreen = _openbox.OBClient_Layer_Fullscreen
1792 Layer_Internal = _openbox.OBClient_Layer_Internal
1793 NUM_LAYERS = _openbox.OBClient_NUM_LAYERS
1794 TopLeft = _openbox.OBClient_TopLeft
1795 TopRight = _openbox.OBClient_TopRight
1796 BottomLeft = _openbox.OBClient_BottomLeft
1797 BottomRight = _openbox.OBClient_BottomRight
1798 Type_Desktop = _openbox.OBClient_Type_Desktop
1799 Type_Dock = _openbox.OBClient_Type_Dock
1800 Type_Toolbar = _openbox.OBClient_Type_Toolbar
1801 Type_Menu = _openbox.OBClient_Type_Menu
1802 Type_Utility = _openbox.OBClient_Type_Utility
1803 Type_Splash = _openbox.OBClient_Type_Splash
1804 Type_Dialog = _openbox.OBClient_Type_Dialog
1805 Type_Normal = _openbox.OBClient_Type_Normal
1806 MwmFlag_Functions = _openbox.OBClient_MwmFlag_Functions
1807 MwmFlag_Decorations = _openbox.OBClient_MwmFlag_Decorations
1808 MwmFunc_All = _openbox.OBClient_MwmFunc_All
1809 MwmFunc_Resize = _openbox.OBClient_MwmFunc_Resize
1810 MwmFunc_Move = _openbox.OBClient_MwmFunc_Move
1811 MwmFunc_Iconify = _openbox.OBClient_MwmFunc_Iconify
1812 MwmFunc_Maximize = _openbox.OBClient_MwmFunc_Maximize
1813 MwmDecor_All = _openbox.OBClient_MwmDecor_All
1814 MwmDecor_Border = _openbox.OBClient_MwmDecor_Border
1815 MwmDecor_Handle = _openbox.OBClient_MwmDecor_Handle
1816 MwmDecor_Title = _openbox.OBClient_MwmDecor_Title
1817 MwmDecor_Iconify = _openbox.OBClient_MwmDecor_Iconify
1818 MwmDecor_Maximize = _openbox.OBClient_MwmDecor_Maximize
1819 Func_Resize = _openbox.OBClient_Func_Resize
1820 Func_Move = _openbox.OBClient_Func_Move
1821 Func_Iconify = _openbox.OBClient_Func_Iconify
1822 Func_Maximize = _openbox.OBClient_Func_Maximize
1823 Func_Close = _openbox.OBClient_Func_Close
1824 Decor_Titlebar = _openbox.OBClient_Decor_Titlebar
1825 Decor_Handle = _openbox.OBClient_Decor_Handle
1826 Decor_Border = _openbox.OBClient_Decor_Border
1827 Decor_Iconify = _openbox.OBClient_Decor_Iconify
1828 Decor_Maximize = _openbox.OBClient_Decor_Maximize
1829 Decor_Sticky = _openbox.OBClient_Decor_Sticky
1830 Decor_Close = _openbox.OBClient_Decor_Close
1831 State_Remove = _openbox.OBClient_State_Remove
1832 State_Add = _openbox.OBClient_State_Add
1833 State_Toggle = _openbox.OBClient_State_Toggle
1834 event_mask = _openbox.OBClient_event_mask
1835 no_propagate_mask = _openbox.OBClient_no_propagate_mask
1836 __swig_setmethods__["ignore_unmaps"] = _openbox.OBClient_ignore_unmaps_set
1837 __swig_getmethods__["ignore_unmaps"] = _openbox.OBClient_ignore_unmaps_get
1838 if _newclass:ignore_unmaps = property(_openbox.OBClient_ignore_unmaps_get,_openbox.OBClient_ignore_unmaps_set)
1839 def screen(*args): return apply(_openbox.OBClient_screen,args)
1840 def window(*args): return apply(_openbox.OBClient_window,args)
1841 def type(*args): return apply(_openbox.OBClient_type,args)
1842 def normal(*args): return apply(_openbox.OBClient_normal,args)
1843 def desktop(*args): return apply(_openbox.OBClient_desktop,args)
1844 def title(*args): return apply(_openbox.OBClient_title,args)
1845 def iconTitle(*args): return apply(_openbox.OBClient_iconTitle,args)
1846 def appName(*args): return apply(_openbox.OBClient_appName,args)
1847 def appClass(*args): return apply(_openbox.OBClient_appClass,args)
1848 def role(*args): return apply(_openbox.OBClient_role,args)
1849 def canFocus(*args): return apply(_openbox.OBClient_canFocus,args)
1850 def urgent(*args): return apply(_openbox.OBClient_urgent,args)
1851 def focusNotify(*args): return apply(_openbox.OBClient_focusNotify,args)
1852 def shaped(*args): return apply(_openbox.OBClient_shaped,args)
1853 def gravity(*args): return apply(_openbox.OBClient_gravity,args)
1854 def positionRequested(*args): return apply(_openbox.OBClient_positionRequested,args)
1855 def decorations(*args): return apply(_openbox.OBClient_decorations,args)
1856 def funtions(*args): return apply(_openbox.OBClient_funtions,args)
1857 def transientFor(*args): return apply(_openbox.OBClient_transientFor,args)
1858 def modal(*args): return apply(_openbox.OBClient_modal,args)
1859 def shaded(*args): return apply(_openbox.OBClient_shaded,args)
1860 def iconic(*args): return apply(_openbox.OBClient_iconic,args)
1861 def maxVert(*args): return apply(_openbox.OBClient_maxVert,args)
1862 def maxHorz(*args): return apply(_openbox.OBClient_maxHorz,args)
1863 def layer(*args): return apply(_openbox.OBClient_layer,args)
1864 def toggleClientBorder(*args): return apply(_openbox.OBClient_toggleClientBorder,args)
1865 def area(*args): return apply(_openbox.OBClient_area,args)
1866 def strut(*args): return apply(_openbox.OBClient_strut,args)
1867 def move(*args): return apply(_openbox.OBClient_move,args)
1868 def resize(*args): return apply(_openbox.OBClient_resize,args)
1869 def focus(*args): return apply(_openbox.OBClient_focus,args)
1870 def unfocus(*args): return apply(_openbox.OBClient_unfocus,args)
1871 def focusHandler(*args): return apply(_openbox.OBClient_focusHandler,args)
1872 def unfocusHandler(*args): return apply(_openbox.OBClient_unfocusHandler,args)
1873 def propertyHandler(*args): return apply(_openbox.OBClient_propertyHandler,args)
1874 def clientMessageHandler(*args): return apply(_openbox.OBClient_clientMessageHandler,args)
1875 def configureRequestHandler(*args): return apply(_openbox.OBClient_configureRequestHandler,args)
1876 def unmapHandler(*args): return apply(_openbox.OBClient_unmapHandler,args)
1877 def destroyHandler(*args): return apply(_openbox.OBClient_destroyHandler,args)
1878 def reparentHandler(*args): return apply(_openbox.OBClient_reparentHandler,args)
1879 def __init__(self): raise RuntimeError, "No constructor defined"
1880 def __repr__(self):
1881 return "<C OBClient instance at %s>" % (self.this,)
1882
1883 class OBClientPtr(OBClient):
1884 def __init__(self,this):
1885 self.this = this
1886 if not hasattr(self,"thisown"): self.thisown = 0
1887 self.__class__ = OBClient
1888 _openbox.OBClient_swigregister(OBClientPtr)
1889
1890 MC_Frame = _openbox.MC_Frame
1891 MC_Titlebar = _openbox.MC_Titlebar
1892 MC_Handle = _openbox.MC_Handle
1893 MC_Window = _openbox.MC_Window
1894 MC_MaximizeButton = _openbox.MC_MaximizeButton
1895 MC_CloseButton = _openbox.MC_CloseButton
1896 MC_IconifyButton = _openbox.MC_IconifyButton
1897 MC_StickyButton = _openbox.MC_StickyButton
1898 MC_Grip = _openbox.MC_Grip
1899 MC_Root = _openbox.MC_Root
1900 MC_MenuItem = _openbox.MC_MenuItem
1901 NUM_MOUSE_CONTEXT = _openbox.NUM_MOUSE_CONTEXT
1902 MousePress = _openbox.MousePress
1903 MouseClick = _openbox.MouseClick
1904 MouseDoubleClick = _openbox.MouseDoubleClick
1905 MouseMotion = _openbox.MouseMotion
1906 NUM_MOUSE_ACTION = _openbox.NUM_MOUSE_ACTION
1907 KC_Menu = _openbox.KC_Menu
1908 KC_All = _openbox.KC_All
1909 NUM_KEY_CONTEXT = _openbox.NUM_KEY_CONTEXT
1910 EventEnterWindow = _openbox.EventEnterWindow
1911 EventLeaveWindow = _openbox.EventLeaveWindow
1912 EventPlaceWindow = _openbox.EventPlaceWindow
1913 EventNewWindow = _openbox.EventNewWindow
1914 EventCloseWindow = _openbox.EventCloseWindow
1915 EventStartup = _openbox.EventStartup
1916 EventShutdown = _openbox.EventShutdown
1917 EventFocus = _openbox.EventFocus
1918 EventBell = _openbox.EventBell
1919 NUM_EVENTS = _openbox.NUM_EVENTS
1920 class MouseData(_object):
1921 __swig_setmethods__ = {}
1922 __setattr__ = lambda self, name, value: _swig_setattr(self, MouseData, name, value)
1923 __swig_getmethods__ = {}
1924 __getattr__ = lambda self, name: _swig_getattr(self, MouseData, name)
1925 __swig_setmethods__["screen"] = _openbox.MouseData_screen_set
1926 __swig_getmethods__["screen"] = _openbox.MouseData_screen_get
1927 if _newclass:screen = property(_openbox.MouseData_screen_get,_openbox.MouseData_screen_set)
1928 __swig_setmethods__["client"] = _openbox.MouseData_client_set
1929 __swig_getmethods__["client"] = _openbox.MouseData_client_get
1930 if _newclass:client = property(_openbox.MouseData_client_get,_openbox.MouseData_client_set)
1931 __swig_setmethods__["time"] = _openbox.MouseData_time_set
1932 __swig_getmethods__["time"] = _openbox.MouseData_time_get
1933 if _newclass:time = property(_openbox.MouseData_time_get,_openbox.MouseData_time_set)
1934 __swig_setmethods__["state"] = _openbox.MouseData_state_set
1935 __swig_getmethods__["state"] = _openbox.MouseData_state_get
1936 if _newclass:state = property(_openbox.MouseData_state_get,_openbox.MouseData_state_set)
1937 __swig_setmethods__["button"] = _openbox.MouseData_button_set
1938 __swig_getmethods__["button"] = _openbox.MouseData_button_get
1939 if _newclass:button = property(_openbox.MouseData_button_get,_openbox.MouseData_button_set)
1940 __swig_setmethods__["context"] = _openbox.MouseData_context_set
1941 __swig_getmethods__["context"] = _openbox.MouseData_context_get
1942 if _newclass:context = property(_openbox.MouseData_context_get,_openbox.MouseData_context_set)
1943 __swig_setmethods__["action"] = _openbox.MouseData_action_set
1944 __swig_getmethods__["action"] = _openbox.MouseData_action_get
1945 if _newclass:action = property(_openbox.MouseData_action_get,_openbox.MouseData_action_set)
1946 __swig_setmethods__["xroot"] = _openbox.MouseData_xroot_set
1947 __swig_getmethods__["xroot"] = _openbox.MouseData_xroot_get
1948 if _newclass:xroot = property(_openbox.MouseData_xroot_get,_openbox.MouseData_xroot_set)
1949 __swig_setmethods__["yroot"] = _openbox.MouseData_yroot_set
1950 __swig_getmethods__["yroot"] = _openbox.MouseData_yroot_get
1951 if _newclass:yroot = property(_openbox.MouseData_yroot_get,_openbox.MouseData_yroot_set)
1952 __swig_setmethods__["pressx"] = _openbox.MouseData_pressx_set
1953 __swig_getmethods__["pressx"] = _openbox.MouseData_pressx_get
1954 if _newclass:pressx = property(_openbox.MouseData_pressx_get,_openbox.MouseData_pressx_set)
1955 __swig_setmethods__["pressy"] = _openbox.MouseData_pressy_set
1956 __swig_getmethods__["pressy"] = _openbox.MouseData_pressy_get
1957 if _newclass:pressy = property(_openbox.MouseData_pressy_get,_openbox.MouseData_pressy_set)
1958 __swig_setmethods__["press_clientx"] = _openbox.MouseData_press_clientx_set
1959 __swig_getmethods__["press_clientx"] = _openbox.MouseData_press_clientx_get
1960 if _newclass:press_clientx = property(_openbox.MouseData_press_clientx_get,_openbox.MouseData_press_clientx_set)
1961 __swig_setmethods__["press_clienty"] = _openbox.MouseData_press_clienty_set
1962 __swig_getmethods__["press_clienty"] = _openbox.MouseData_press_clienty_get
1963 if _newclass:press_clienty = property(_openbox.MouseData_press_clienty_get,_openbox.MouseData_press_clienty_set)
1964 __swig_setmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_set
1965 __swig_getmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_get
1966 if _newclass:press_clientwidth = property(_openbox.MouseData_press_clientwidth_get,_openbox.MouseData_press_clientwidth_set)
1967 __swig_setmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_set
1968 __swig_getmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_get
1969 if _newclass:press_clientheight = property(_openbox.MouseData_press_clientheight_get,_openbox.MouseData_press_clientheight_set)
1970 def __init__(self,*args):
1971 self.this = apply(_openbox.new_MouseData,args)
1972 self.thisown = 1
1973 def __repr__(self):
1974 return "<C MouseData instance at %s>" % (self.this,)
1975
1976 class MouseDataPtr(MouseData):
1977 def __init__(self,this):
1978 self.this = this
1979 if not hasattr(self,"thisown"): self.thisown = 0
1980 self.__class__ = MouseData
1981 _openbox.MouseData_swigregister(MouseDataPtr)
1982
1983 class EventData(_object):
1984 __swig_setmethods__ = {}
1985 __setattr__ = lambda self, name, value: _swig_setattr(self, EventData, name, value)
1986 __swig_getmethods__ = {}
1987 __getattr__ = lambda self, name: _swig_getattr(self, EventData, name)
1988 __swig_setmethods__["screen"] = _openbox.EventData_screen_set
1989 __swig_getmethods__["screen"] = _openbox.EventData_screen_get
1990 if _newclass:screen = property(_openbox.EventData_screen_get,_openbox.EventData_screen_set)
1991 __swig_setmethods__["client"] = _openbox.EventData_client_set
1992 __swig_getmethods__["client"] = _openbox.EventData_client_get
1993 if _newclass:client = property(_openbox.EventData_client_get,_openbox.EventData_client_set)
1994 __swig_setmethods__["state"] = _openbox.EventData_state_set
1995 __swig_getmethods__["state"] = _openbox.EventData_state_get
1996 if _newclass:state = property(_openbox.EventData_state_get,_openbox.EventData_state_set)
1997 __swig_setmethods__["action"] = _openbox.EventData_action_set
1998 __swig_getmethods__["action"] = _openbox.EventData_action_get
1999 if _newclass:action = property(_openbox.EventData_action_get,_openbox.EventData_action_set)
2000 def __init__(self,*args):
2001 self.this = apply(_openbox.new_EventData,args)
2002 self.thisown = 1
2003 def __repr__(self):
2004 return "<C EventData instance at %s>" % (self.this,)
2005
2006 class EventDataPtr(EventData):
2007 def __init__(self,this):
2008 self.this = this
2009 if not hasattr(self,"thisown"): self.thisown = 0
2010 self.__class__ = EventData
2011 _openbox.EventData_swigregister(EventDataPtr)
2012
2013 class KeyData(_object):
2014 __swig_setmethods__ = {}
2015 __setattr__ = lambda self, name, value: _swig_setattr(self, KeyData, name, value)
2016 __swig_getmethods__ = {}
2017 __getattr__ = lambda self, name: _swig_getattr(self, KeyData, name)
2018 __swig_setmethods__["screen"] = _openbox.KeyData_screen_set
2019 __swig_getmethods__["screen"] = _openbox.KeyData_screen_get
2020 if _newclass:screen = property(_openbox.KeyData_screen_get,_openbox.KeyData_screen_set)
2021 __swig_setmethods__["client"] = _openbox.KeyData_client_set
2022 __swig_getmethods__["client"] = _openbox.KeyData_client_get
2023 if _newclass:client = property(_openbox.KeyData_client_get,_openbox.KeyData_client_set)
2024 __swig_setmethods__["time"] = _openbox.KeyData_time_set
2025 __swig_getmethods__["time"] = _openbox.KeyData_time_get
2026 if _newclass:time = property(_openbox.KeyData_time_get,_openbox.KeyData_time_set)
2027 __swig_setmethods__["state"] = _openbox.KeyData_state_set
2028 __swig_getmethods__["state"] = _openbox.KeyData_state_get
2029 if _newclass:state = property(_openbox.KeyData_state_get,_openbox.KeyData_state_set)
2030 __swig_setmethods__["key"] = _openbox.KeyData_key_set
2031 __swig_getmethods__["key"] = _openbox.KeyData_key_get
2032 if _newclass:key = property(_openbox.KeyData_key_get,_openbox.KeyData_key_set)
2033 def __init__(self,*args):
2034 self.this = apply(_openbox.new_KeyData,args)
2035 self.thisown = 1
2036 def __repr__(self):
2037 return "<C KeyData instance at %s>" % (self.this,)
2038
2039 class KeyDataPtr(KeyData):
2040 def __init__(self,this):
2041 self.this = this
2042 if not hasattr(self,"thisown"): self.thisown = 0
2043 self.__class__ = KeyData
2044 _openbox.KeyData_swigregister(KeyDataPtr)
2045
2046 mbind = _openbox.mbind
2047
2048 kbind = _openbox.kbind
2049
2050 ebind = _openbox.ebind
2051
2052 set_reset_key = _openbox.set_reset_key
2053
2054 send_client_msg = _openbox.send_client_msg
2055
2056
This page took 0.155935 seconds and 3 git commands to generate.