]> icculus.org git repositories - mikachu/openbox.git/blob - src/openbox.py
add more doxygen
[mikachu/openbox.git] / 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 Display_display = _openbox.Display_display
33
34 class Display(_object):
35     __swig_setmethods__ = {}
36     __setattr__ = lambda self, name, value: _swig_setattr(self, Display, name, value)
37     __swig_getmethods__ = {}
38     __getattr__ = lambda self, name: _swig_getattr(self, Display, name)
39     __swig_getmethods__["initialize"] = lambda x: _openbox.Display_initialize
40     if _newclass:initialize = staticmethod(_openbox.Display_initialize)
41     __swig_getmethods__["destroy"] = lambda x: _openbox.Display_destroy
42     if _newclass:destroy = staticmethod(_openbox.Display_destroy)
43     __swig_getmethods__["gcCache"] = lambda x: _openbox.Display_gcCache
44     if _newclass:gcCache = staticmethod(_openbox.Display_gcCache)
45     __swig_getmethods__["screenInfo"] = lambda x: _openbox.Display_screenInfo
46     if _newclass:screenInfo = staticmethod(_openbox.Display_screenInfo)
47     __swig_getmethods__["findScreen"] = lambda x: _openbox.Display_findScreen
48     if _newclass:findScreen = staticmethod(_openbox.Display_findScreen)
49     __swig_getmethods__["xkb"] = lambda x: _openbox.Display_xkb
50     if _newclass:xkb = staticmethod(_openbox.Display_xkb)
51     __swig_getmethods__["xkbEventBase"] = lambda x: _openbox.Display_xkbEventBase
52     if _newclass:xkbEventBase = staticmethod(_openbox.Display_xkbEventBase)
53     __swig_getmethods__["shape"] = lambda x: _openbox.Display_shape
54     if _newclass:shape = staticmethod(_openbox.Display_shape)
55     __swig_getmethods__["shapeEventBase"] = lambda x: _openbox.Display_shapeEventBase
56     if _newclass:shapeEventBase = staticmethod(_openbox.Display_shapeEventBase)
57     __swig_getmethods__["xinerama"] = lambda x: _openbox.Display_xinerama
58     if _newclass:xinerama = staticmethod(_openbox.Display_xinerama)
59     __swig_getmethods__["numLockMask"] = lambda x: _openbox.Display_numLockMask
60     if _newclass:numLockMask = staticmethod(_openbox.Display_numLockMask)
61     __swig_getmethods__["scrollLockMask"] = lambda x: _openbox.Display_scrollLockMask
62     if _newclass:scrollLockMask = staticmethod(_openbox.Display_scrollLockMask)
63     __swig_getmethods__["grab"] = lambda x: _openbox.Display_grab
64     if _newclass:grab = staticmethod(_openbox.Display_grab)
65     __swig_getmethods__["ungrab"] = lambda x: _openbox.Display_ungrab
66     if _newclass:ungrab = staticmethod(_openbox.Display_ungrab)
67     __swig_getmethods__["grabButton"] = lambda x: _openbox.Display_grabButton
68     if _newclass:grabButton = staticmethod(_openbox.Display_grabButton)
69     __swig_getmethods__["ungrabButton"] = lambda x: _openbox.Display_ungrabButton
70     if _newclass:ungrabButton = staticmethod(_openbox.Display_ungrabButton)
71     __swig_getmethods__["grabKey"] = lambda x: _openbox.Display_grabKey
72     if _newclass:grabKey = staticmethod(_openbox.Display_grabKey)
73     __swig_getmethods__["ungrabKey"] = lambda x: _openbox.Display_ungrabKey
74     if _newclass:ungrabKey = staticmethod(_openbox.Display_ungrabKey)
75     def __init__(self): raise RuntimeError, "No constructor defined"
76     def __repr__(self):
77         return "<C Display instance at %s>" % (self.this,)
78
79 class DisplayPtr(Display):
80     def __init__(self,this):
81         self.this = this
82         if not hasattr(self,"thisown"): self.thisown = 0
83         self.__class__ = Display
84 _openbox.Display_swigregister(DisplayPtr)
85 Display_initialize = _openbox.Display_initialize
86
87 Display_destroy = _openbox.Display_destroy
88
89 Display_gcCache = _openbox.Display_gcCache
90
91 Display_screenInfo = _openbox.Display_screenInfo
92
93 Display_findScreen = _openbox.Display_findScreen
94
95 Display_xkb = _openbox.Display_xkb
96
97 Display_xkbEventBase = _openbox.Display_xkbEventBase
98
99 Display_shape = _openbox.Display_shape
100
101 Display_shapeEventBase = _openbox.Display_shapeEventBase
102
103 Display_xinerama = _openbox.Display_xinerama
104
105 Display_numLockMask = _openbox.Display_numLockMask
106
107 Display_scrollLockMask = _openbox.Display_scrollLockMask
108
109 Display_grab = _openbox.Display_grab
110
111 Display_ungrab = _openbox.Display_ungrab
112
113 Display_grabButton = _openbox.Display_grabButton
114
115 Display_ungrabButton = _openbox.Display_ungrabButton
116
117 Display_grabKey = _openbox.Display_grabKey
118
119 Display_ungrabKey = _openbox.Display_ungrabKey
120
121
122 class Point(_object):
123     __swig_setmethods__ = {}
124     __setattr__ = lambda self, name, value: _swig_setattr(self, Point, name, value)
125     __swig_getmethods__ = {}
126     __getattr__ = lambda self, name: _swig_getattr(self, Point, name)
127     def __init__(self,*args):
128         self.this = apply(_openbox.new_Point,args)
129         self.thisown = 1
130     def setX(*args): return apply(_openbox.Point_setX,args)
131     def x(*args): return apply(_openbox.Point_x,args)
132     def setY(*args): return apply(_openbox.Point_setY,args)
133     def y(*args): return apply(_openbox.Point_y,args)
134     def setPoint(*args): return apply(_openbox.Point_setPoint,args)
135     def __repr__(self):
136         return "<C Point instance at %s>" % (self.this,)
137
138 class PointPtr(Point):
139     def __init__(self,this):
140         self.this = this
141         if not hasattr(self,"thisown"): self.thisown = 0
142         self.__class__ = Point
143 _openbox.Point_swigregister(PointPtr)
144
145 class Property(_object):
146     __swig_setmethods__ = {}
147     __setattr__ = lambda self, name, value: _swig_setattr(self, Property, name, value)
148     __swig_getmethods__ = {}
149     __getattr__ = lambda self, name: _swig_getattr(self, Property, name)
150     Atom_Cardinal = _openbox.Property_Atom_Cardinal
151     Atom_Window = _openbox.Property_Atom_Window
152     Atom_Pixmap = _openbox.Property_Atom_Pixmap
153     Atom_Atom = _openbox.Property_Atom_Atom
154     Atom_String = _openbox.Property_Atom_String
155     Atom_Utf8 = _openbox.Property_Atom_Utf8
156     openbox_pid = _openbox.Property_openbox_pid
157     wm_colormap_windows = _openbox.Property_wm_colormap_windows
158     wm_protocols = _openbox.Property_wm_protocols
159     wm_state = _openbox.Property_wm_state
160     wm_delete_window = _openbox.Property_wm_delete_window
161     wm_take_focus = _openbox.Property_wm_take_focus
162     wm_change_state = _openbox.Property_wm_change_state
163     wm_name = _openbox.Property_wm_name
164     wm_icon_name = _openbox.Property_wm_icon_name
165     wm_class = _openbox.Property_wm_class
166     wm_window_role = _openbox.Property_wm_window_role
167     motif_wm_hints = _openbox.Property_motif_wm_hints
168     blackbox_attributes = _openbox.Property_blackbox_attributes
169     blackbox_change_attributes = _openbox.Property_blackbox_change_attributes
170     blackbox_hints = _openbox.Property_blackbox_hints
171     blackbox_structure_messages = _openbox.Property_blackbox_structure_messages
172     blackbox_notify_startup = _openbox.Property_blackbox_notify_startup
173     blackbox_notify_window_add = _openbox.Property_blackbox_notify_window_add
174     blackbox_notify_window_del = _openbox.Property_blackbox_notify_window_del
175     blackbox_notify_window_focus = _openbox.Property_blackbox_notify_window_focus
176     blackbox_notify_current_workspace = _openbox.Property_blackbox_notify_current_workspace
177     blackbox_notify_workspace_count = _openbox.Property_blackbox_notify_workspace_count
178     blackbox_notify_window_raise = _openbox.Property_blackbox_notify_window_raise
179     blackbox_notify_window_lower = _openbox.Property_blackbox_notify_window_lower
180     blackbox_change_workspace = _openbox.Property_blackbox_change_workspace
181     blackbox_change_window_focus = _openbox.Property_blackbox_change_window_focus
182     blackbox_cycle_window_focus = _openbox.Property_blackbox_cycle_window_focus
183     openbox_show_root_menu = _openbox.Property_openbox_show_root_menu
184     openbox_show_workspace_menu = _openbox.Property_openbox_show_workspace_menu
185     net_supported = _openbox.Property_net_supported
186     net_client_list = _openbox.Property_net_client_list
187     net_client_list_stacking = _openbox.Property_net_client_list_stacking
188     net_number_of_desktops = _openbox.Property_net_number_of_desktops
189     net_desktop_geometry = _openbox.Property_net_desktop_geometry
190     net_desktop_viewport = _openbox.Property_net_desktop_viewport
191     net_current_desktop = _openbox.Property_net_current_desktop
192     net_desktop_names = _openbox.Property_net_desktop_names
193     net_active_window = _openbox.Property_net_active_window
194     net_workarea = _openbox.Property_net_workarea
195     net_supporting_wm_check = _openbox.Property_net_supporting_wm_check
196     net_close_window = _openbox.Property_net_close_window
197     net_wm_moveresize = _openbox.Property_net_wm_moveresize
198     net_wm_name = _openbox.Property_net_wm_name
199     net_wm_visible_name = _openbox.Property_net_wm_visible_name
200     net_wm_icon_name = _openbox.Property_net_wm_icon_name
201     net_wm_visible_icon_name = _openbox.Property_net_wm_visible_icon_name
202     net_wm_desktop = _openbox.Property_net_wm_desktop
203     net_wm_window_type = _openbox.Property_net_wm_window_type
204     net_wm_state = _openbox.Property_net_wm_state
205     net_wm_strut = _openbox.Property_net_wm_strut
206     net_wm_allowed_actions = _openbox.Property_net_wm_allowed_actions
207     net_wm_window_type_desktop = _openbox.Property_net_wm_window_type_desktop
208     net_wm_window_type_dock = _openbox.Property_net_wm_window_type_dock
209     net_wm_window_type_toolbar = _openbox.Property_net_wm_window_type_toolbar
210     net_wm_window_type_menu = _openbox.Property_net_wm_window_type_menu
211     net_wm_window_type_utility = _openbox.Property_net_wm_window_type_utility
212     net_wm_window_type_splash = _openbox.Property_net_wm_window_type_splash
213     net_wm_window_type_dialog = _openbox.Property_net_wm_window_type_dialog
214     net_wm_window_type_normal = _openbox.Property_net_wm_window_type_normal
215     net_wm_moveresize_size_topleft = _openbox.Property_net_wm_moveresize_size_topleft
216     net_wm_moveresize_size_topright = _openbox.Property_net_wm_moveresize_size_topright
217     net_wm_moveresize_size_bottomleft = _openbox.Property_net_wm_moveresize_size_bottomleft
218     net_wm_moveresize_size_bottomright = _openbox.Property_net_wm_moveresize_size_bottomright
219     net_wm_moveresize_move = _openbox.Property_net_wm_moveresize_move
220     net_wm_action_move = _openbox.Property_net_wm_action_move
221     net_wm_action_resize = _openbox.Property_net_wm_action_resize
222     net_wm_action_shade = _openbox.Property_net_wm_action_shade
223     net_wm_action_maximize_horz = _openbox.Property_net_wm_action_maximize_horz
224     net_wm_action_maximize_vert = _openbox.Property_net_wm_action_maximize_vert
225     net_wm_action_change_desktop = _openbox.Property_net_wm_action_change_desktop
226     net_wm_action_close = _openbox.Property_net_wm_action_close
227     net_wm_state_modal = _openbox.Property_net_wm_state_modal
228     net_wm_state_sticky = _openbox.Property_net_wm_state_sticky
229     net_wm_state_maximized_vert = _openbox.Property_net_wm_state_maximized_vert
230     net_wm_state_maximized_horz = _openbox.Property_net_wm_state_maximized_horz
231     net_wm_state_shaded = _openbox.Property_net_wm_state_shaded
232     net_wm_state_skip_taskbar = _openbox.Property_net_wm_state_skip_taskbar
233     net_wm_state_skip_pager = _openbox.Property_net_wm_state_skip_pager
234     net_wm_state_hidden = _openbox.Property_net_wm_state_hidden
235     net_wm_state_fullscreen = _openbox.Property_net_wm_state_fullscreen
236     net_wm_state_above = _openbox.Property_net_wm_state_above
237     net_wm_state_below = _openbox.Property_net_wm_state_below
238     kde_net_system_tray_windows = _openbox.Property_kde_net_system_tray_windows
239     kde_net_wm_system_tray_window_for = _openbox.Property_kde_net_wm_system_tray_window_for
240     kde_net_wm_window_type_override = _openbox.Property_kde_net_wm_window_type_override
241     NUM_ATOMS = _openbox.Property_NUM_ATOMS
242     ascii = _openbox.Property_ascii
243     utf8 = _openbox.Property_utf8
244     NUM_STRING_TYPE = _openbox.Property_NUM_STRING_TYPE
245     def __init__(self,*args):
246         self.this = apply(_openbox.new_Property,args)
247         self.thisown = 1
248     def __del__(self, destroy= _openbox.delete_Property):
249         try:
250             if self.thisown: destroy(self)
251         except: pass
252     def set(*args): return apply(_openbox.Property_set,args)
253     def get(*args): return apply(_openbox.Property_get,args)
254     def erase(*args): return apply(_openbox.Property_erase,args)
255     def atom(*args): return apply(_openbox.Property_atom,args)
256     def __repr__(self):
257         return "<C Property instance at %s>" % (self.this,)
258
259 class PropertyPtr(Property):
260     def __init__(self,this):
261         self.this = this
262         if not hasattr(self,"thisown"): self.thisown = 0
263         self.__class__ = Property
264 _openbox.Property_swigregister(PropertyPtr)
265
266 class Rect(_object):
267     __swig_setmethods__ = {}
268     __setattr__ = lambda self, name, value: _swig_setattr(self, Rect, name, value)
269     __swig_getmethods__ = {}
270     __getattr__ = lambda self, name: _swig_getattr(self, Rect, name)
271     def __init__(self,*args):
272         self.this = apply(_openbox.new_Rect,args)
273         self.thisown = 1
274     def left(*args): return apply(_openbox.Rect_left,args)
275     def top(*args): return apply(_openbox.Rect_top,args)
276     def right(*args): return apply(_openbox.Rect_right,args)
277     def bottom(*args): return apply(_openbox.Rect_bottom,args)
278     def x(*args): return apply(_openbox.Rect_x,args)
279     def y(*args): return apply(_openbox.Rect_y,args)
280     def location(*args): return apply(_openbox.Rect_location,args)
281     def setX(*args): return apply(_openbox.Rect_setX,args)
282     def setY(*args): return apply(_openbox.Rect_setY,args)
283     def setPos(*args): return apply(_openbox.Rect_setPos,args)
284     def width(*args): return apply(_openbox.Rect_width,args)
285     def height(*args): return apply(_openbox.Rect_height,args)
286     def size(*args): return apply(_openbox.Rect_size,args)
287     def setWidth(*args): return apply(_openbox.Rect_setWidth,args)
288     def setHeight(*args): return apply(_openbox.Rect_setHeight,args)
289     def setSize(*args): return apply(_openbox.Rect_setSize,args)
290     def setRect(*args): return apply(_openbox.Rect_setRect,args)
291     def setCoords(*args): return apply(_openbox.Rect_setCoords,args)
292     def __eq__(*args): return apply(_openbox.Rect___eq__,args)
293     def __ne__(*args): return apply(_openbox.Rect___ne__,args)
294     def __or__(*args): return apply(_openbox.Rect___or__,args)
295     def __and__(*args): return apply(_openbox.Rect___and__,args)
296     def __ior__(*args): return apply(_openbox.Rect___ior__,args)
297     def __iand__(*args): return apply(_openbox.Rect___iand__,args)
298     def valid(*args): return apply(_openbox.Rect_valid,args)
299     def intersects(*args): return apply(_openbox.Rect_intersects,args)
300     def contains(*args): return apply(_openbox.Rect_contains,args)
301     def __repr__(self):
302         return "<C Rect instance at %s>" % (self.this,)
303
304 class RectPtr(Rect):
305     def __init__(self,this):
306         self.this = this
307         if not hasattr(self,"thisown"): self.thisown = 0
308         self.__class__ = Rect
309 _openbox.Rect_swigregister(RectPtr)
310
311 class ScreenInfo(_object):
312     __swig_setmethods__ = {}
313     __setattr__ = lambda self, name, value: _swig_setattr(self, ScreenInfo, name, value)
314     __swig_getmethods__ = {}
315     __getattr__ = lambda self, name: _swig_getattr(self, ScreenInfo, name)
316     def __init__(self,*args):
317         self.this = apply(_openbox.new_ScreenInfo,args)
318         self.thisown = 1
319     def visual(*args): return apply(_openbox.ScreenInfo_visual,args)
320     def rootWindow(*args): return apply(_openbox.ScreenInfo_rootWindow,args)
321     def colormap(*args): return apply(_openbox.ScreenInfo_colormap,args)
322     def depth(*args): return apply(_openbox.ScreenInfo_depth,args)
323     def screen(*args): return apply(_openbox.ScreenInfo_screen,args)
324     def rect(*args): return apply(_openbox.ScreenInfo_rect,args)
325     def width(*args): return apply(_openbox.ScreenInfo_width,args)
326     def height(*args): return apply(_openbox.ScreenInfo_height,args)
327     def displayString(*args): return apply(_openbox.ScreenInfo_displayString,args)
328     def __repr__(self):
329         return "<C ScreenInfo instance at %s>" % (self.this,)
330
331 class ScreenInfoPtr(ScreenInfo):
332     def __init__(self,this):
333         self.this = this
334         if not hasattr(self,"thisown"): self.thisown = 0
335         self.__class__ = ScreenInfo
336 _openbox.ScreenInfo_swigregister(ScreenInfoPtr)
337
338 class Strut(_object):
339     __swig_setmethods__ = {}
340     __setattr__ = lambda self, name, value: _swig_setattr(self, Strut, name, value)
341     __swig_getmethods__ = {}
342     __getattr__ = lambda self, name: _swig_getattr(self, Strut, name)
343     __swig_setmethods__["top"] = _openbox.Strut_top_set
344     __swig_getmethods__["top"] = _openbox.Strut_top_get
345     if _newclass:top = property(_openbox.Strut_top_get,_openbox.Strut_top_set)
346     __swig_setmethods__["bottom"] = _openbox.Strut_bottom_set
347     __swig_getmethods__["bottom"] = _openbox.Strut_bottom_get
348     if _newclass:bottom = property(_openbox.Strut_bottom_get,_openbox.Strut_bottom_set)
349     __swig_setmethods__["left"] = _openbox.Strut_left_set
350     __swig_getmethods__["left"] = _openbox.Strut_left_get
351     if _newclass:left = property(_openbox.Strut_left_get,_openbox.Strut_left_set)
352     __swig_setmethods__["right"] = _openbox.Strut_right_set
353     __swig_getmethods__["right"] = _openbox.Strut_right_get
354     if _newclass:right = property(_openbox.Strut_right_get,_openbox.Strut_right_set)
355     def __init__(self,*args):
356         self.this = apply(_openbox.new_Strut,args)
357         self.thisown = 1
358     def __repr__(self):
359         return "<C Strut instance at %s>" % (self.this,)
360
361 class StrutPtr(Strut):
362     def __init__(self,this):
363         self.this = this
364         if not hasattr(self,"thisown"): self.thisown = 0
365         self.__class__ = Strut
366 _openbox.Strut_swigregister(StrutPtr)
367
368 class EventHandler(_object):
369     __swig_setmethods__ = {}
370     __setattr__ = lambda self, name, value: _swig_setattr(self, EventHandler, name, value)
371     __swig_getmethods__ = {}
372     __getattr__ = lambda self, name: _swig_getattr(self, EventHandler, name)
373     def handle(*args): return apply(_openbox.EventHandler_handle,args)
374     def keyPressHandler(*args): return apply(_openbox.EventHandler_keyPressHandler,args)
375     def keyReleaseHandler(*args): return apply(_openbox.EventHandler_keyReleaseHandler,args)
376     def buttonPressHandler(*args): return apply(_openbox.EventHandler_buttonPressHandler,args)
377     def buttonReleaseHandler(*args): return apply(_openbox.EventHandler_buttonReleaseHandler,args)
378     def motionHandler(*args): return apply(_openbox.EventHandler_motionHandler,args)
379     def enterHandler(*args): return apply(_openbox.EventHandler_enterHandler,args)
380     def leaveHandler(*args): return apply(_openbox.EventHandler_leaveHandler,args)
381     def focusHandler(*args): return apply(_openbox.EventHandler_focusHandler,args)
382     def unfocusHandler(*args): return apply(_openbox.EventHandler_unfocusHandler,args)
383     def exposeHandler(*args): return apply(_openbox.EventHandler_exposeHandler,args)
384     def graphicsExposeHandler(*args): return apply(_openbox.EventHandler_graphicsExposeHandler,args)
385     def noExposeEventHandler(*args): return apply(_openbox.EventHandler_noExposeEventHandler,args)
386     def circulateRequestHandler(*args): return apply(_openbox.EventHandler_circulateRequestHandler,args)
387     def configureRequestHandler(*args): return apply(_openbox.EventHandler_configureRequestHandler,args)
388     def mapRequestHandler(*args): return apply(_openbox.EventHandler_mapRequestHandler,args)
389     def resizeRequestHandler(*args): return apply(_openbox.EventHandler_resizeRequestHandler,args)
390     def circulateHandler(*args): return apply(_openbox.EventHandler_circulateHandler,args)
391     def configureHandler(*args): return apply(_openbox.EventHandler_configureHandler,args)
392     def createHandler(*args): return apply(_openbox.EventHandler_createHandler,args)
393     def destroyHandler(*args): return apply(_openbox.EventHandler_destroyHandler,args)
394     def gravityHandler(*args): return apply(_openbox.EventHandler_gravityHandler,args)
395     def mapHandler(*args): return apply(_openbox.EventHandler_mapHandler,args)
396     def mappingHandler(*args): return apply(_openbox.EventHandler_mappingHandler,args)
397     def reparentHandler(*args): return apply(_openbox.EventHandler_reparentHandler,args)
398     def unmapHandler(*args): return apply(_openbox.EventHandler_unmapHandler,args)
399     def visibilityHandler(*args): return apply(_openbox.EventHandler_visibilityHandler,args)
400     def colorMapHandler(*args): return apply(_openbox.EventHandler_colorMapHandler,args)
401     def propertyHandler(*args): return apply(_openbox.EventHandler_propertyHandler,args)
402     def selectionClearHandler(*args): return apply(_openbox.EventHandler_selectionClearHandler,args)
403     def selectionHandler(*args): return apply(_openbox.EventHandler_selectionHandler,args)
404     def selectionRequestHandler(*args): return apply(_openbox.EventHandler_selectionRequestHandler,args)
405     def clientMessageHandler(*args): return apply(_openbox.EventHandler_clientMessageHandler,args)
406     def __del__(self, destroy= _openbox.delete_EventHandler):
407         try:
408             if self.thisown: destroy(self)
409         except: pass
410     def __init__(self): raise RuntimeError, "No constructor defined"
411     def __repr__(self):
412         return "<C EventHandler instance at %s>" % (self.this,)
413
414 class EventHandlerPtr(EventHandler):
415     def __init__(self,this):
416         self.this = this
417         if not hasattr(self,"thisown"): self.thisown = 0
418         self.__class__ = EventHandler
419 _openbox.EventHandler_swigregister(EventHandlerPtr)
420
421 class EventDispatcher(_object):
422     __swig_setmethods__ = {}
423     __setattr__ = lambda self, name, value: _swig_setattr(self, EventDispatcher, name, value)
424     __swig_getmethods__ = {}
425     __getattr__ = lambda self, name: _swig_getattr(self, EventDispatcher, name)
426     def __init__(self,*args):
427         self.this = apply(_openbox.new_EventDispatcher,args)
428         self.thisown = 1
429     def __del__(self, destroy= _openbox.delete_EventDispatcher):
430         try:
431             if self.thisown: destroy(self)
432         except: pass
433     def clearAllHandlers(*args): return apply(_openbox.EventDispatcher_clearAllHandlers,args)
434     def registerHandler(*args): return apply(_openbox.EventDispatcher_registerHandler,args)
435     def clearHandler(*args): return apply(_openbox.EventDispatcher_clearHandler,args)
436     def dispatchEvents(*args): return apply(_openbox.EventDispatcher_dispatchEvents,args)
437     def setFallbackHandler(*args): return apply(_openbox.EventDispatcher_setFallbackHandler,args)
438     def getFallbackHandler(*args): return apply(_openbox.EventDispatcher_getFallbackHandler,args)
439     def setMasterHandler(*args): return apply(_openbox.EventDispatcher_setMasterHandler,args)
440     def getMasterHandler(*args): return apply(_openbox.EventDispatcher_getMasterHandler,args)
441     def findHandler(*args): return apply(_openbox.EventDispatcher_findHandler,args)
442     def lastTime(*args): return apply(_openbox.EventDispatcher_lastTime,args)
443     def __repr__(self):
444         return "<C EventDispatcher instance at %s>" % (self.this,)
445
446 class EventDispatcherPtr(EventDispatcher):
447     def __init__(self,this):
448         self.this = this
449         if not hasattr(self,"thisown"): self.thisown = 0
450         self.__class__ = EventDispatcher
451 _openbox.EventDispatcher_swigregister(EventDispatcherPtr)
452
453 class Cursors(_object):
454     __swig_setmethods__ = {}
455     __setattr__ = lambda self, name, value: _swig_setattr(self, Cursors, name, value)
456     __swig_getmethods__ = {}
457     __getattr__ = lambda self, name: _swig_getattr(self, Cursors, name)
458     __swig_setmethods__["session"] = _openbox.Cursors_session_set
459     __swig_getmethods__["session"] = _openbox.Cursors_session_get
460     if _newclass:session = property(_openbox.Cursors_session_get,_openbox.Cursors_session_set)
461     __swig_setmethods__["move"] = _openbox.Cursors_move_set
462     __swig_getmethods__["move"] = _openbox.Cursors_move_get
463     if _newclass:move = property(_openbox.Cursors_move_get,_openbox.Cursors_move_set)
464     __swig_setmethods__["ll_angle"] = _openbox.Cursors_ll_angle_set
465     __swig_getmethods__["ll_angle"] = _openbox.Cursors_ll_angle_get
466     if _newclass:ll_angle = property(_openbox.Cursors_ll_angle_get,_openbox.Cursors_ll_angle_set)
467     __swig_setmethods__["lr_angle"] = _openbox.Cursors_lr_angle_set
468     __swig_getmethods__["lr_angle"] = _openbox.Cursors_lr_angle_get
469     if _newclass:lr_angle = property(_openbox.Cursors_lr_angle_get,_openbox.Cursors_lr_angle_set)
470     __swig_setmethods__["ul_angle"] = _openbox.Cursors_ul_angle_set
471     __swig_getmethods__["ul_angle"] = _openbox.Cursors_ul_angle_get
472     if _newclass:ul_angle = property(_openbox.Cursors_ul_angle_get,_openbox.Cursors_ul_angle_set)
473     __swig_setmethods__["ur_angle"] = _openbox.Cursors_ur_angle_set
474     __swig_getmethods__["ur_angle"] = _openbox.Cursors_ur_angle_get
475     if _newclass:ur_angle = property(_openbox.Cursors_ur_angle_get,_openbox.Cursors_ur_angle_set)
476     def __init__(self): raise RuntimeError, "No constructor defined"
477     def __repr__(self):
478         return "<C Cursors instance at %s>" % (self.this,)
479
480 class CursorsPtr(Cursors):
481     def __init__(self,this):
482         self.this = this
483         if not hasattr(self,"thisown"): self.thisown = 0
484         self.__class__ = Cursors
485 _openbox.Cursors_swigregister(CursorsPtr)
486
487 class Openbox(EventDispatcher,EventHandler):
488     __swig_setmethods__ = {}
489     for _s in [EventDispatcher,EventHandler]: __swig_setmethods__.update(_s.__swig_setmethods__)
490     __setattr__ = lambda self, name, value: _swig_setattr(self, Openbox, name, value)
491     __swig_getmethods__ = {}
492     for _s in [EventDispatcher,EventHandler]: __swig_getmethods__.update(_s.__swig_getmethods__)
493     __getattr__ = lambda self, name: _swig_getattr(self, Openbox, name)
494     State_Starting = _openbox.Openbox_State_Starting
495     State_Normal = _openbox.Openbox_State_Normal
496     State_Exiting = _openbox.Openbox_State_Exiting
497     def state(*args): return apply(_openbox.Openbox_state,args)
498     def timerManager(*args): return apply(_openbox.Openbox_timerManager,args)
499     def property(*args): return apply(_openbox.Openbox_property,args)
500     def actions(*args): return apply(_openbox.Openbox_actions,args)
501     def bindings(*args): return apply(_openbox.Openbox_bindings,args)
502     def screen(*args): return apply(_openbox.Openbox_screen,args)
503     def screenCount(*args): return apply(_openbox.Openbox_screenCount,args)
504     def cursors(*args): return apply(_openbox.Openbox_cursors,args)
505     def addClient(*args): return apply(_openbox.Openbox_addClient,args)
506     def removeClient(*args): return apply(_openbox.Openbox_removeClient,args)
507     def findClient(*args): return apply(_openbox.Openbox_findClient,args)
508     def focusedClient(*args): return apply(_openbox.Openbox_focusedClient,args)
509     def setFocusedClient(*args): return apply(_openbox.Openbox_setFocusedClient,args)
510     def focusedScreen(*args): return apply(_openbox.Openbox_focusedScreen,args)
511     def shutdown(*args): return apply(_openbox.Openbox_shutdown,args)
512     def restart(*args): return apply(_openbox.Openbox_restart,args)
513     def execute(*args): return apply(_openbox.Openbox_execute,args)
514     def __init__(self): raise RuntimeError, "No constructor defined"
515     def __repr__(self):
516         return "<C Openbox instance at %s>" % (self.this,)
517
518 class OpenboxPtr(Openbox):
519     def __init__(self,this):
520         self.this = this
521         if not hasattr(self,"thisown"): self.thisown = 0
522         self.__class__ = Openbox
523 _openbox.Openbox_swigregister(OpenboxPtr)
524
525 class Screen(EventHandler,):
526     __swig_setmethods__ = {}
527     for _s in [EventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
528     __setattr__ = lambda self, name, value: _swig_setattr(self, Screen, name, value)
529     __swig_getmethods__ = {}
530     for _s in [EventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
531     __getattr__ = lambda self, name: _swig_getattr(self, Screen, name)
532     def client(*args): return apply(_openbox.Screen_client,args)
533     def clientCount(*args): return apply(_openbox.Screen_clientCount,args)
534     event_mask = _openbox.Screen_event_mask
535     def number(*args): return apply(_openbox.Screen_number,args)
536     def managed(*args): return apply(_openbox.Screen_managed,args)
537     def imageControl(*args): return apply(_openbox.Screen_imageControl,args)
538     def area(*args): return apply(_openbox.Screen_area,args)
539     def style(*args): return apply(_openbox.Screen_style,args)
540     def focuswindow(*args): return apply(_openbox.Screen_focuswindow,args)
541     def desktop(*args): return apply(_openbox.Screen_desktop,args)
542     def numDesktops(*args): return apply(_openbox.Screen_numDesktops,args)
543     def updateStrut(*args): return apply(_openbox.Screen_updateStrut,args)
544     def manageExisting(*args): return apply(_openbox.Screen_manageExisting,args)
545     def manageWindow(*args): return apply(_openbox.Screen_manageWindow,args)
546     def unmanageWindow(*args): return apply(_openbox.Screen_unmanageWindow,args)
547     def restack(*args): return apply(_openbox.Screen_restack,args)
548     def setDesktopName(*args): return apply(_openbox.Screen_setDesktopName,args)
549     def propertyHandler(*args): return apply(_openbox.Screen_propertyHandler,args)
550     def clientMessageHandler(*args): return apply(_openbox.Screen_clientMessageHandler,args)
551     def mapRequestHandler(*args): return apply(_openbox.Screen_mapRequestHandler,args)
552     def __init__(self): raise RuntimeError, "No constructor defined"
553     def __repr__(self):
554         return "<C Screen instance at %s>" % (self.this,)
555
556 class ScreenPtr(Screen):
557     def __init__(self,this):
558         self.this = this
559         if not hasattr(self,"thisown"): self.thisown = 0
560         self.__class__ = Screen
561 _openbox.Screen_swigregister(ScreenPtr)
562
563 class MwmHints(_object):
564     __swig_setmethods__ = {}
565     __setattr__ = lambda self, name, value: _swig_setattr(self, MwmHints, name, value)
566     __swig_getmethods__ = {}
567     __getattr__ = lambda self, name: _swig_getattr(self, MwmHints, name)
568     __swig_setmethods__["flags"] = _openbox.MwmHints_flags_set
569     __swig_getmethods__["flags"] = _openbox.MwmHints_flags_get
570     if _newclass:flags = property(_openbox.MwmHints_flags_get,_openbox.MwmHints_flags_set)
571     __swig_setmethods__["functions"] = _openbox.MwmHints_functions_set
572     __swig_getmethods__["functions"] = _openbox.MwmHints_functions_get
573     if _newclass:functions = property(_openbox.MwmHints_functions_get,_openbox.MwmHints_functions_set)
574     __swig_setmethods__["decorations"] = _openbox.MwmHints_decorations_set
575     __swig_getmethods__["decorations"] = _openbox.MwmHints_decorations_get
576     if _newclass:decorations = property(_openbox.MwmHints_decorations_get,_openbox.MwmHints_decorations_set)
577     elements = _openbox.MwmHints_elements
578     def __init__(self): raise RuntimeError, "No constructor defined"
579     def __repr__(self):
580         return "<C MwmHints instance at %s>" % (self.this,)
581
582 class MwmHintsPtr(MwmHints):
583     def __init__(self,this):
584         self.this = this
585         if not hasattr(self,"thisown"): self.thisown = 0
586         self.__class__ = MwmHints
587 _openbox.MwmHints_swigregister(MwmHintsPtr)
588
589 class Client(EventHandler,):
590     __swig_setmethods__ = {}
591     for _s in [EventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
592     __setattr__ = lambda self, name, value: _swig_setattr(self, Client, name, value)
593     __swig_getmethods__ = {}
594     for _s in [EventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
595     __getattr__ = lambda self, name: _swig_getattr(self, Client, name)
596     __swig_setmethods__["frame"] = _openbox.Client_frame_set
597     __swig_getmethods__["frame"] = _openbox.Client_frame_get
598     if _newclass:frame = property(_openbox.Client_frame_get,_openbox.Client_frame_set)
599     Layer_Icon = _openbox.Client_Layer_Icon
600     Layer_Desktop = _openbox.Client_Layer_Desktop
601     Layer_Below = _openbox.Client_Layer_Below
602     Layer_Normal = _openbox.Client_Layer_Normal
603     Layer_Above = _openbox.Client_Layer_Above
604     Layer_Top = _openbox.Client_Layer_Top
605     Layer_Fullscreen = _openbox.Client_Layer_Fullscreen
606     Layer_Internal = _openbox.Client_Layer_Internal
607     NUM_LAYERS = _openbox.Client_NUM_LAYERS
608     TopLeft = _openbox.Client_TopLeft
609     TopRight = _openbox.Client_TopRight
610     BottomLeft = _openbox.Client_BottomLeft
611     BottomRight = _openbox.Client_BottomRight
612     Type_Desktop = _openbox.Client_Type_Desktop
613     Type_Dock = _openbox.Client_Type_Dock
614     Type_Toolbar = _openbox.Client_Type_Toolbar
615     Type_Menu = _openbox.Client_Type_Menu
616     Type_Utility = _openbox.Client_Type_Utility
617     Type_Splash = _openbox.Client_Type_Splash
618     Type_Dialog = _openbox.Client_Type_Dialog
619     Type_Normal = _openbox.Client_Type_Normal
620     MwmFlag_Functions = _openbox.Client_MwmFlag_Functions
621     MwmFlag_Decorations = _openbox.Client_MwmFlag_Decorations
622     MwmFunc_All = _openbox.Client_MwmFunc_All
623     MwmFunc_Resize = _openbox.Client_MwmFunc_Resize
624     MwmFunc_Move = _openbox.Client_MwmFunc_Move
625     MwmFunc_Iconify = _openbox.Client_MwmFunc_Iconify
626     MwmFunc_Maximize = _openbox.Client_MwmFunc_Maximize
627     MwmDecor_All = _openbox.Client_MwmDecor_All
628     MwmDecor_Border = _openbox.Client_MwmDecor_Border
629     MwmDecor_Handle = _openbox.Client_MwmDecor_Handle
630     MwmDecor_Title = _openbox.Client_MwmDecor_Title
631     MwmDecor_Iconify = _openbox.Client_MwmDecor_Iconify
632     MwmDecor_Maximize = _openbox.Client_MwmDecor_Maximize
633     Func_Resize = _openbox.Client_Func_Resize
634     Func_Move = _openbox.Client_Func_Move
635     Func_Iconify = _openbox.Client_Func_Iconify
636     Func_Maximize = _openbox.Client_Func_Maximize
637     Func_Close = _openbox.Client_Func_Close
638     Decor_Titlebar = _openbox.Client_Decor_Titlebar
639     Decor_Handle = _openbox.Client_Decor_Handle
640     Decor_Border = _openbox.Client_Decor_Border
641     Decor_Iconify = _openbox.Client_Decor_Iconify
642     Decor_Maximize = _openbox.Client_Decor_Maximize
643     Decor_Sticky = _openbox.Client_Decor_Sticky
644     Decor_Close = _openbox.Client_Decor_Close
645     State_Remove = _openbox.Client_State_Remove
646     State_Add = _openbox.Client_State_Add
647     State_Toggle = _openbox.Client_State_Toggle
648     event_mask = _openbox.Client_event_mask
649     no_propagate_mask = _openbox.Client_no_propagate_mask
650     __swig_setmethods__["ignore_unmaps"] = _openbox.Client_ignore_unmaps_set
651     __swig_getmethods__["ignore_unmaps"] = _openbox.Client_ignore_unmaps_get
652     if _newclass:ignore_unmaps = property(_openbox.Client_ignore_unmaps_get,_openbox.Client_ignore_unmaps_set)
653     def screen(*args): return apply(_openbox.Client_screen,args)
654     def window(*args): return apply(_openbox.Client_window,args)
655     def type(*args): return apply(_openbox.Client_type,args)
656     def normal(*args): return apply(_openbox.Client_normal,args)
657     def desktop(*args): return apply(_openbox.Client_desktop,args)
658     def title(*args): return apply(_openbox.Client_title,args)
659     def iconTitle(*args): return apply(_openbox.Client_iconTitle,args)
660     def appName(*args): return apply(_openbox.Client_appName,args)
661     def appClass(*args): return apply(_openbox.Client_appClass,args)
662     def role(*args): return apply(_openbox.Client_role,args)
663     def canFocus(*args): return apply(_openbox.Client_canFocus,args)
664     def urgent(*args): return apply(_openbox.Client_urgent,args)
665     def focusNotify(*args): return apply(_openbox.Client_focusNotify,args)
666     def shaped(*args): return apply(_openbox.Client_shaped,args)
667     def gravity(*args): return apply(_openbox.Client_gravity,args)
668     def positionRequested(*args): return apply(_openbox.Client_positionRequested,args)
669     def decorations(*args): return apply(_openbox.Client_decorations,args)
670     def funtions(*args): return apply(_openbox.Client_funtions,args)
671     def transientFor(*args): return apply(_openbox.Client_transientFor,args)
672     def modal(*args): return apply(_openbox.Client_modal,args)
673     def shaded(*args): return apply(_openbox.Client_shaded,args)
674     def iconic(*args): return apply(_openbox.Client_iconic,args)
675     def maxVert(*args): return apply(_openbox.Client_maxVert,args)
676     def maxHorz(*args): return apply(_openbox.Client_maxHorz,args)
677     def layer(*args): return apply(_openbox.Client_layer,args)
678     def toggleClientBorder(*args): return apply(_openbox.Client_toggleClientBorder,args)
679     def area(*args): return apply(_openbox.Client_area,args)
680     def strut(*args): return apply(_openbox.Client_strut,args)
681     def move(*args): return apply(_openbox.Client_move,args)
682     def resize(*args): return apply(_openbox.Client_resize,args)
683     def focus(*args): return apply(_openbox.Client_focus,args)
684     def unfocus(*args): return apply(_openbox.Client_unfocus,args)
685     def focusHandler(*args): return apply(_openbox.Client_focusHandler,args)
686     def unfocusHandler(*args): return apply(_openbox.Client_unfocusHandler,args)
687     def propertyHandler(*args): return apply(_openbox.Client_propertyHandler,args)
688     def clientMessageHandler(*args): return apply(_openbox.Client_clientMessageHandler,args)
689     def configureRequestHandler(*args): return apply(_openbox.Client_configureRequestHandler,args)
690     def unmapHandler(*args): return apply(_openbox.Client_unmapHandler,args)
691     def destroyHandler(*args): return apply(_openbox.Client_destroyHandler,args)
692     def reparentHandler(*args): return apply(_openbox.Client_reparentHandler,args)
693     def __init__(self): raise RuntimeError, "No constructor defined"
694     def __repr__(self):
695         return "<C Client instance at %s>" % (self.this,)
696
697 class ClientPtr(Client):
698     def __init__(self,this):
699         self.this = this
700         if not hasattr(self,"thisown"): self.thisown = 0
701         self.__class__ = Client
702 _openbox.Client_swigregister(ClientPtr)
703
704 MC_Frame = _openbox.MC_Frame
705 MC_Titlebar = _openbox.MC_Titlebar
706 MC_Handle = _openbox.MC_Handle
707 MC_Window = _openbox.MC_Window
708 MC_MaximizeButton = _openbox.MC_MaximizeButton
709 MC_CloseButton = _openbox.MC_CloseButton
710 MC_IconifyButton = _openbox.MC_IconifyButton
711 MC_StickyButton = _openbox.MC_StickyButton
712 MC_Grip = _openbox.MC_Grip
713 MC_Root = _openbox.MC_Root
714 MC_MenuItem = _openbox.MC_MenuItem
715 NUM_MOUSE_CONTEXT = _openbox.NUM_MOUSE_CONTEXT
716 MousePress = _openbox.MousePress
717 MouseClick = _openbox.MouseClick
718 MouseDoubleClick = _openbox.MouseDoubleClick
719 MouseMotion = _openbox.MouseMotion
720 NUM_MOUSE_ACTION = _openbox.NUM_MOUSE_ACTION
721 KC_Menu = _openbox.KC_Menu
722 KC_All = _openbox.KC_All
723 NUM_KEY_CONTEXT = _openbox.NUM_KEY_CONTEXT
724 EventEnterWindow = _openbox.EventEnterWindow
725 EventLeaveWindow = _openbox.EventLeaveWindow
726 EventPlaceWindow = _openbox.EventPlaceWindow
727 EventNewWindow = _openbox.EventNewWindow
728 EventCloseWindow = _openbox.EventCloseWindow
729 EventStartup = _openbox.EventStartup
730 EventShutdown = _openbox.EventShutdown
731 EventFocus = _openbox.EventFocus
732 EventBell = _openbox.EventBell
733 NUM_EVENTS = _openbox.NUM_EVENTS
734 class MouseData(_object):
735     __swig_setmethods__ = {}
736     __setattr__ = lambda self, name, value: _swig_setattr(self, MouseData, name, value)
737     __swig_getmethods__ = {}
738     __getattr__ = lambda self, name: _swig_getattr(self, MouseData, name)
739     __swig_setmethods__["screen"] = _openbox.MouseData_screen_set
740     __swig_getmethods__["screen"] = _openbox.MouseData_screen_get
741     if _newclass:screen = property(_openbox.MouseData_screen_get,_openbox.MouseData_screen_set)
742     __swig_setmethods__["client"] = _openbox.MouseData_client_set
743     __swig_getmethods__["client"] = _openbox.MouseData_client_get
744     if _newclass:client = property(_openbox.MouseData_client_get,_openbox.MouseData_client_set)
745     __swig_setmethods__["time"] = _openbox.MouseData_time_set
746     __swig_getmethods__["time"] = _openbox.MouseData_time_get
747     if _newclass:time = property(_openbox.MouseData_time_get,_openbox.MouseData_time_set)
748     __swig_setmethods__["state"] = _openbox.MouseData_state_set
749     __swig_getmethods__["state"] = _openbox.MouseData_state_get
750     if _newclass:state = property(_openbox.MouseData_state_get,_openbox.MouseData_state_set)
751     __swig_setmethods__["button"] = _openbox.MouseData_button_set
752     __swig_getmethods__["button"] = _openbox.MouseData_button_get
753     if _newclass:button = property(_openbox.MouseData_button_get,_openbox.MouseData_button_set)
754     __swig_setmethods__["context"] = _openbox.MouseData_context_set
755     __swig_getmethods__["context"] = _openbox.MouseData_context_get
756     if _newclass:context = property(_openbox.MouseData_context_get,_openbox.MouseData_context_set)
757     __swig_setmethods__["action"] = _openbox.MouseData_action_set
758     __swig_getmethods__["action"] = _openbox.MouseData_action_get
759     if _newclass:action = property(_openbox.MouseData_action_get,_openbox.MouseData_action_set)
760     __swig_setmethods__["xroot"] = _openbox.MouseData_xroot_set
761     __swig_getmethods__["xroot"] = _openbox.MouseData_xroot_get
762     if _newclass:xroot = property(_openbox.MouseData_xroot_get,_openbox.MouseData_xroot_set)
763     __swig_setmethods__["yroot"] = _openbox.MouseData_yroot_set
764     __swig_getmethods__["yroot"] = _openbox.MouseData_yroot_get
765     if _newclass:yroot = property(_openbox.MouseData_yroot_get,_openbox.MouseData_yroot_set)
766     __swig_setmethods__["pressx"] = _openbox.MouseData_pressx_set
767     __swig_getmethods__["pressx"] = _openbox.MouseData_pressx_get
768     if _newclass:pressx = property(_openbox.MouseData_pressx_get,_openbox.MouseData_pressx_set)
769     __swig_setmethods__["pressy"] = _openbox.MouseData_pressy_set
770     __swig_getmethods__["pressy"] = _openbox.MouseData_pressy_get
771     if _newclass:pressy = property(_openbox.MouseData_pressy_get,_openbox.MouseData_pressy_set)
772     __swig_setmethods__["press_clientx"] = _openbox.MouseData_press_clientx_set
773     __swig_getmethods__["press_clientx"] = _openbox.MouseData_press_clientx_get
774     if _newclass:press_clientx = property(_openbox.MouseData_press_clientx_get,_openbox.MouseData_press_clientx_set)
775     __swig_setmethods__["press_clienty"] = _openbox.MouseData_press_clienty_set
776     __swig_getmethods__["press_clienty"] = _openbox.MouseData_press_clienty_get
777     if _newclass:press_clienty = property(_openbox.MouseData_press_clienty_get,_openbox.MouseData_press_clienty_set)
778     __swig_setmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_set
779     __swig_getmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_get
780     if _newclass:press_clientwidth = property(_openbox.MouseData_press_clientwidth_get,_openbox.MouseData_press_clientwidth_set)
781     __swig_setmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_set
782     __swig_getmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_get
783     if _newclass:press_clientheight = property(_openbox.MouseData_press_clientheight_get,_openbox.MouseData_press_clientheight_set)
784     def __init__(self,*args):
785         self.this = apply(_openbox.new_MouseData,args)
786         self.thisown = 1
787     def __repr__(self):
788         return "<C MouseData instance at %s>" % (self.this,)
789
790 class MouseDataPtr(MouseData):
791     def __init__(self,this):
792         self.this = this
793         if not hasattr(self,"thisown"): self.thisown = 0
794         self.__class__ = MouseData
795 _openbox.MouseData_swigregister(MouseDataPtr)
796
797 class EventData(_object):
798     __swig_setmethods__ = {}
799     __setattr__ = lambda self, name, value: _swig_setattr(self, EventData, name, value)
800     __swig_getmethods__ = {}
801     __getattr__ = lambda self, name: _swig_getattr(self, EventData, name)
802     __swig_setmethods__["screen"] = _openbox.EventData_screen_set
803     __swig_getmethods__["screen"] = _openbox.EventData_screen_get
804     if _newclass:screen = property(_openbox.EventData_screen_get,_openbox.EventData_screen_set)
805     __swig_setmethods__["client"] = _openbox.EventData_client_set
806     __swig_getmethods__["client"] = _openbox.EventData_client_get
807     if _newclass:client = property(_openbox.EventData_client_get,_openbox.EventData_client_set)
808     __swig_setmethods__["state"] = _openbox.EventData_state_set
809     __swig_getmethods__["state"] = _openbox.EventData_state_get
810     if _newclass:state = property(_openbox.EventData_state_get,_openbox.EventData_state_set)
811     __swig_setmethods__["action"] = _openbox.EventData_action_set
812     __swig_getmethods__["action"] = _openbox.EventData_action_get
813     if _newclass:action = property(_openbox.EventData_action_get,_openbox.EventData_action_set)
814     def __init__(self,*args):
815         self.this = apply(_openbox.new_EventData,args)
816         self.thisown = 1
817     def __repr__(self):
818         return "<C EventData instance at %s>" % (self.this,)
819
820 class EventDataPtr(EventData):
821     def __init__(self,this):
822         self.this = this
823         if not hasattr(self,"thisown"): self.thisown = 0
824         self.__class__ = EventData
825 _openbox.EventData_swigregister(EventDataPtr)
826
827 class KeyData(_object):
828     __swig_setmethods__ = {}
829     __setattr__ = lambda self, name, value: _swig_setattr(self, KeyData, name, value)
830     __swig_getmethods__ = {}
831     __getattr__ = lambda self, name: _swig_getattr(self, KeyData, name)
832     __swig_setmethods__["screen"] = _openbox.KeyData_screen_set
833     __swig_getmethods__["screen"] = _openbox.KeyData_screen_get
834     if _newclass:screen = property(_openbox.KeyData_screen_get,_openbox.KeyData_screen_set)
835     __swig_setmethods__["client"] = _openbox.KeyData_client_set
836     __swig_getmethods__["client"] = _openbox.KeyData_client_get
837     if _newclass:client = property(_openbox.KeyData_client_get,_openbox.KeyData_client_set)
838     __swig_setmethods__["time"] = _openbox.KeyData_time_set
839     __swig_getmethods__["time"] = _openbox.KeyData_time_get
840     if _newclass:time = property(_openbox.KeyData_time_get,_openbox.KeyData_time_set)
841     __swig_setmethods__["state"] = _openbox.KeyData_state_set
842     __swig_getmethods__["state"] = _openbox.KeyData_state_get
843     if _newclass:state = property(_openbox.KeyData_state_get,_openbox.KeyData_state_set)
844     __swig_setmethods__["key"] = _openbox.KeyData_key_set
845     __swig_getmethods__["key"] = _openbox.KeyData_key_get
846     if _newclass:key = property(_openbox.KeyData_key_get,_openbox.KeyData_key_set)
847     def __init__(self,*args):
848         self.this = apply(_openbox.new_KeyData,args)
849         self.thisown = 1
850     def __repr__(self):
851         return "<C KeyData instance at %s>" % (self.this,)
852
853 class KeyDataPtr(KeyData):
854     def __init__(self,this):
855         self.this = this
856         if not hasattr(self,"thisown"): self.thisown = 0
857         self.__class__ = KeyData
858 _openbox.KeyData_swigregister(KeyDataPtr)
859
860 mbind = _openbox.mbind
861
862 kbind = _openbox.kbind
863
864 ebind = _openbox.ebind
865
866 set_reset_key = _openbox.set_reset_key
867
868 send_client_msg = _openbox.send_client_msg
869
870 X_PROTOCOL = _openbox.X_PROTOCOL
871 X_PROTOCOL_REVISION = _openbox.X_PROTOCOL_REVISION
872 None = _openbox.None
873 ParentRelative = _openbox.ParentRelative
874 CopyFromParent = _openbox.CopyFromParent
875 PointerWindow = _openbox.PointerWindow
876 InputFocus = _openbox.InputFocus
877 PointerRoot = _openbox.PointerRoot
878 AnyPropertyType = _openbox.AnyPropertyType
879 AnyKey = _openbox.AnyKey
880 AnyButton = _openbox.AnyButton
881 AllTemporary = _openbox.AllTemporary
882 CurrentTime = _openbox.CurrentTime
883 NoSymbol = _openbox.NoSymbol
884 NoEventMask = _openbox.NoEventMask
885 KeyPressMask = _openbox.KeyPressMask
886 KeyReleaseMask = _openbox.KeyReleaseMask
887 ButtonPressMask = _openbox.ButtonPressMask
888 ButtonReleaseMask = _openbox.ButtonReleaseMask
889 EnterWindowMask = _openbox.EnterWindowMask
890 LeaveWindowMask = _openbox.LeaveWindowMask
891 PointerMotionMask = _openbox.PointerMotionMask
892 PointerMotionHintMask = _openbox.PointerMotionHintMask
893 Button1MotionMask = _openbox.Button1MotionMask
894 Button2MotionMask = _openbox.Button2MotionMask
895 Button3MotionMask = _openbox.Button3MotionMask
896 Button4MotionMask = _openbox.Button4MotionMask
897 Button5MotionMask = _openbox.Button5MotionMask
898 ButtonMotionMask = _openbox.ButtonMotionMask
899 KeymapStateMask = _openbox.KeymapStateMask
900 ExposureMask = _openbox.ExposureMask
901 VisibilityChangeMask = _openbox.VisibilityChangeMask
902 StructureNotifyMask = _openbox.StructureNotifyMask
903 ResizeRedirectMask = _openbox.ResizeRedirectMask
904 SubstructureNotifyMask = _openbox.SubstructureNotifyMask
905 SubstructureRedirectMask = _openbox.SubstructureRedirectMask
906 FocusChangeMask = _openbox.FocusChangeMask
907 PropertyChangeMask = _openbox.PropertyChangeMask
908 ColormapChangeMask = _openbox.ColormapChangeMask
909 OwnerGrabButtonMask = _openbox.OwnerGrabButtonMask
910 KeyPress = _openbox.KeyPress
911 KeyRelease = _openbox.KeyRelease
912 ButtonPress = _openbox.ButtonPress
913 ButtonRelease = _openbox.ButtonRelease
914 MotionNotify = _openbox.MotionNotify
915 EnterNotify = _openbox.EnterNotify
916 LeaveNotify = _openbox.LeaveNotify
917 FocusIn = _openbox.FocusIn
918 FocusOut = _openbox.FocusOut
919 KeymapNotify = _openbox.KeymapNotify
920 Expose = _openbox.Expose
921 GraphicsExpose = _openbox.GraphicsExpose
922 NoExpose = _openbox.NoExpose
923 VisibilityNotify = _openbox.VisibilityNotify
924 CreateNotify = _openbox.CreateNotify
925 DestroyNotify = _openbox.DestroyNotify
926 UnmapNotify = _openbox.UnmapNotify
927 MapNotify = _openbox.MapNotify
928 MapRequest = _openbox.MapRequest
929 ReparentNotify = _openbox.ReparentNotify
930 ConfigureNotify = _openbox.ConfigureNotify
931 ConfigureRequest = _openbox.ConfigureRequest
932 GravityNotify = _openbox.GravityNotify
933 ResizeRequest = _openbox.ResizeRequest
934 CirculateNotify = _openbox.CirculateNotify
935 CirculateRequest = _openbox.CirculateRequest
936 PropertyNotify = _openbox.PropertyNotify
937 SelectionClear = _openbox.SelectionClear
938 SelectionRequest = _openbox.SelectionRequest
939 SelectionNotify = _openbox.SelectionNotify
940 ColormapNotify = _openbox.ColormapNotify
941 ClientMessage = _openbox.ClientMessage
942 MappingNotify = _openbox.MappingNotify
943 LASTEvent = _openbox.LASTEvent
944 ShiftMask = _openbox.ShiftMask
945 LockMask = _openbox.LockMask
946 ControlMask = _openbox.ControlMask
947 Mod1Mask = _openbox.Mod1Mask
948 Mod2Mask = _openbox.Mod2Mask
949 Mod3Mask = _openbox.Mod3Mask
950 Mod4Mask = _openbox.Mod4Mask
951 Mod5Mask = _openbox.Mod5Mask
952 ShiftMapIndex = _openbox.ShiftMapIndex
953 LockMapIndex = _openbox.LockMapIndex
954 ControlMapIndex = _openbox.ControlMapIndex
955 Mod1MapIndex = _openbox.Mod1MapIndex
956 Mod2MapIndex = _openbox.Mod2MapIndex
957 Mod3MapIndex = _openbox.Mod3MapIndex
958 Mod4MapIndex = _openbox.Mod4MapIndex
959 Mod5MapIndex = _openbox.Mod5MapIndex
960 Button1Mask = _openbox.Button1Mask
961 Button2Mask = _openbox.Button2Mask
962 Button3Mask = _openbox.Button3Mask
963 Button4Mask = _openbox.Button4Mask
964 Button5Mask = _openbox.Button5Mask
965 AnyModifier = _openbox.AnyModifier
966 Button1 = _openbox.Button1
967 Button2 = _openbox.Button2
968 Button3 = _openbox.Button3
969 Button4 = _openbox.Button4
970 Button5 = _openbox.Button5
971 NotifyNormal = _openbox.NotifyNormal
972 NotifyGrab = _openbox.NotifyGrab
973 NotifyUngrab = _openbox.NotifyUngrab
974 NotifyWhileGrabbed = _openbox.NotifyWhileGrabbed
975 NotifyHint = _openbox.NotifyHint
976 NotifyAncestor = _openbox.NotifyAncestor
977 NotifyVirtual = _openbox.NotifyVirtual
978 NotifyInferior = _openbox.NotifyInferior
979 NotifyNonlinear = _openbox.NotifyNonlinear
980 NotifyNonlinearVirtual = _openbox.NotifyNonlinearVirtual
981 NotifyPointer = _openbox.NotifyPointer
982 NotifyPointerRoot = _openbox.NotifyPointerRoot
983 NotifyDetailNone = _openbox.NotifyDetailNone
984 VisibilityUnobscured = _openbox.VisibilityUnobscured
985 VisibilityPartiallyObscured = _openbox.VisibilityPartiallyObscured
986 VisibilityFullyObscured = _openbox.VisibilityFullyObscured
987 PlaceOnTop = _openbox.PlaceOnTop
988 PlaceOnBottom = _openbox.PlaceOnBottom
989 FamilyInternet = _openbox.FamilyInternet
990 FamilyDECnet = _openbox.FamilyDECnet
991 FamilyChaos = _openbox.FamilyChaos
992 PropertyNewValue = _openbox.PropertyNewValue
993 PropertyDelete = _openbox.PropertyDelete
994 ColormapUninstalled = _openbox.ColormapUninstalled
995 ColormapInstalled = _openbox.ColormapInstalled
996 GrabModeSync = _openbox.GrabModeSync
997 GrabModeAsync = _openbox.GrabModeAsync
998 GrabSuccess = _openbox.GrabSuccess
999 AlreadyGrabbed = _openbox.AlreadyGrabbed
1000 GrabInvalidTime = _openbox.GrabInvalidTime
1001 GrabNotViewable = _openbox.GrabNotViewable
1002 GrabFrozen = _openbox.GrabFrozen
1003 AsyncPointer = _openbox.AsyncPointer
1004 SyncPointer = _openbox.SyncPointer
1005 ReplayPointer = _openbox.ReplayPointer
1006 AsyncKeyboard = _openbox.AsyncKeyboard
1007 SyncKeyboard = _openbox.SyncKeyboard
1008 ReplayKeyboard = _openbox.ReplayKeyboard
1009 AsyncBoth = _openbox.AsyncBoth
1010 SyncBoth = _openbox.SyncBoth
1011 RevertToParent = _openbox.RevertToParent
1012 Success = _openbox.Success
1013 BadRequest = _openbox.BadRequest
1014 BadValue = _openbox.BadValue
1015 BadWindow = _openbox.BadWindow
1016 BadPixmap = _openbox.BadPixmap
1017 BadAtom = _openbox.BadAtom
1018 BadCursor = _openbox.BadCursor
1019 BadFont = _openbox.BadFont
1020 BadMatch = _openbox.BadMatch
1021 BadDrawable = _openbox.BadDrawable
1022 BadAccess = _openbox.BadAccess
1023 BadAlloc = _openbox.BadAlloc
1024 BadColor = _openbox.BadColor
1025 BadGC = _openbox.BadGC
1026 BadIDChoice = _openbox.BadIDChoice
1027 BadName = _openbox.BadName
1028 BadLength = _openbox.BadLength
1029 BadImplementation = _openbox.BadImplementation
1030 FirstExtensionError = _openbox.FirstExtensionError
1031 LastExtensionError = _openbox.LastExtensionError
1032 InputOutput = _openbox.InputOutput
1033 InputOnly = _openbox.InputOnly
1034 CWBackPixmap = _openbox.CWBackPixmap
1035 CWBackPixel = _openbox.CWBackPixel
1036 CWBorderPixmap = _openbox.CWBorderPixmap
1037 CWBorderPixel = _openbox.CWBorderPixel
1038 CWBitGravity = _openbox.CWBitGravity
1039 CWWinGravity = _openbox.CWWinGravity
1040 CWBackingStore = _openbox.CWBackingStore
1041 CWBackingPlanes = _openbox.CWBackingPlanes
1042 CWBackingPixel = _openbox.CWBackingPixel
1043 CWOverrideRedirect = _openbox.CWOverrideRedirect
1044 CWSaveUnder = _openbox.CWSaveUnder
1045 CWEventMask = _openbox.CWEventMask
1046 CWDontPropagate = _openbox.CWDontPropagate
1047 CWColormap = _openbox.CWColormap
1048 CWCursor = _openbox.CWCursor
1049 CWX = _openbox.CWX
1050 CWY = _openbox.CWY
1051 CWWidth = _openbox.CWWidth
1052 CWHeight = _openbox.CWHeight
1053 CWBorderWidth = _openbox.CWBorderWidth
1054 CWSibling = _openbox.CWSibling
1055 CWStackMode = _openbox.CWStackMode
1056 ForgetGravity = _openbox.ForgetGravity
1057 NorthWestGravity = _openbox.NorthWestGravity
1058 NorthGravity = _openbox.NorthGravity
1059 NorthEastGravity = _openbox.NorthEastGravity
1060 WestGravity = _openbox.WestGravity
1061 CenterGravity = _openbox.CenterGravity
1062 EastGravity = _openbox.EastGravity
1063 SouthWestGravity = _openbox.SouthWestGravity
1064 SouthGravity = _openbox.SouthGravity
1065 SouthEastGravity = _openbox.SouthEastGravity
1066 StaticGravity = _openbox.StaticGravity
1067 UnmapGravity = _openbox.UnmapGravity
1068 NotUseful = _openbox.NotUseful
1069 WhenMapped = _openbox.WhenMapped
1070 Always = _openbox.Always
1071 IsUnmapped = _openbox.IsUnmapped
1072 IsUnviewable = _openbox.IsUnviewable
1073 IsViewable = _openbox.IsViewable
1074 SetModeInsert = _openbox.SetModeInsert
1075 SetModeDelete = _openbox.SetModeDelete
1076 DestroyAll = _openbox.DestroyAll
1077 RetainPermanent = _openbox.RetainPermanent
1078 RetainTemporary = _openbox.RetainTemporary
1079 Above = _openbox.Above
1080 Below = _openbox.Below
1081 TopIf = _openbox.TopIf
1082 BottomIf = _openbox.BottomIf
1083 Opposite = _openbox.Opposite
1084 RaiseLowest = _openbox.RaiseLowest
1085 LowerHighest = _openbox.LowerHighest
1086 PropModeReplace = _openbox.PropModeReplace
1087 PropModePrepend = _openbox.PropModePrepend
1088 PropModeAppend = _openbox.PropModeAppend
1089 GXclear = _openbox.GXclear
1090 GXand = _openbox.GXand
1091 GXandReverse = _openbox.GXandReverse
1092 GXcopy = _openbox.GXcopy
1093 GXandInverted = _openbox.GXandInverted
1094 GXnoop = _openbox.GXnoop
1095 GXxor = _openbox.GXxor
1096 GXor = _openbox.GXor
1097 GXnor = _openbox.GXnor
1098 GXequiv = _openbox.GXequiv
1099 GXinvert = _openbox.GXinvert
1100 GXorReverse = _openbox.GXorReverse
1101 GXcopyInverted = _openbox.GXcopyInverted
1102 GXorInverted = _openbox.GXorInverted
1103 GXnand = _openbox.GXnand
1104 GXset = _openbox.GXset
1105 LineSolid = _openbox.LineSolid
1106 LineOnOffDash = _openbox.LineOnOffDash
1107 LineDoubleDash = _openbox.LineDoubleDash
1108 CapNotLast = _openbox.CapNotLast
1109 CapButt = _openbox.CapButt
1110 CapRound = _openbox.CapRound
1111 CapProjecting = _openbox.CapProjecting
1112 JoinMiter = _openbox.JoinMiter
1113 JoinRound = _openbox.JoinRound
1114 JoinBevel = _openbox.JoinBevel
1115 FillSolid = _openbox.FillSolid
1116 FillTiled = _openbox.FillTiled
1117 FillStippled = _openbox.FillStippled
1118 FillOpaqueStippled = _openbox.FillOpaqueStippled
1119 EvenOddRule = _openbox.EvenOddRule
1120 WindingRule = _openbox.WindingRule
1121 ClipByChildren = _openbox.ClipByChildren
1122 IncludeInferiors = _openbox.IncludeInferiors
1123 Unsorted = _openbox.Unsorted
1124 YSorted = _openbox.YSorted
1125 YXSorted = _openbox.YXSorted
1126 YXBanded = _openbox.YXBanded
1127 CoordModeOrigin = _openbox.CoordModeOrigin
1128 CoordModePrevious = _openbox.CoordModePrevious
1129 Complex = _openbox.Complex
1130 Nonconvex = _openbox.Nonconvex
1131 Convex = _openbox.Convex
1132 ArcChord = _openbox.ArcChord
1133 ArcPieSlice = _openbox.ArcPieSlice
1134 GCFunction = _openbox.GCFunction
1135 GCPlaneMask = _openbox.GCPlaneMask
1136 GCForeground = _openbox.GCForeground
1137 GCBackground = _openbox.GCBackground
1138 GCLineWidth = _openbox.GCLineWidth
1139 GCLineStyle = _openbox.GCLineStyle
1140 GCCapStyle = _openbox.GCCapStyle
1141 GCJoinStyle = _openbox.GCJoinStyle
1142 GCFillStyle = _openbox.GCFillStyle
1143 GCFillRule = _openbox.GCFillRule
1144 GCTile = _openbox.GCTile
1145 GCStipple = _openbox.GCStipple
1146 GCTileStipXOrigin = _openbox.GCTileStipXOrigin
1147 GCTileStipYOrigin = _openbox.GCTileStipYOrigin
1148 GCFont = _openbox.GCFont
1149 GCSubwindowMode = _openbox.GCSubwindowMode
1150 GCGraphicsExposures = _openbox.GCGraphicsExposures
1151 GCClipXOrigin = _openbox.GCClipXOrigin
1152 GCClipYOrigin = _openbox.GCClipYOrigin
1153 GCClipMask = _openbox.GCClipMask
1154 GCDashOffset = _openbox.GCDashOffset
1155 GCDashList = _openbox.GCDashList
1156 GCArcMode = _openbox.GCArcMode
1157 GCLastBit = _openbox.GCLastBit
1158 FontLeftToRight = _openbox.FontLeftToRight
1159 FontRightToLeft = _openbox.FontRightToLeft
1160 FontChange = _openbox.FontChange
1161 XYBitmap = _openbox.XYBitmap
1162 XYPixmap = _openbox.XYPixmap
1163 ZPixmap = _openbox.ZPixmap
1164 AllocNone = _openbox.AllocNone
1165 AllocAll = _openbox.AllocAll
1166 DoRed = _openbox.DoRed
1167 DoGreen = _openbox.DoGreen
1168 DoBlue = _openbox.DoBlue
1169 CursorShape = _openbox.CursorShape
1170 TileShape = _openbox.TileShape
1171 StippleShape = _openbox.StippleShape
1172 AutoRepeatModeOff = _openbox.AutoRepeatModeOff
1173 AutoRepeatModeOn = _openbox.AutoRepeatModeOn
1174 AutoRepeatModeDefault = _openbox.AutoRepeatModeDefault
1175 LedModeOff = _openbox.LedModeOff
1176 LedModeOn = _openbox.LedModeOn
1177 KBKeyClickPercent = _openbox.KBKeyClickPercent
1178 KBBellPercent = _openbox.KBBellPercent
1179 KBBellPitch = _openbox.KBBellPitch
1180 KBBellDuration = _openbox.KBBellDuration
1181 KBLed = _openbox.KBLed
1182 KBLedMode = _openbox.KBLedMode
1183 KBKey = _openbox.KBKey
1184 KBAutoRepeatMode = _openbox.KBAutoRepeatMode
1185 MappingSuccess = _openbox.MappingSuccess
1186 MappingBusy = _openbox.MappingBusy
1187 MappingFailed = _openbox.MappingFailed
1188 MappingModifier = _openbox.MappingModifier
1189 MappingKeyboard = _openbox.MappingKeyboard
1190 MappingPointer = _openbox.MappingPointer
1191 DontPreferBlanking = _openbox.DontPreferBlanking
1192 PreferBlanking = _openbox.PreferBlanking
1193 DefaultBlanking = _openbox.DefaultBlanking
1194 DisableScreenSaver = _openbox.DisableScreenSaver
1195 DisableScreenInterval = _openbox.DisableScreenInterval
1196 DontAllowExposures = _openbox.DontAllowExposures
1197 AllowExposures = _openbox.AllowExposures
1198 DefaultExposures = _openbox.DefaultExposures
1199 ScreenSaverReset = _openbox.ScreenSaverReset
1200 ScreenSaverActive = _openbox.ScreenSaverActive
1201 HostInsert = _openbox.HostInsert
1202 HostDelete = _openbox.HostDelete
1203 EnableAccess = _openbox.EnableAccess
1204 DisableAccess = _openbox.DisableAccess
1205 StaticGray = _openbox.StaticGray
1206 GrayScale = _openbox.GrayScale
1207 StaticColor = _openbox.StaticColor
1208 PseudoColor = _openbox.PseudoColor
1209 TrueColor = _openbox.TrueColor
1210 DirectColor = _openbox.DirectColor
1211 LSBFirst = _openbox.LSBFirst
1212 MSBFirst = _openbox.MSBFirst
1213