]> icculus.org git repositories - mikachu/openbox.git/blob - src/openbox.py
add the global display variable
[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 timerManager(*args): return apply(_openbox.Openbox_timerManager,args)
450     def property(*args): return apply(_openbox.Openbox_property,args)
451     def actions(*args): return apply(_openbox.Openbox_actions,args)
452     def bindings(*args): return apply(_openbox.Openbox_bindings,args)
453     def screen(*args): return apply(_openbox.Openbox_screen,args)
454     def screenCount(*args): return apply(_openbox.Openbox_screenCount,args)
455     def cursors(*args): return apply(_openbox.Openbox_cursors,args)
456     def addClient(*args): return apply(_openbox.Openbox_addClient,args)
457     def removeClient(*args): return apply(_openbox.Openbox_removeClient,args)
458     def findClient(*args): return apply(_openbox.Openbox_findClient,args)
459     def focusedClient(*args): return apply(_openbox.Openbox_focusedClient,args)
460     def setFocusedClient(*args): return apply(_openbox.Openbox_setFocusedClient,args)
461     def focusedScreen(*args): return apply(_openbox.Openbox_focusedScreen,args)
462     def shutdown(*args): return apply(_openbox.Openbox_shutdown,args)
463     def restart(*args): return apply(_openbox.Openbox_restart,args)
464     def execute(*args): return apply(_openbox.Openbox_execute,args)
465     def __init__(self): raise RuntimeError, "No constructor defined"
466     def __repr__(self):
467         return "<C Openbox instance at %s>" % (self.this,)
468
469 class OpenboxPtr(Openbox):
470     def __init__(self,this):
471         self.this = this
472         if not hasattr(self,"thisown"): self.thisown = 0
473         self.__class__ = Openbox
474 _openbox.Openbox_swigregister(OpenboxPtr)
475
476 class Screen(EventHandler,):
477     __swig_setmethods__ = {}
478     for _s in [EventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
479     __setattr__ = lambda self, name, value: _swig_setattr(self, Screen, name, value)
480     __swig_getmethods__ = {}
481     for _s in [EventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
482     __getattr__ = lambda self, name: _swig_getattr(self, Screen, name)
483     def client(*args): return apply(_openbox.Screen_client,args)
484     def clientCount(*args): return apply(_openbox.Screen_clientCount,args)
485     event_mask = _openbox.Screen_event_mask
486     def number(*args): return apply(_openbox.Screen_number,args)
487     def managed(*args): return apply(_openbox.Screen_managed,args)
488     def imageControl(*args): return apply(_openbox.Screen_imageControl,args)
489     def area(*args): return apply(_openbox.Screen_area,args)
490     def style(*args): return apply(_openbox.Screen_style,args)
491     def focuswindow(*args): return apply(_openbox.Screen_focuswindow,args)
492     def desktop(*args): return apply(_openbox.Screen_desktop,args)
493     def numDesktops(*args): return apply(_openbox.Screen_numDesktops,args)
494     def updateStrut(*args): return apply(_openbox.Screen_updateStrut,args)
495     def manageExisting(*args): return apply(_openbox.Screen_manageExisting,args)
496     def manageWindow(*args): return apply(_openbox.Screen_manageWindow,args)
497     def unmanageWindow(*args): return apply(_openbox.Screen_unmanageWindow,args)
498     def restack(*args): return apply(_openbox.Screen_restack,args)
499     def setDesktopName(*args): return apply(_openbox.Screen_setDesktopName,args)
500     def propertyHandler(*args): return apply(_openbox.Screen_propertyHandler,args)
501     def clientMessageHandler(*args): return apply(_openbox.Screen_clientMessageHandler,args)
502     def mapRequestHandler(*args): return apply(_openbox.Screen_mapRequestHandler,args)
503     def __init__(self): raise RuntimeError, "No constructor defined"
504     def __repr__(self):
505         return "<C Screen instance at %s>" % (self.this,)
506
507 class ScreenPtr(Screen):
508     def __init__(self,this):
509         self.this = this
510         if not hasattr(self,"thisown"): self.thisown = 0
511         self.__class__ = Screen
512 _openbox.Screen_swigregister(ScreenPtr)
513
514 class MwmHints(_object):
515     __swig_setmethods__ = {}
516     __setattr__ = lambda self, name, value: _swig_setattr(self, MwmHints, name, value)
517     __swig_getmethods__ = {}
518     __getattr__ = lambda self, name: _swig_getattr(self, MwmHints, name)
519     __swig_setmethods__["flags"] = _openbox.MwmHints_flags_set
520     __swig_getmethods__["flags"] = _openbox.MwmHints_flags_get
521     if _newclass:flags = property(_openbox.MwmHints_flags_get,_openbox.MwmHints_flags_set)
522     __swig_setmethods__["functions"] = _openbox.MwmHints_functions_set
523     __swig_getmethods__["functions"] = _openbox.MwmHints_functions_get
524     if _newclass:functions = property(_openbox.MwmHints_functions_get,_openbox.MwmHints_functions_set)
525     __swig_setmethods__["decorations"] = _openbox.MwmHints_decorations_set
526     __swig_getmethods__["decorations"] = _openbox.MwmHints_decorations_get
527     if _newclass:decorations = property(_openbox.MwmHints_decorations_get,_openbox.MwmHints_decorations_set)
528     elements = _openbox.MwmHints_elements
529     def __init__(self): raise RuntimeError, "No constructor defined"
530     def __repr__(self):
531         return "<C MwmHints instance at %s>" % (self.this,)
532
533 class MwmHintsPtr(MwmHints):
534     def __init__(self,this):
535         self.this = this
536         if not hasattr(self,"thisown"): self.thisown = 0
537         self.__class__ = MwmHints
538 _openbox.MwmHints_swigregister(MwmHintsPtr)
539
540 class Client(EventHandler,):
541     __swig_setmethods__ = {}
542     for _s in [EventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
543     __setattr__ = lambda self, name, value: _swig_setattr(self, Client, name, value)
544     __swig_getmethods__ = {}
545     for _s in [EventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
546     __getattr__ = lambda self, name: _swig_getattr(self, Client, name)
547     __swig_setmethods__["frame"] = _openbox.Client_frame_set
548     __swig_getmethods__["frame"] = _openbox.Client_frame_get
549     if _newclass:frame = property(_openbox.Client_frame_get,_openbox.Client_frame_set)
550     Layer_Icon = _openbox.Client_Layer_Icon
551     Layer_Desktop = _openbox.Client_Layer_Desktop
552     Layer_Below = _openbox.Client_Layer_Below
553     Layer_Normal = _openbox.Client_Layer_Normal
554     Layer_Above = _openbox.Client_Layer_Above
555     Layer_Top = _openbox.Client_Layer_Top
556     Layer_Fullscreen = _openbox.Client_Layer_Fullscreen
557     Layer_Internal = _openbox.Client_Layer_Internal
558     NUM_LAYERS = _openbox.Client_NUM_LAYERS
559     TopLeft = _openbox.Client_TopLeft
560     TopRight = _openbox.Client_TopRight
561     BottomLeft = _openbox.Client_BottomLeft
562     BottomRight = _openbox.Client_BottomRight
563     Type_Desktop = _openbox.Client_Type_Desktop
564     Type_Dock = _openbox.Client_Type_Dock
565     Type_Toolbar = _openbox.Client_Type_Toolbar
566     Type_Menu = _openbox.Client_Type_Menu
567     Type_Utility = _openbox.Client_Type_Utility
568     Type_Splash = _openbox.Client_Type_Splash
569     Type_Dialog = _openbox.Client_Type_Dialog
570     Type_Normal = _openbox.Client_Type_Normal
571     MwmFlag_Functions = _openbox.Client_MwmFlag_Functions
572     MwmFlag_Decorations = _openbox.Client_MwmFlag_Decorations
573     MwmFunc_All = _openbox.Client_MwmFunc_All
574     MwmFunc_Resize = _openbox.Client_MwmFunc_Resize
575     MwmFunc_Move = _openbox.Client_MwmFunc_Move
576     MwmFunc_Iconify = _openbox.Client_MwmFunc_Iconify
577     MwmFunc_Maximize = _openbox.Client_MwmFunc_Maximize
578     MwmDecor_All = _openbox.Client_MwmDecor_All
579     MwmDecor_Border = _openbox.Client_MwmDecor_Border
580     MwmDecor_Handle = _openbox.Client_MwmDecor_Handle
581     MwmDecor_Title = _openbox.Client_MwmDecor_Title
582     MwmDecor_Iconify = _openbox.Client_MwmDecor_Iconify
583     MwmDecor_Maximize = _openbox.Client_MwmDecor_Maximize
584     Func_Resize = _openbox.Client_Func_Resize
585     Func_Move = _openbox.Client_Func_Move
586     Func_Iconify = _openbox.Client_Func_Iconify
587     Func_Maximize = _openbox.Client_Func_Maximize
588     Func_Close = _openbox.Client_Func_Close
589     Decor_Titlebar = _openbox.Client_Decor_Titlebar
590     Decor_Handle = _openbox.Client_Decor_Handle
591     Decor_Border = _openbox.Client_Decor_Border
592     Decor_Iconify = _openbox.Client_Decor_Iconify
593     Decor_Maximize = _openbox.Client_Decor_Maximize
594     Decor_Sticky = _openbox.Client_Decor_Sticky
595     Decor_Close = _openbox.Client_Decor_Close
596     State_Remove = _openbox.Client_State_Remove
597     State_Add = _openbox.Client_State_Add
598     State_Toggle = _openbox.Client_State_Toggle
599     event_mask = _openbox.Client_event_mask
600     no_propagate_mask = _openbox.Client_no_propagate_mask
601     __swig_setmethods__["ignore_unmaps"] = _openbox.Client_ignore_unmaps_set
602     __swig_getmethods__["ignore_unmaps"] = _openbox.Client_ignore_unmaps_get
603     if _newclass:ignore_unmaps = property(_openbox.Client_ignore_unmaps_get,_openbox.Client_ignore_unmaps_set)
604     def screen(*args): return apply(_openbox.Client_screen,args)
605     def window(*args): return apply(_openbox.Client_window,args)
606     def type(*args): return apply(_openbox.Client_type,args)
607     def normal(*args): return apply(_openbox.Client_normal,args)
608     def desktop(*args): return apply(_openbox.Client_desktop,args)
609     def title(*args): return apply(_openbox.Client_title,args)
610     def iconTitle(*args): return apply(_openbox.Client_iconTitle,args)
611     def appName(*args): return apply(_openbox.Client_appName,args)
612     def appClass(*args): return apply(_openbox.Client_appClass,args)
613     def role(*args): return apply(_openbox.Client_role,args)
614     def canFocus(*args): return apply(_openbox.Client_canFocus,args)
615     def urgent(*args): return apply(_openbox.Client_urgent,args)
616     def focusNotify(*args): return apply(_openbox.Client_focusNotify,args)
617     def shaped(*args): return apply(_openbox.Client_shaped,args)
618     def gravity(*args): return apply(_openbox.Client_gravity,args)
619     def positionRequested(*args): return apply(_openbox.Client_positionRequested,args)
620     def decorations(*args): return apply(_openbox.Client_decorations,args)
621     def funtions(*args): return apply(_openbox.Client_funtions,args)
622     def transientFor(*args): return apply(_openbox.Client_transientFor,args)
623     def modal(*args): return apply(_openbox.Client_modal,args)
624     def shaded(*args): return apply(_openbox.Client_shaded,args)
625     def iconic(*args): return apply(_openbox.Client_iconic,args)
626     def maxVert(*args): return apply(_openbox.Client_maxVert,args)
627     def maxHorz(*args): return apply(_openbox.Client_maxHorz,args)
628     def layer(*args): return apply(_openbox.Client_layer,args)
629     def toggleClientBorder(*args): return apply(_openbox.Client_toggleClientBorder,args)
630     def area(*args): return apply(_openbox.Client_area,args)
631     def strut(*args): return apply(_openbox.Client_strut,args)
632     def move(*args): return apply(_openbox.Client_move,args)
633     def resize(*args): return apply(_openbox.Client_resize,args)
634     def focus(*args): return apply(_openbox.Client_focus,args)
635     def unfocus(*args): return apply(_openbox.Client_unfocus,args)
636     def focusHandler(*args): return apply(_openbox.Client_focusHandler,args)
637     def unfocusHandler(*args): return apply(_openbox.Client_unfocusHandler,args)
638     def propertyHandler(*args): return apply(_openbox.Client_propertyHandler,args)
639     def clientMessageHandler(*args): return apply(_openbox.Client_clientMessageHandler,args)
640     def configureRequestHandler(*args): return apply(_openbox.Client_configureRequestHandler,args)
641     def unmapHandler(*args): return apply(_openbox.Client_unmapHandler,args)
642     def destroyHandler(*args): return apply(_openbox.Client_destroyHandler,args)
643     def reparentHandler(*args): return apply(_openbox.Client_reparentHandler,args)
644     def __init__(self): raise RuntimeError, "No constructor defined"
645     def __repr__(self):
646         return "<C Client instance at %s>" % (self.this,)
647
648 class ClientPtr(Client):
649     def __init__(self,this):
650         self.this = this
651         if not hasattr(self,"thisown"): self.thisown = 0
652         self.__class__ = Client
653 _openbox.Client_swigregister(ClientPtr)
654
655 MC_Frame = _openbox.MC_Frame
656 MC_Titlebar = _openbox.MC_Titlebar
657 MC_Handle = _openbox.MC_Handle
658 MC_Window = _openbox.MC_Window
659 MC_MaximizeButton = _openbox.MC_MaximizeButton
660 MC_CloseButton = _openbox.MC_CloseButton
661 MC_IconifyButton = _openbox.MC_IconifyButton
662 MC_StickyButton = _openbox.MC_StickyButton
663 MC_Grip = _openbox.MC_Grip
664 MC_Root = _openbox.MC_Root
665 MC_MenuItem = _openbox.MC_MenuItem
666 NUM_MOUSE_CONTEXT = _openbox.NUM_MOUSE_CONTEXT
667 MousePress = _openbox.MousePress
668 MouseClick = _openbox.MouseClick
669 MouseDoubleClick = _openbox.MouseDoubleClick
670 MouseMotion = _openbox.MouseMotion
671 NUM_MOUSE_ACTION = _openbox.NUM_MOUSE_ACTION
672 KC_Menu = _openbox.KC_Menu
673 KC_All = _openbox.KC_All
674 NUM_KEY_CONTEXT = _openbox.NUM_KEY_CONTEXT
675 EventEnterWindow = _openbox.EventEnterWindow
676 EventLeaveWindow = _openbox.EventLeaveWindow
677 EventPlaceWindow = _openbox.EventPlaceWindow
678 EventNewWindow = _openbox.EventNewWindow
679 EventCloseWindow = _openbox.EventCloseWindow
680 EventStartup = _openbox.EventStartup
681 EventShutdown = _openbox.EventShutdown
682 EventFocus = _openbox.EventFocus
683 EventBell = _openbox.EventBell
684 NUM_EVENTS = _openbox.NUM_EVENTS
685 class MouseData(_object):
686     __swig_setmethods__ = {}
687     __setattr__ = lambda self, name, value: _swig_setattr(self, MouseData, name, value)
688     __swig_getmethods__ = {}
689     __getattr__ = lambda self, name: _swig_getattr(self, MouseData, name)
690     __swig_setmethods__["screen"] = _openbox.MouseData_screen_set
691     __swig_getmethods__["screen"] = _openbox.MouseData_screen_get
692     if _newclass:screen = property(_openbox.MouseData_screen_get,_openbox.MouseData_screen_set)
693     __swig_setmethods__["client"] = _openbox.MouseData_client_set
694     __swig_getmethods__["client"] = _openbox.MouseData_client_get
695     if _newclass:client = property(_openbox.MouseData_client_get,_openbox.MouseData_client_set)
696     __swig_setmethods__["time"] = _openbox.MouseData_time_set
697     __swig_getmethods__["time"] = _openbox.MouseData_time_get
698     if _newclass:time = property(_openbox.MouseData_time_get,_openbox.MouseData_time_set)
699     __swig_setmethods__["state"] = _openbox.MouseData_state_set
700     __swig_getmethods__["state"] = _openbox.MouseData_state_get
701     if _newclass:state = property(_openbox.MouseData_state_get,_openbox.MouseData_state_set)
702     __swig_setmethods__["button"] = _openbox.MouseData_button_set
703     __swig_getmethods__["button"] = _openbox.MouseData_button_get
704     if _newclass:button = property(_openbox.MouseData_button_get,_openbox.MouseData_button_set)
705     __swig_setmethods__["context"] = _openbox.MouseData_context_set
706     __swig_getmethods__["context"] = _openbox.MouseData_context_get
707     if _newclass:context = property(_openbox.MouseData_context_get,_openbox.MouseData_context_set)
708     __swig_setmethods__["action"] = _openbox.MouseData_action_set
709     __swig_getmethods__["action"] = _openbox.MouseData_action_get
710     if _newclass:action = property(_openbox.MouseData_action_get,_openbox.MouseData_action_set)
711     __swig_setmethods__["xroot"] = _openbox.MouseData_xroot_set
712     __swig_getmethods__["xroot"] = _openbox.MouseData_xroot_get
713     if _newclass:xroot = property(_openbox.MouseData_xroot_get,_openbox.MouseData_xroot_set)
714     __swig_setmethods__["yroot"] = _openbox.MouseData_yroot_set
715     __swig_getmethods__["yroot"] = _openbox.MouseData_yroot_get
716     if _newclass:yroot = property(_openbox.MouseData_yroot_get,_openbox.MouseData_yroot_set)
717     __swig_setmethods__["pressx"] = _openbox.MouseData_pressx_set
718     __swig_getmethods__["pressx"] = _openbox.MouseData_pressx_get
719     if _newclass:pressx = property(_openbox.MouseData_pressx_get,_openbox.MouseData_pressx_set)
720     __swig_setmethods__["pressy"] = _openbox.MouseData_pressy_set
721     __swig_getmethods__["pressy"] = _openbox.MouseData_pressy_get
722     if _newclass:pressy = property(_openbox.MouseData_pressy_get,_openbox.MouseData_pressy_set)
723     __swig_setmethods__["press_clientx"] = _openbox.MouseData_press_clientx_set
724     __swig_getmethods__["press_clientx"] = _openbox.MouseData_press_clientx_get
725     if _newclass:press_clientx = property(_openbox.MouseData_press_clientx_get,_openbox.MouseData_press_clientx_set)
726     __swig_setmethods__["press_clienty"] = _openbox.MouseData_press_clienty_set
727     __swig_getmethods__["press_clienty"] = _openbox.MouseData_press_clienty_get
728     if _newclass:press_clienty = property(_openbox.MouseData_press_clienty_get,_openbox.MouseData_press_clienty_set)
729     __swig_setmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_set
730     __swig_getmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_get
731     if _newclass:press_clientwidth = property(_openbox.MouseData_press_clientwidth_get,_openbox.MouseData_press_clientwidth_set)
732     __swig_setmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_set
733     __swig_getmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_get
734     if _newclass:press_clientheight = property(_openbox.MouseData_press_clientheight_get,_openbox.MouseData_press_clientheight_set)
735     def __init__(self,*args):
736         self.this = apply(_openbox.new_MouseData,args)
737         self.thisown = 1
738     def __repr__(self):
739         return "<C MouseData instance at %s>" % (self.this,)
740
741 class MouseDataPtr(MouseData):
742     def __init__(self,this):
743         self.this = this
744         if not hasattr(self,"thisown"): self.thisown = 0
745         self.__class__ = MouseData
746 _openbox.MouseData_swigregister(MouseDataPtr)
747
748 class EventData(_object):
749     __swig_setmethods__ = {}
750     __setattr__ = lambda self, name, value: _swig_setattr(self, EventData, name, value)
751     __swig_getmethods__ = {}
752     __getattr__ = lambda self, name: _swig_getattr(self, EventData, name)
753     __swig_setmethods__["screen"] = _openbox.EventData_screen_set
754     __swig_getmethods__["screen"] = _openbox.EventData_screen_get
755     if _newclass:screen = property(_openbox.EventData_screen_get,_openbox.EventData_screen_set)
756     __swig_setmethods__["client"] = _openbox.EventData_client_set
757     __swig_getmethods__["client"] = _openbox.EventData_client_get
758     if _newclass:client = property(_openbox.EventData_client_get,_openbox.EventData_client_set)
759     __swig_setmethods__["state"] = _openbox.EventData_state_set
760     __swig_getmethods__["state"] = _openbox.EventData_state_get
761     if _newclass:state = property(_openbox.EventData_state_get,_openbox.EventData_state_set)
762     __swig_setmethods__["action"] = _openbox.EventData_action_set
763     __swig_getmethods__["action"] = _openbox.EventData_action_get
764     if _newclass:action = property(_openbox.EventData_action_get,_openbox.EventData_action_set)
765     def __init__(self,*args):
766         self.this = apply(_openbox.new_EventData,args)
767         self.thisown = 1
768     def __repr__(self):
769         return "<C EventData instance at %s>" % (self.this,)
770
771 class EventDataPtr(EventData):
772     def __init__(self,this):
773         self.this = this
774         if not hasattr(self,"thisown"): self.thisown = 0
775         self.__class__ = EventData
776 _openbox.EventData_swigregister(EventDataPtr)
777
778 class KeyData(_object):
779     __swig_setmethods__ = {}
780     __setattr__ = lambda self, name, value: _swig_setattr(self, KeyData, name, value)
781     __swig_getmethods__ = {}
782     __getattr__ = lambda self, name: _swig_getattr(self, KeyData, name)
783     __swig_setmethods__["screen"] = _openbox.KeyData_screen_set
784     __swig_getmethods__["screen"] = _openbox.KeyData_screen_get
785     if _newclass:screen = property(_openbox.KeyData_screen_get,_openbox.KeyData_screen_set)
786     __swig_setmethods__["client"] = _openbox.KeyData_client_set
787     __swig_getmethods__["client"] = _openbox.KeyData_client_get
788     if _newclass:client = property(_openbox.KeyData_client_get,_openbox.KeyData_client_set)
789     __swig_setmethods__["time"] = _openbox.KeyData_time_set
790     __swig_getmethods__["time"] = _openbox.KeyData_time_get
791     if _newclass:time = property(_openbox.KeyData_time_get,_openbox.KeyData_time_set)
792     __swig_setmethods__["state"] = _openbox.KeyData_state_set
793     __swig_getmethods__["state"] = _openbox.KeyData_state_get
794     if _newclass:state = property(_openbox.KeyData_state_get,_openbox.KeyData_state_set)
795     __swig_setmethods__["key"] = _openbox.KeyData_key_set
796     __swig_getmethods__["key"] = _openbox.KeyData_key_get
797     if _newclass:key = property(_openbox.KeyData_key_get,_openbox.KeyData_key_set)
798     def __init__(self,*args):
799         self.this = apply(_openbox.new_KeyData,args)
800         self.thisown = 1
801     def __repr__(self):
802         return "<C KeyData instance at %s>" % (self.this,)
803
804 class KeyDataPtr(KeyData):
805     def __init__(self,this):
806         self.this = this
807         if not hasattr(self,"thisown"): self.thisown = 0
808         self.__class__ = KeyData
809 _openbox.KeyData_swigregister(KeyDataPtr)
810
811 mbind = _openbox.mbind
812
813 kbind = _openbox.kbind
814
815 ebind = _openbox.ebind
816
817 set_reset_key = _openbox.set_reset_key
818
819 send_client_msg = _openbox.send_client_msg
820
821 X_PROTOCOL = _openbox.X_PROTOCOL
822 X_PROTOCOL_REVISION = _openbox.X_PROTOCOL_REVISION
823 None = _openbox.None
824 ParentRelative = _openbox.ParentRelative
825 CopyFromParent = _openbox.CopyFromParent
826 PointerWindow = _openbox.PointerWindow
827 InputFocus = _openbox.InputFocus
828 PointerRoot = _openbox.PointerRoot
829 AnyPropertyType = _openbox.AnyPropertyType
830 AnyKey = _openbox.AnyKey
831 AnyButton = _openbox.AnyButton
832 AllTemporary = _openbox.AllTemporary
833 CurrentTime = _openbox.CurrentTime
834 NoSymbol = _openbox.NoSymbol
835 NoEventMask = _openbox.NoEventMask
836 KeyPressMask = _openbox.KeyPressMask
837 KeyReleaseMask = _openbox.KeyReleaseMask
838 ButtonPressMask = _openbox.ButtonPressMask
839 ButtonReleaseMask = _openbox.ButtonReleaseMask
840 EnterWindowMask = _openbox.EnterWindowMask
841 LeaveWindowMask = _openbox.LeaveWindowMask
842 PointerMotionMask = _openbox.PointerMotionMask
843 PointerMotionHintMask = _openbox.PointerMotionHintMask
844 Button1MotionMask = _openbox.Button1MotionMask
845 Button2MotionMask = _openbox.Button2MotionMask
846 Button3MotionMask = _openbox.Button3MotionMask
847 Button4MotionMask = _openbox.Button4MotionMask
848 Button5MotionMask = _openbox.Button5MotionMask
849 ButtonMotionMask = _openbox.ButtonMotionMask
850 KeymapStateMask = _openbox.KeymapStateMask
851 ExposureMask = _openbox.ExposureMask
852 VisibilityChangeMask = _openbox.VisibilityChangeMask
853 StructureNotifyMask = _openbox.StructureNotifyMask
854 ResizeRedirectMask = _openbox.ResizeRedirectMask
855 SubstructureNotifyMask = _openbox.SubstructureNotifyMask
856 SubstructureRedirectMask = _openbox.SubstructureRedirectMask
857 FocusChangeMask = _openbox.FocusChangeMask
858 PropertyChangeMask = _openbox.PropertyChangeMask
859 ColormapChangeMask = _openbox.ColormapChangeMask
860 OwnerGrabButtonMask = _openbox.OwnerGrabButtonMask
861 KeyPress = _openbox.KeyPress
862 KeyRelease = _openbox.KeyRelease
863 ButtonPress = _openbox.ButtonPress
864 ButtonRelease = _openbox.ButtonRelease
865 MotionNotify = _openbox.MotionNotify
866 EnterNotify = _openbox.EnterNotify
867 LeaveNotify = _openbox.LeaveNotify
868 FocusIn = _openbox.FocusIn
869 FocusOut = _openbox.FocusOut
870 KeymapNotify = _openbox.KeymapNotify
871 Expose = _openbox.Expose
872 GraphicsExpose = _openbox.GraphicsExpose
873 NoExpose = _openbox.NoExpose
874 VisibilityNotify = _openbox.VisibilityNotify
875 CreateNotify = _openbox.CreateNotify
876 DestroyNotify = _openbox.DestroyNotify
877 UnmapNotify = _openbox.UnmapNotify
878 MapNotify = _openbox.MapNotify
879 MapRequest = _openbox.MapRequest
880 ReparentNotify = _openbox.ReparentNotify
881 ConfigureNotify = _openbox.ConfigureNotify
882 ConfigureRequest = _openbox.ConfigureRequest
883 GravityNotify = _openbox.GravityNotify
884 ResizeRequest = _openbox.ResizeRequest
885 CirculateNotify = _openbox.CirculateNotify
886 CirculateRequest = _openbox.CirculateRequest
887 PropertyNotify = _openbox.PropertyNotify
888 SelectionClear = _openbox.SelectionClear
889 SelectionRequest = _openbox.SelectionRequest
890 SelectionNotify = _openbox.SelectionNotify
891 ColormapNotify = _openbox.ColormapNotify
892 ClientMessage = _openbox.ClientMessage
893 MappingNotify = _openbox.MappingNotify
894 LASTEvent = _openbox.LASTEvent
895 ShiftMask = _openbox.ShiftMask
896 LockMask = _openbox.LockMask
897 ControlMask = _openbox.ControlMask
898 Mod1Mask = _openbox.Mod1Mask
899 Mod2Mask = _openbox.Mod2Mask
900 Mod3Mask = _openbox.Mod3Mask
901 Mod4Mask = _openbox.Mod4Mask
902 Mod5Mask = _openbox.Mod5Mask
903 ShiftMapIndex = _openbox.ShiftMapIndex
904 LockMapIndex = _openbox.LockMapIndex
905 ControlMapIndex = _openbox.ControlMapIndex
906 Mod1MapIndex = _openbox.Mod1MapIndex
907 Mod2MapIndex = _openbox.Mod2MapIndex
908 Mod3MapIndex = _openbox.Mod3MapIndex
909 Mod4MapIndex = _openbox.Mod4MapIndex
910 Mod5MapIndex = _openbox.Mod5MapIndex
911 Button1Mask = _openbox.Button1Mask
912 Button2Mask = _openbox.Button2Mask
913 Button3Mask = _openbox.Button3Mask
914 Button4Mask = _openbox.Button4Mask
915 Button5Mask = _openbox.Button5Mask
916 AnyModifier = _openbox.AnyModifier
917 Button1 = _openbox.Button1
918 Button2 = _openbox.Button2
919 Button3 = _openbox.Button3
920 Button4 = _openbox.Button4
921 Button5 = _openbox.Button5
922 NotifyNormal = _openbox.NotifyNormal
923 NotifyGrab = _openbox.NotifyGrab
924 NotifyUngrab = _openbox.NotifyUngrab
925 NotifyWhileGrabbed = _openbox.NotifyWhileGrabbed
926 NotifyHint = _openbox.NotifyHint
927 NotifyAncestor = _openbox.NotifyAncestor
928 NotifyVirtual = _openbox.NotifyVirtual
929 NotifyInferior = _openbox.NotifyInferior
930 NotifyNonlinear = _openbox.NotifyNonlinear
931 NotifyNonlinearVirtual = _openbox.NotifyNonlinearVirtual
932 NotifyPointer = _openbox.NotifyPointer
933 NotifyPointerRoot = _openbox.NotifyPointerRoot
934 NotifyDetailNone = _openbox.NotifyDetailNone
935 VisibilityUnobscured = _openbox.VisibilityUnobscured
936 VisibilityPartiallyObscured = _openbox.VisibilityPartiallyObscured
937 VisibilityFullyObscured = _openbox.VisibilityFullyObscured
938 PlaceOnTop = _openbox.PlaceOnTop
939 PlaceOnBottom = _openbox.PlaceOnBottom
940 FamilyInternet = _openbox.FamilyInternet
941 FamilyDECnet = _openbox.FamilyDECnet
942 FamilyChaos = _openbox.FamilyChaos
943 PropertyNewValue = _openbox.PropertyNewValue
944 PropertyDelete = _openbox.PropertyDelete
945 ColormapUninstalled = _openbox.ColormapUninstalled
946 ColormapInstalled = _openbox.ColormapInstalled
947 GrabModeSync = _openbox.GrabModeSync
948 GrabModeAsync = _openbox.GrabModeAsync
949 GrabSuccess = _openbox.GrabSuccess
950 AlreadyGrabbed = _openbox.AlreadyGrabbed
951 GrabInvalidTime = _openbox.GrabInvalidTime
952 GrabNotViewable = _openbox.GrabNotViewable
953 GrabFrozen = _openbox.GrabFrozen
954 AsyncPointer = _openbox.AsyncPointer
955 SyncPointer = _openbox.SyncPointer
956 ReplayPointer = _openbox.ReplayPointer
957 AsyncKeyboard = _openbox.AsyncKeyboard
958 SyncKeyboard = _openbox.SyncKeyboard
959 ReplayKeyboard = _openbox.ReplayKeyboard
960 AsyncBoth = _openbox.AsyncBoth
961 SyncBoth = _openbox.SyncBoth
962 RevertToParent = _openbox.RevertToParent
963 Success = _openbox.Success
964 BadRequest = _openbox.BadRequest
965 BadValue = _openbox.BadValue
966 BadWindow = _openbox.BadWindow
967 BadPixmap = _openbox.BadPixmap
968 BadAtom = _openbox.BadAtom
969 BadCursor = _openbox.BadCursor
970 BadFont = _openbox.BadFont
971 BadMatch = _openbox.BadMatch
972 BadDrawable = _openbox.BadDrawable
973 BadAccess = _openbox.BadAccess
974 BadAlloc = _openbox.BadAlloc
975 BadColor = _openbox.BadColor
976 BadGC = _openbox.BadGC
977 BadIDChoice = _openbox.BadIDChoice
978 BadName = _openbox.BadName
979 BadLength = _openbox.BadLength
980 BadImplementation = _openbox.BadImplementation
981 FirstExtensionError = _openbox.FirstExtensionError
982 LastExtensionError = _openbox.LastExtensionError
983 InputOutput = _openbox.InputOutput
984 InputOnly = _openbox.InputOnly
985 CWBackPixmap = _openbox.CWBackPixmap
986 CWBackPixel = _openbox.CWBackPixel
987 CWBorderPixmap = _openbox.CWBorderPixmap
988 CWBorderPixel = _openbox.CWBorderPixel
989 CWBitGravity = _openbox.CWBitGravity
990 CWWinGravity = _openbox.CWWinGravity
991 CWBackingStore = _openbox.CWBackingStore
992 CWBackingPlanes = _openbox.CWBackingPlanes
993 CWBackingPixel = _openbox.CWBackingPixel
994 CWOverrideRedirect = _openbox.CWOverrideRedirect
995 CWSaveUnder = _openbox.CWSaveUnder
996 CWEventMask = _openbox.CWEventMask
997 CWDontPropagate = _openbox.CWDontPropagate
998 CWColormap = _openbox.CWColormap
999 CWCursor = _openbox.CWCursor
1000 CWX = _openbox.CWX
1001 CWY = _openbox.CWY
1002 CWWidth = _openbox.CWWidth
1003 CWHeight = _openbox.CWHeight
1004 CWBorderWidth = _openbox.CWBorderWidth
1005 CWSibling = _openbox.CWSibling
1006 CWStackMode = _openbox.CWStackMode
1007 ForgetGravity = _openbox.ForgetGravity
1008 NorthWestGravity = _openbox.NorthWestGravity
1009 NorthGravity = _openbox.NorthGravity
1010 NorthEastGravity = _openbox.NorthEastGravity
1011 WestGravity = _openbox.WestGravity
1012 CenterGravity = _openbox.CenterGravity
1013 EastGravity = _openbox.EastGravity
1014 SouthWestGravity = _openbox.SouthWestGravity
1015 SouthGravity = _openbox.SouthGravity
1016 SouthEastGravity = _openbox.SouthEastGravity
1017 StaticGravity = _openbox.StaticGravity
1018 UnmapGravity = _openbox.UnmapGravity
1019 NotUseful = _openbox.NotUseful
1020 WhenMapped = _openbox.WhenMapped
1021 Always = _openbox.Always
1022 IsUnmapped = _openbox.IsUnmapped
1023 IsUnviewable = _openbox.IsUnviewable
1024 IsViewable = _openbox.IsViewable
1025 SetModeInsert = _openbox.SetModeInsert
1026 SetModeDelete = _openbox.SetModeDelete
1027 DestroyAll = _openbox.DestroyAll
1028 RetainPermanent = _openbox.RetainPermanent
1029 RetainTemporary = _openbox.RetainTemporary
1030 Above = _openbox.Above
1031 Below = _openbox.Below
1032 TopIf = _openbox.TopIf
1033 BottomIf = _openbox.BottomIf
1034 Opposite = _openbox.Opposite
1035 RaiseLowest = _openbox.RaiseLowest
1036 LowerHighest = _openbox.LowerHighest
1037 PropModeReplace = _openbox.PropModeReplace
1038 PropModePrepend = _openbox.PropModePrepend
1039 PropModeAppend = _openbox.PropModeAppend
1040 GXclear = _openbox.GXclear
1041 GXand = _openbox.GXand
1042 GXandReverse = _openbox.GXandReverse
1043 GXcopy = _openbox.GXcopy
1044 GXandInverted = _openbox.GXandInverted
1045 GXnoop = _openbox.GXnoop
1046 GXxor = _openbox.GXxor
1047 GXor = _openbox.GXor
1048 GXnor = _openbox.GXnor
1049 GXequiv = _openbox.GXequiv
1050 GXinvert = _openbox.GXinvert
1051 GXorReverse = _openbox.GXorReverse
1052 GXcopyInverted = _openbox.GXcopyInverted
1053 GXorInverted = _openbox.GXorInverted
1054 GXnand = _openbox.GXnand
1055 GXset = _openbox.GXset
1056 LineSolid = _openbox.LineSolid
1057 LineOnOffDash = _openbox.LineOnOffDash
1058 LineDoubleDash = _openbox.LineDoubleDash
1059 CapNotLast = _openbox.CapNotLast
1060 CapButt = _openbox.CapButt
1061 CapRound = _openbox.CapRound
1062 CapProjecting = _openbox.CapProjecting
1063 JoinMiter = _openbox.JoinMiter
1064 JoinRound = _openbox.JoinRound
1065 JoinBevel = _openbox.JoinBevel
1066 FillSolid = _openbox.FillSolid
1067 FillTiled = _openbox.FillTiled
1068 FillStippled = _openbox.FillStippled
1069 FillOpaqueStippled = _openbox.FillOpaqueStippled
1070 EvenOddRule = _openbox.EvenOddRule
1071 WindingRule = _openbox.WindingRule
1072 ClipByChildren = _openbox.ClipByChildren
1073 IncludeInferiors = _openbox.IncludeInferiors
1074 Unsorted = _openbox.Unsorted
1075 YSorted = _openbox.YSorted
1076 YXSorted = _openbox.YXSorted
1077 YXBanded = _openbox.YXBanded
1078 CoordModeOrigin = _openbox.CoordModeOrigin
1079 CoordModePrevious = _openbox.CoordModePrevious
1080 Complex = _openbox.Complex
1081 Nonconvex = _openbox.Nonconvex
1082 Convex = _openbox.Convex
1083 ArcChord = _openbox.ArcChord
1084 ArcPieSlice = _openbox.ArcPieSlice
1085 GCFunction = _openbox.GCFunction
1086 GCPlaneMask = _openbox.GCPlaneMask
1087 GCForeground = _openbox.GCForeground
1088 GCBackground = _openbox.GCBackground
1089 GCLineWidth = _openbox.GCLineWidth
1090 GCLineStyle = _openbox.GCLineStyle
1091 GCCapStyle = _openbox.GCCapStyle
1092 GCJoinStyle = _openbox.GCJoinStyle
1093 GCFillStyle = _openbox.GCFillStyle
1094 GCFillRule = _openbox.GCFillRule
1095 GCTile = _openbox.GCTile
1096 GCStipple = _openbox.GCStipple
1097 GCTileStipXOrigin = _openbox.GCTileStipXOrigin
1098 GCTileStipYOrigin = _openbox.GCTileStipYOrigin
1099 GCFont = _openbox.GCFont
1100 GCSubwindowMode = _openbox.GCSubwindowMode
1101 GCGraphicsExposures = _openbox.GCGraphicsExposures
1102 GCClipXOrigin = _openbox.GCClipXOrigin
1103 GCClipYOrigin = _openbox.GCClipYOrigin
1104 GCClipMask = _openbox.GCClipMask
1105 GCDashOffset = _openbox.GCDashOffset
1106 GCDashList = _openbox.GCDashList
1107 GCArcMode = _openbox.GCArcMode
1108 GCLastBit = _openbox.GCLastBit
1109 FontLeftToRight = _openbox.FontLeftToRight
1110 FontRightToLeft = _openbox.FontRightToLeft
1111 FontChange = _openbox.FontChange
1112 XYBitmap = _openbox.XYBitmap
1113 XYPixmap = _openbox.XYPixmap
1114 ZPixmap = _openbox.ZPixmap
1115 AllocNone = _openbox.AllocNone
1116 AllocAll = _openbox.AllocAll
1117 DoRed = _openbox.DoRed
1118 DoGreen = _openbox.DoGreen
1119 DoBlue = _openbox.DoBlue
1120 CursorShape = _openbox.CursorShape
1121 TileShape = _openbox.TileShape
1122 StippleShape = _openbox.StippleShape
1123 AutoRepeatModeOff = _openbox.AutoRepeatModeOff
1124 AutoRepeatModeOn = _openbox.AutoRepeatModeOn
1125 AutoRepeatModeDefault = _openbox.AutoRepeatModeDefault
1126 LedModeOff = _openbox.LedModeOff
1127 LedModeOn = _openbox.LedModeOn
1128 KBKeyClickPercent = _openbox.KBKeyClickPercent
1129 KBBellPercent = _openbox.KBBellPercent
1130 KBBellPitch = _openbox.KBBellPitch
1131 KBBellDuration = _openbox.KBBellDuration
1132 KBLed = _openbox.KBLed
1133 KBLedMode = _openbox.KBLedMode
1134 KBKey = _openbox.KBKey
1135 KBAutoRepeatMode = _openbox.KBAutoRepeatMode
1136 MappingSuccess = _openbox.MappingSuccess
1137 MappingBusy = _openbox.MappingBusy
1138 MappingFailed = _openbox.MappingFailed
1139 MappingModifier = _openbox.MappingModifier
1140 MappingKeyboard = _openbox.MappingKeyboard
1141 MappingPointer = _openbox.MappingPointer
1142 DontPreferBlanking = _openbox.DontPreferBlanking
1143 PreferBlanking = _openbox.PreferBlanking
1144 DefaultBlanking = _openbox.DefaultBlanking
1145 DisableScreenSaver = _openbox.DisableScreenSaver
1146 DisableScreenInterval = _openbox.DisableScreenInterval
1147 DontAllowExposures = _openbox.DontAllowExposures
1148 AllowExposures = _openbox.AllowExposures
1149 DefaultExposures = _openbox.DefaultExposures
1150 ScreenSaverReset = _openbox.ScreenSaverReset
1151 ScreenSaverActive = _openbox.ScreenSaverActive
1152 HostInsert = _openbox.HostInsert
1153 HostDelete = _openbox.HostDelete
1154 EnableAccess = _openbox.EnableAccess
1155 DisableAccess = _openbox.DisableAccess
1156 StaticGray = _openbox.StaticGray
1157 GrayScale = _openbox.GrayScale
1158 StaticColor = _openbox.StaticColor
1159 PseudoColor = _openbox.PseudoColor
1160 TrueColor = _openbox.TrueColor
1161 DirectColor = _openbox.DirectColor
1162 LSBFirst = _openbox.LSBFirst
1163 MSBFirst = _openbox.MSBFirst
1164