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