]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.py
fix \'s
[chaz/openbox] / src / openbox.py
index 91fc38384d618e4e134eb6f80c28c67f9dc5723e..64e2d763a780cfd0a05663a80829fc021320a3e6 100644 (file)
@@ -29,6 +29,96 @@ except AttributeError:
 
 Openbox_instance = _openbox.Openbox_instance
 
+OBDisplay_display = _openbox.OBDisplay_display
+
+class OBDisplay(_object):
+    __swig_setmethods__ = {}
+    __setattr__ = lambda self, name, value: _swig_setattr(self, OBDisplay, name, value)
+    __swig_getmethods__ = {}
+    __getattr__ = lambda self, name: _swig_getattr(self, OBDisplay, name)
+    __swig_getmethods__["initialize"] = lambda x: _openbox.OBDisplay_initialize
+    if _newclass:initialize = staticmethod(_openbox.OBDisplay_initialize)
+    __swig_getmethods__["destroy"] = lambda x: _openbox.OBDisplay_destroy
+    if _newclass:destroy = staticmethod(_openbox.OBDisplay_destroy)
+    __swig_getmethods__["gcCache"] = lambda x: _openbox.OBDisplay_gcCache
+    if _newclass:gcCache = staticmethod(_openbox.OBDisplay_gcCache)
+    __swig_getmethods__["screenInfo"] = lambda x: _openbox.OBDisplay_screenInfo
+    if _newclass:screenInfo = staticmethod(_openbox.OBDisplay_screenInfo)
+    __swig_getmethods__["findScreen"] = lambda x: _openbox.OBDisplay_findScreen
+    if _newclass:findScreen = staticmethod(_openbox.OBDisplay_findScreen)
+    __swig_getmethods__["xkb"] = lambda x: _openbox.OBDisplay_xkb
+    if _newclass:xkb = staticmethod(_openbox.OBDisplay_xkb)
+    __swig_getmethods__["xkbEventBase"] = lambda x: _openbox.OBDisplay_xkbEventBase
+    if _newclass:xkbEventBase = staticmethod(_openbox.OBDisplay_xkbEventBase)
+    __swig_getmethods__["shape"] = lambda x: _openbox.OBDisplay_shape
+    if _newclass:shape = staticmethod(_openbox.OBDisplay_shape)
+    __swig_getmethods__["shapeEventBase"] = lambda x: _openbox.OBDisplay_shapeEventBase
+    if _newclass:shapeEventBase = staticmethod(_openbox.OBDisplay_shapeEventBase)
+    __swig_getmethods__["xinerama"] = lambda x: _openbox.OBDisplay_xinerama
+    if _newclass:xinerama = staticmethod(_openbox.OBDisplay_xinerama)
+    __swig_getmethods__["numLockMask"] = lambda x: _openbox.OBDisplay_numLockMask
+    if _newclass:numLockMask = staticmethod(_openbox.OBDisplay_numLockMask)
+    __swig_getmethods__["scrollLockMask"] = lambda x: _openbox.OBDisplay_scrollLockMask
+    if _newclass:scrollLockMask = staticmethod(_openbox.OBDisplay_scrollLockMask)
+    __swig_getmethods__["grab"] = lambda x: _openbox.OBDisplay_grab
+    if _newclass:grab = staticmethod(_openbox.OBDisplay_grab)
+    __swig_getmethods__["ungrab"] = lambda x: _openbox.OBDisplay_ungrab
+    if _newclass:ungrab = staticmethod(_openbox.OBDisplay_ungrab)
+    __swig_getmethods__["grabButton"] = lambda x: _openbox.OBDisplay_grabButton
+    if _newclass:grabButton = staticmethod(_openbox.OBDisplay_grabButton)
+    __swig_getmethods__["ungrabButton"] = lambda x: _openbox.OBDisplay_ungrabButton
+    if _newclass:ungrabButton = staticmethod(_openbox.OBDisplay_ungrabButton)
+    __swig_getmethods__["grabKey"] = lambda x: _openbox.OBDisplay_grabKey
+    if _newclass:grabKey = staticmethod(_openbox.OBDisplay_grabKey)
+    __swig_getmethods__["ungrabKey"] = lambda x: _openbox.OBDisplay_ungrabKey
+    if _newclass:ungrabKey = staticmethod(_openbox.OBDisplay_ungrabKey)
+    def __init__(self): raise RuntimeError, "No constructor defined"
+    def __repr__(self):
+        return "<C OBDisplay instance at %s>" % (self.this,)
+
+class OBDisplayPtr(OBDisplay):
+    def __init__(self,this):
+        self.this = this
+        if not hasattr(self,"thisown"): self.thisown = 0
+        self.__class__ = OBDisplay
+_openbox.OBDisplay_swigregister(OBDisplayPtr)
+OBDisplay_initialize = _openbox.OBDisplay_initialize
+
+OBDisplay_destroy = _openbox.OBDisplay_destroy
+
+OBDisplay_gcCache = _openbox.OBDisplay_gcCache
+
+OBDisplay_screenInfo = _openbox.OBDisplay_screenInfo
+
+OBDisplay_findScreen = _openbox.OBDisplay_findScreen
+
+OBDisplay_xkb = _openbox.OBDisplay_xkb
+
+OBDisplay_xkbEventBase = _openbox.OBDisplay_xkbEventBase
+
+OBDisplay_shape = _openbox.OBDisplay_shape
+
+OBDisplay_shapeEventBase = _openbox.OBDisplay_shapeEventBase
+
+OBDisplay_xinerama = _openbox.OBDisplay_xinerama
+
+OBDisplay_numLockMask = _openbox.OBDisplay_numLockMask
+
+OBDisplay_scrollLockMask = _openbox.OBDisplay_scrollLockMask
+
+OBDisplay_grab = _openbox.OBDisplay_grab
+
+OBDisplay_ungrab = _openbox.OBDisplay_ungrab
+
+OBDisplay_grabButton = _openbox.OBDisplay_grabButton
+
+OBDisplay_ungrabButton = _openbox.OBDisplay_ungrabButton
+
+OBDisplay_grabKey = _openbox.OBDisplay_grabKey
+
+OBDisplay_ungrabKey = _openbox.OBDisplay_ungrabKey
+
+
 class Point(_object):
     __swig_setmethods__ = {}
     __setattr__ = lambda self, name, value: _swig_setattr(self, Point, name, value)
