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