@@ -52,6 +142,127 @@ class PointPtr(Point):
         self.__class__ = Point
 _openbox.Point_swigregister(PointPtr)
 
+class OBProperty(_object):
+    __swig_setmethods__ = {}
+    __setattr__ = lambda self, name, value: _swig_setattr(self, OBProperty, name, value)
+    __swig_getmethods__ = {}
+    __getattr__ = lambda self, name: _swig_getattr(self, OBProperty, name)
+    Atom_Cardinal = _openbox.OBProperty_Atom_Cardinal
+    Atom_Window = _openbox.OBProperty_Atom_Window
+    Atom_Pixmap = _openbox.OBProperty_Atom_Pixmap
+    Atom_Atom = _openbox.OBProperty_Atom_Atom
+    Atom_String = _openbox.OBProperty_Atom_String
+    Atom_Utf8 = _openbox.OBProperty_Atom_Utf8
+    openbox_pid = _openbox.OBProperty_openbox_pid
+    wm_colormap_windows = _openbox.OBProperty_wm_colormap_windows
+    wm_protocols = _openbox.OBProperty_wm_protocols
+    wm_state = _openbox.OBProperty_wm_state
+    wm_delete_window = _openbox.OBProperty_wm_delete_window
+    wm_take_focus = _openbox.OBProperty_wm_take_focus
+    wm_change_state = _openbox.OBProperty_wm_change_state
+    wm_name = _openbox.OBProperty_wm_name
+    wm_icon_name = _openbox.OBProperty_wm_icon_name
+    wm_class = _openbox.OBProperty_wm_class
+    wm_window_role = _openbox.OBProperty_wm_window_role
+    motif_wm_hints = _openbox.OBProperty_motif_wm_hints
+    blackbox_attributes = _openbox.OBProperty_blackbox_attributes
+    blackbox_change_attributes = _openbox.OBProperty_blackbox_change_attributes
+    blackbox_hints = _openbox.OBProperty_blackbox_hints
+    blackbox_structure_messages = _openbox.OBProperty_blackbox_structure_messages
+    blackbox_notify_startup = _openbox.OBProperty_blackbox_notify_startup
+    blackbox_notify_window_add = _openbox.OBProperty_blackbox_notify_window_add
+    blackbox_notify_window_del = _openbox.OBProperty_blackbox_notify_window_del
+    blackbox_notify_window_focus = _openbox.OBProperty_blackbox_notify_window_focus
+    blackbox_notify_current_workspace = _openbox.OBProperty_blackbox_notify_current_workspace
+    blackbox_notify_workspace_count = _openbox.OBProperty_blackbox_notify_workspace_count
+    blackbox_notify_window_raise = _openbox.OBProperty_blackbox_notify_window_raise
+    blackbox_notify_window_lower = _openbox.OBProperty_blackbox_notify_window_lower
+    blackbox_change_workspace = _openbox.OBProperty_blackbox_change_workspace
+    blackbox_change_window_focus = _openbox.OBProperty_blackbox_change_window_focus
+    blackbox_cycle_window_focus = _openbox.OBProperty_blackbox_cycle_window_focus
+    openbox_show_root_menu = _openbox.OBProperty_openbox_show_root_menu
+    openbox_show_workspace_menu = _openbox.OBProperty_openbox_show_workspace_menu
+    net_supported = _openbox.OBProperty_net_supported
+    net_client_list = _openbox.OBProperty_net_client_list
+    net_client_list_stacking = _openbox.OBProperty_net_client_list_stacking
+    net_number_of_desktops = _openbox.OBProperty_net_number_of_desktops
+    net_desktop_geometry = _openbox.OBProperty_net_desktop_geometry
+    net_desktop_viewport = _openbox.OBProperty_net_desktop_viewport
+    net_current_desktop = _openbox.OBProperty_net_current_desktop
+    net_desktop_names = _openbox.OBProperty_net_desktop_names
+    net_active_window = _openbox.OBProperty_net_active_window
+    net_workarea = _openbox.OBProperty_net_workarea
+    net_supporting_wm_check = _openbox.OBProperty_net_supporting_wm_check
+    net_close_window = _openbox.OBProperty_net_close_window
+    net_wm_moveresize = _openbox.OBProperty_net_wm_moveresize
+    net_wm_name = _openbox.OBProperty_net_wm_name
+    net_wm_visible_name = _openbox.OBProperty_net_wm_visible_name
+    net_wm_icon_name = _openbox.OBProperty_net_wm_icon_name
+    net_wm_visible_icon_name = _openbox.OBProperty_net_wm_visible_icon_name
+    net_wm_desktop = _openbox.OBProperty_net_wm_desktop
+    net_wm_window_type = _openbox.OBProperty_net_wm_window_type
+    net_wm_state = _openbox.OBProperty_net_wm_state
+    net_wm_strut = _openbox.OBProperty_net_wm_strut
+    net_wm_allowed_actions = _openbox.OBProperty_net_wm_allowed_actions
+    net_wm_window_type_desktop = _openbox.OBProperty_net_wm_window_type_desktop
+    net_wm_window_type_dock = _openbox.OBProperty_net_wm_window_type_dock
+    net_wm_window_type_toolbar = _openbox.OBProperty_net_wm_window_type_toolbar
+    net_wm_window_type_menu = _openbox.OBProperty_net_wm_window_type_menu
+    net_wm_window_type_utility = _openbox.OBProperty_net_wm_window_type_utility
+    net_wm_window_type_splash = _openbox.OBProperty_net_wm_window_type_splash
+    net_wm_window_type_dialog = _openbox.OBProperty_net_wm_window_type_dialog
+    net_wm_window_type_normal = _openbox.OBProperty_net_wm_window_type_normal
+    net_wm_moveresize_size_topleft = _openbox.OBProperty_net_wm_moveresize_size_topleft
+    net_wm_moveresize_size_topright = _openbox.OBProperty_net_wm_moveresize_size_topright
+    net_wm_moveresize_size_bottomleft = _openbox.OBProperty_net_wm_moveresize_size_bottomleft
+    net_wm_moveresize_size_bottomright = _openbox.OBProperty_net_wm_moveresize_size_bottomright
+    net_wm_moveresize_move = _openbox.OBProperty_net_wm_moveresize_move
+    net_wm_action_move = _openbox.OBProperty_net_wm_action_move
+    net_wm_action_resize = _openbox.OBProperty_net_wm_action_resize
+    net_wm_action_shade = _openbox.OBProperty_net_wm_action_shade
+    net_wm_action_maximize_horz = _openbox.OBProperty_net_wm_action_maximize_horz
+    net_wm_action_maximize_vert = _openbox.OBProperty_net_wm_action_maximize_vert
+    net_wm_action_change_desktop = _openbox.OBProperty_net_wm_action_change_desktop
+    net_wm_action_close = _openbox.OBProperty_net_wm_action_close
+    net_wm_state_modal = _openbox.OBProperty_net_wm_state_modal
+    net_wm_state_sticky = _openbox.OBProperty_net_wm_state_sticky
+    net_wm_state_maximized_vert = _openbox.OBProperty_net_wm_state_maximized_vert
+    net_wm_state_maximized_horz = _openbox.OBProperty_net_wm_state_maximized_horz
+    net_wm_state_shaded = _openbox.OBProperty_net_wm_state_shaded
+    net_wm_state_skip_taskbar = _openbox.OBProperty_net_wm_state_skip_taskbar
+    net_wm_state_skip_pager = _openbox.OBProperty_net_wm_state_skip_pager
+    net_wm_state_hidden = _openbox.OBProperty_net_wm_state_hidden
+    net_wm_state_fullscreen = _openbox.OBProperty_net_wm_state_fullscreen
+    net_wm_state_above = _openbox.OBProperty_net_wm_state_above
+    net_wm_state_below = _openbox.OBProperty_net_wm_state_below
+    kde_net_system_tray_windows = _openbox.OBProperty_kde_net_system_tray_windows
+    kde_net_wm_system_tray_window_for = _openbox.OBProperty_kde_net_wm_system_tray_window_for
+    kde_net_wm_window_type_override = _openbox.OBProperty_kde_net_wm_window_type_override
+    NUM_ATOMS = _openbox.OBProperty_NUM_ATOMS
+    ascii = _openbox.OBProperty_ascii
+    utf8 = _openbox.OBProperty_utf8
+    NUM_STRING_TYPE = _openbox.OBProperty_NUM_STRING_TYPE
+    def __init__(self,*args):
+        self.this = apply(_openbox.new_OBProperty,args)
+        self.thisown = 1
+    def __del__(self, destroy= _openbox.delete_OBProperty):
+        try:
+            if self.thisown: destroy(self)
+        except: pass
+    def set(*args): return apply(_openbox.OBProperty_set,args)
+    def get(*args): return apply(_openbox.OBProperty_get,args)
+    def erase(*args): return apply(_openbox.OBProperty_erase,args)
+    def atom(*args): return apply(_openbox.OBProperty_atom,args)
+    def __repr__(self):
+        return "<C OBProperty instance at %s>" % (self.this,)
+
+class OBPropertyPtr(OBProperty):
+    def __init__(self,this):
+        self.this = this
+        if not hasattr(self,"thisown"): self.thisown = 0
+        self.__class__ = OBProperty
+_openbox.OBProperty_swigregister(OBPropertyPtr)
+
 class Rect(_object):
     __swig_setmethods__ = {}
     __setattr__ = lambda self, name, value: _swig_setattr(self, Rect, name, value)
@@ -97,6 +308,166 @@ class RectPtr(Rect):
         self.__class__ = Rect
 _openbox.Rect_swigregister(RectPtr)
 
+class ScreenInfo(_object):
+    __swig_setmethods__ = {}
+    __setattr__ = lambda self, name, value: _swig_setattr(self, ScreenInfo, name, value)
+    __swig_getmethods__ = {}
+    __getattr__ = lambda self, name: _swig_getattr(self, ScreenInfo, name)
+    def __init__(self,*args):
+        self.this = apply(_openbox.new_ScreenInfo,args)
+        self.thisown = 1
+    def visual(*args): return apply(_openbox.ScreenInfo_visual,args)
+    def rootWindow(*args): return apply(_openbox.ScreenInfo_rootWindow,args)
+    def colormap(*args): return apply(_openbox.ScreenInfo_colormap,args)
+    def depth(*args): return apply(_openbox.ScreenInfo_depth,args)
+    def screen(*args): return apply(_openbox.ScreenInfo_screen,args)
+    def rect(*args): return apply(_openbox.ScreenInfo_rect,args)
+    def width(*args): return apply(_openbox.ScreenInfo_width,args)
+    def height(*args): return apply(_openbox.ScreenInfo_height,args)
+    def displayString(*args): return apply(_openbox.ScreenInfo_displayString,args)
+    def __repr__(self):
+        return "<C ScreenInfo instance at %s>" % (self.this,)
+
+class ScreenInfoPtr(ScreenInfo):
+    def __init__(self,this):
+        self.this = this
+        if not hasattr(self,"thisown"): self.thisown = 0
+        self.__class__ = ScreenInfo
+_openbox.ScreenInfo_swigregister(ScreenInfoPtr)
+
+class Strut(_object):
+    __swig_setmethods__ = {}
+    __setattr__ = lambda self, name, value: _swig_setattr(self, Strut, name, value)
+    __swig_getmethods__ = {}
+    __getattr__ = lambda self, name: _swig_getattr(self, Strut, name)
+    __swig_setmethods__["top"] = _openbox.Strut_top_set
+    __swig_getmethods__["top"] = _openbox.Strut_top_get
+    if _newclass:top = property(_openbox.Strut_top_get,_openbox.Strut_top_set)
+    __swig_setmethods__["bottom"] = _openbox.Strut_bottom_set
+    __swig_getmethods__["bottom"] = _openbox.Strut_bottom_get
+    if _newclass:bottom = property(_openbox.Strut_bottom_get,_openbox.Strut_bottom_set)
+    __swig_setmethods__["left"] = _openbox.Strut_left_set
+    __swig_getmethods__["left"] = _openbox.Strut_left_get
+    if _newclass:left = property(_openbox.Strut_left_get,_openbox.Strut_left_set)
+    __swig_setmethods__["right"] = _openbox.Strut_right_set
+    __swig_getmethods__["right"] = _openbox.Strut_right_get
+    if _newclass:right = property(_openbox.Strut_right_get,_openbox.Strut_right_set)
+    def __init__(self,*args):
+        self.this = apply(_openbox.new_Strut,args)
+        self.thisown = 1
+    def __repr__(self):
+        return "<C Strut instance at %s>" % (self.this,)
+
+class StrutPtr(Strut):
+    def __init__(self,this):
+        self.this = this
+        if not hasattr(self,"thisown"): self.thisown = 0
+        self.__class__ = Strut
+_openbox.Strut_swigregister(StrutPtr)
+
+expandTilde = _openbox.expandTilde
+
+bexec = _openbox.bexec
+
+textPropertyToString = _openbox.textPropertyToString
+
+itostring_unsigned_long = _openbox.itostring_unsigned_long
+
+itostring_long = _openbox.itostring_long
+
+itostring_unsigned = _openbox.itostring_unsigned
+
+itostring = _openbox.itostring
+
+basename = _openbox.basename
+
+class OtkEventHandler(_object):
+    __swig_setmethods__ = {}
+    __setattr__ = lambda self, name, value: _swig_setattr(self, OtkEventHandler, name, value)
+    __swig_getmethods__ = {}
+    __getattr__ = lambda self, name: _swig_getattr(self, OtkEventHandler, name)
+    def handle(*args): return apply(_openbox.OtkEventHandler_handle,args)
+    def keyPressHandler(*args): return apply(_openbox.OtkEventHandler_keyPressHandler,args)
+    def keyReleaseHandler(*args): return apply(_openbox.OtkEventHandler_keyReleaseHandler,args)
+    def buttonPressHandler(*args): return apply(_openbox.OtkEventHandler_buttonPressHandler,args)
+    def buttonReleaseHandler(*args): return apply(_openbox.OtkEventHandler_buttonReleaseHandler,args)
+    def motionHandler(*args): return apply(_openbox.OtkEventHandler_motionHandler,args)
+    def enterHandler(*args): return apply(_openbox.OtkEventHandler_enterHandler,args)
+    def leaveHandler(*args): return apply(_openbox.OtkEventHandler_leaveHandler,args)
+    def focusHandler(*args): return apply(_openbox.OtkEventHandler_focusHandler,args)
+    def unfocusHandler(*args): return apply(_openbox.OtkEventHandler_unfocusHandler,args)
+    def exposeHandler(*args): return apply(_openbox.OtkEventHandler_exposeHandler,args)
+    def graphicsExposeHandler(*args): return apply(_openbox.OtkEventHandler_graphicsExposeHandler,args)
+    def noExposeEventHandler(*args): return apply(_openbox.OtkEventHandler_noExposeEventHandler,args)
+    def circulateRequestHandler(*args): return apply(_openbox.OtkEventHandler_circulateRequestHandler,args)
+    def configureRequestHandler(*args): return apply(_openbox.OtkEventHandler_configureRequestHandler,args)
+    def mapRequestHandler(*args): return apply(_openbox.OtkEventHandler_mapRequestHandler,args)
+    def resizeRequestHandler(*args): return apply(_openbox.OtkEventHandler_resizeRequestHandler,args)
+    def circulateHandler(*args): return apply(_openbox.OtkEventHandler_circulateHandler,args)
+    def configureHandler(*args): return apply(_openbox.OtkEventHandler_configureHandler,args)
+    def createHandler(*args): return apply(_openbox.OtkEventHandler_createHandler,args)
+    def destroyHandler(*args): return apply(_openbox.OtkEventHandler_destroyHandler,args)
+    def gravityHandler(*args): return apply(_openbox.OtkEventHandler_gravityHandler,args)
+    def mapHandler(*args): return apply(_openbox.OtkEventHandler_mapHandler,args)
+    def mappingHandler(*args): return apply(_openbox.OtkEventHandler_mappingHandler,args)
+    def reparentHandler(*args): return apply(_openbox.OtkEventHandler_reparentHandler,args)
+    def unmapHandler(*args): return apply(_openbox.OtkEventHandler_unmapHandler,args)
+    def visibilityHandler(*args): return apply(_openbox.OtkEventHandler_visibilityHandler,args)
+    def colorMapHandler(*args): return apply(_openbox.OtkEventHandler_colorMapHandler,args)
+    def propertyHandler(*args): return apply(_openbox.OtkEventHandler_propertyHandler,args)
+    def selectionClearHandler(*args): return apply(_openbox.OtkEventHandler_selectionClearHandler,args)
+    def selectionHandler(*args): return apply(_openbox.OtkEventHandler_selectionHandler,args)
+    def selectionRequestHandler(*args): return apply(_openbox.OtkEventHandler_selectionRequestHandler,args)
+    def clientMessageHandler(*args): return apply(_openbox.OtkEventHandler_clientMessageHandler,args)
+    def __del__(self, destroy= _openbox.delete_OtkEventHandler):
+        try:
+            if self.thisown: destroy(self)
+        except: pass
+    def __init__(self): raise RuntimeError, "No constructor defined"
+    def __repr__(self):
+        return "<C OtkEventHandler instance at %s>" % (self.this,)
+
+class OtkEventHandlerPtr(OtkEventHandler):
+    def __init__(self,this):
+        self.this = this
+        if not hasattr(self,"thisown"): self.thisown = 0
+        self.__class__ = OtkEventHandler
+_openbox.OtkEventHandler_swigregister(OtkEventHandlerPtr)
+cvar = _openbox.cvar
+BSENTINEL = cvar.BSENTINEL
+
+class OtkEventDispatcher(_object):
+    __swig_setmethods__ = {}
+    __setattr__ = lambda self, name, value: _swig_setattr(self, OtkEventDispatcher, name, value)
+    __swig_getmethods__ = {}
+    __getattr__ = lambda self, name: _swig_getattr(self, OtkEventDispatcher, name)
+    def __init__(self,*args):
+        self.this = apply(_openbox.new_OtkEventDispatcher,args)
+        self.thisown = 1
+    def __del__(self, destroy= _openbox.delete_OtkEventDispatcher):
+        try:
+            if self.thisown: destroy(self)
+        except: pass
+    def clearAllHandlers(*args): return apply(_openbox.OtkEventDispatcher_clearAllHandlers,args)
+    def registerHandler(*args): return apply(_openbox.OtkEventDispatcher_registerHandler,args)
+    def clearHandler(*args): return apply(_openbox.OtkEventDispatcher_clearHandler,args)
+    def dispatchEvents(*args): return apply(_openbox.OtkEventDispatcher_dispatchEvents,args)
+    def setFallbackHandler(*args): return apply(_openbox.OtkEventDispatcher_setFallbackHandler,args)
+    def getFallbackHandler(*args): return apply(_openbox.OtkEventDispatcher_getFallbackHandler,args)
+    def setMasterHandler(*args): return apply(_openbox.OtkEventDispatcher_setMasterHandler,args)
+    def getMasterHandler(*args): return apply(_openbox.OtkEventDispatcher_getMasterHandler,args)
+    def findHandler(*args): return apply(_openbox.OtkEventDispatcher_findHandler,args)
+    def lastTime(*args): return apply(_openbox.OtkEventDispatcher_lastTime,args)
+    def __repr__(self):
+        return "<C OtkEventDispatcher instance at %s>" % (self.this,)
+
+class OtkEventDispatcherPtr(OtkEventDispatcher):
+    def __init__(self,this):
+        self.this = this
+        if not hasattr(self,"thisown"): self.thisown = 0
+        self.__class__ = OtkEventDispatcher
+_openbox.OtkEventDispatcher_swigregister(OtkEventDispatcherPtr)
+
 class Cursors(_object):
     __swig_setmethods__ = {}
     __setattr__ = lambda self, name, value: _swig_setattr(self, Cursors, name, value)
@@ -131,10 +502,12 @@ class CursorsPtr(Cursors):
         self.__class__ = Cursors
 _openbox.Cursors_swigregister(CursorsPtr)
 
-class Openbox(_object):
+class Openbox(OtkEventDispatcher,OtkEventHandler):
     __swig_setmethods__ = {}
+    for _s in [OtkEventDispatcher,OtkEventHandler]: __swig_setmethods__.update(_s.__swig_setmethods__)
     __setattr__ = lambda self, name, value: _swig_setattr(self, Openbox, name, value)
     __swig_getmethods__ = {}
+    for _s in [OtkEventDispatcher,OtkEventHandler]: __swig_getmethods__.update(_s.__swig_getmethods__)
     __getattr__ = lambda self, name: _swig_getattr(self, Openbox, name)
     State_Starting = _openbox.Openbox_State_Starting
     State_Normal = _openbox.Openbox_State_Normal
@@ -167,10 +540,12 @@ class OpenboxPtr(Openbox):
         self.__class__ = Openbox
 _openbox.Openbox_swigregister(OpenboxPtr)
 
-class OBScreen(_object):
+class OBScreen(OtkEventHandler,):
     __swig_setmethods__ = {}
+    for _s in [OtkEventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
     __setattr__ = lambda self, name, value: _swig_setattr(self, OBScreen, name, value)
     __swig_getmethods__ = {}
+    for _s in [OtkEventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
     __getattr__ = lambda self, name: _swig_getattr(self, OBScreen, name)
     def client(*args): return apply(_openbox.OBScreen_client,args)
     def clientCount(*args): return apply(_openbox.OBScreen_clientCount,args)
@@ -229,10 +604,12 @@ class MwmHintsPtr(MwmHints):
         self.__class__ = MwmHints
 _openbox.MwmHints_swigregister(MwmHintsPtr)
 
-class OBClient(_object):
+class OBClient(OtkEventHandler,):
     __swig_setmethods__ = {}
+    for _s in [OtkEventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
     __setattr__ = lambda self, name, value: _swig_setattr(self, OBClient, name, value)
     __swig_getmethods__ = {}
+    for _s in [OtkEventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
     __getattr__ = lambda self, name: _swig_getattr(self, OBClient, name)
     __swig_setmethods__["frame"] = _openbox.OBClient_frame_set
     __swig_getmethods__["frame"] = _openbox.OBClient_frame_get
This page took 0.032121 seconds and 4 git commands to generate.