]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.py
make the 'toggle all desktops' button work
[chaz/openbox] / src / openbox.py
index 732b03f8756d5e68a7e9e0aa292c20f98b1b7f7f..ac8b0c6c3ba6505d01adf1edcba32c239f8caea9 100644 (file)
@@ -48,6 +48,7 @@ class Display(_object):
     def gcCache(*args): return apply(_openbox.Display_gcCache,args)
     def screenInfo(*args): return apply(_openbox.Display_screenInfo,args)
     def findScreen(*args): return apply(_openbox.Display_findScreen,args)
+    def renderControl(*args): return apply(_openbox.Display_renderControl,args)
     def xkb(*args): return apply(_openbox.Display_xkb,args)
     def xkbEventBase(*args): return apply(_openbox.Display_xkbEventBase,args)
     def shape(*args): return apply(_openbox.Display_shape,args)
@@ -271,15 +272,24 @@ class Atoms(_object):
     __swig_setmethods__["net_wm_action_resize"] = _openbox.Atoms_net_wm_action_resize_set
     __swig_getmethods__["net_wm_action_resize"] = _openbox.Atoms_net_wm_action_resize_get
     if _newclass:net_wm_action_resize = property(_openbox.Atoms_net_wm_action_resize_get,_openbox.Atoms_net_wm_action_resize_set)
+    __swig_setmethods__["net_wm_action_minimize"] = _openbox.Atoms_net_wm_action_minimize_set
+    __swig_getmethods__["net_wm_action_minimize"] = _openbox.Atoms_net_wm_action_minimize_get
+    if _newclass:net_wm_action_minimize = property(_openbox.Atoms_net_wm_action_minimize_get,_openbox.Atoms_net_wm_action_minimize_set)
     __swig_setmethods__["net_wm_action_shade"] = _openbox.Atoms_net_wm_action_shade_set
     __swig_getmethods__["net_wm_action_shade"] = _openbox.Atoms_net_wm_action_shade_get
     if _newclass:net_wm_action_shade = property(_openbox.Atoms_net_wm_action_shade_get,_openbox.Atoms_net_wm_action_shade_set)
+    __swig_setmethods__["net_wm_action_stick"] = _openbox.Atoms_net_wm_action_stick_set
+    __swig_getmethods__["net_wm_action_stick"] = _openbox.Atoms_net_wm_action_stick_get
+    if _newclass:net_wm_action_stick = property(_openbox.Atoms_net_wm_action_stick_get,_openbox.Atoms_net_wm_action_stick_set)
     __swig_setmethods__["net_wm_action_maximize_horz"] = _openbox.Atoms_net_wm_action_maximize_horz_set
     __swig_getmethods__["net_wm_action_maximize_horz"] = _openbox.Atoms_net_wm_action_maximize_horz_get
     if _newclass:net_wm_action_maximize_horz = property(_openbox.Atoms_net_wm_action_maximize_horz_get,_openbox.Atoms_net_wm_action_maximize_horz_set)
     __swig_setmethods__["net_wm_action_maximize_vert"] = _openbox.Atoms_net_wm_action_maximize_vert_set
     __swig_getmethods__["net_wm_action_maximize_vert"] = _openbox.Atoms_net_wm_action_maximize_vert_get
     if _newclass:net_wm_action_maximize_vert = property(_openbox.Atoms_net_wm_action_maximize_vert_get,_openbox.Atoms_net_wm_action_maximize_vert_set)
+    __swig_setmethods__["net_wm_action_fullscreen"] = _openbox.Atoms_net_wm_action_fullscreen_set
+    __swig_getmethods__["net_wm_action_fullscreen"] = _openbox.Atoms_net_wm_action_fullscreen_get
+    if _newclass:net_wm_action_fullscreen = property(_openbox.Atoms_net_wm_action_fullscreen_get,_openbox.Atoms_net_wm_action_fullscreen_set)
     __swig_setmethods__["net_wm_action_change_desktop"] = _openbox.Atoms_net_wm_action_change_desktop_set
     __swig_getmethods__["net_wm_action_change_desktop"] = _openbox.Atoms_net_wm_action_change_desktop_get
     if _newclass:net_wm_action_change_desktop = property(_openbox.Atoms_net_wm_action_change_desktop_get,_openbox.Atoms_net_wm_action_change_desktop_set)
@@ -655,7 +665,6 @@ class Screen(EventHandler,):
     event_mask = _openbox.Screen_event_mask
     def number(*args): return apply(_openbox.Screen_number,args)
     def managed(*args): return apply(_openbox.Screen_managed,args)
-    def imageControl(*args): return apply(_openbox.Screen_imageControl,args)
     def area(*args): return apply(_openbox.Screen_area,args)
     def style(*args): return apply(_openbox.Screen_style,args)
     def focuswindow(*args): return apply(_openbox.Screen_focuswindow,args)
@@ -665,7 +674,8 @@ class Screen(EventHandler,):
     def manageExisting(*args): return apply(_openbox.Screen_manageExisting,args)
     def manageWindow(*args): return apply(_openbox.Screen_manageWindow,args)
     def unmanageWindow(*args): return apply(_openbox.Screen_unmanageWindow,args)
-    def restack(*args): return apply(_openbox.Screen_restack,args)
+    def raiseWindow(*args): return apply(_openbox.Screen_raiseWindow,args)
+    def lowerWindow(*args): return apply(_openbox.Screen_lowerWindow,args)
     def setDesktopName(*args): return apply(_openbox.Screen_setDesktopName,args)
     def propertyHandler(*args): return apply(_openbox.Screen_propertyHandler,args)
     def clientMessageHandler(*args): return apply(_openbox.Screen_clientMessageHandler,args)
@@ -755,6 +765,8 @@ class Client(EventHandler,):
     Func_Move = _openbox.Client_Func_Move
     Func_Iconify = _openbox.Client_Func_Iconify
     Func_Maximize = _openbox.Client_Func_Maximize
+    Func_Shade = _openbox.Client_Func_Shade
+    Func_Fullscreen = _openbox.Client_Func_Fullscreen
     Func_Close = _openbox.Client_Func_Close
     Decor_Titlebar = _openbox.Client_Decor_Titlebar
     Decor_Handle = _openbox.Client_Decor_Handle
@@ -792,10 +804,12 @@ class Client(EventHandler,):
     def transientFor(*args): return apply(_openbox.Client_transientFor,args)
     def modal(*args): return apply(_openbox.Client_modal,args)
     def shaded(*args): return apply(_openbox.Client_shaded,args)
+    def fullscreen(*args): return apply(_openbox.Client_fullscreen,args)
     def iconic(*args): return apply(_openbox.Client_iconic,args)
     def maxVert(*args): return apply(_openbox.Client_maxVert,args)
     def maxHorz(*args): return apply(_openbox.Client_maxHorz,args)
     def layer(*args): return apply(_openbox.Client_layer,args)
+    def applyStartupState(*args): return apply(_openbox.Client_applyStartupState,args)
     def toggleClientBorder(*args): return apply(_openbox.Client_toggleClientBorder,args)
     def area(*args): return apply(_openbox.Client_area,args)
     def strut(*args): return apply(_openbox.Client_strut,args)
@@ -822,6 +836,53 @@ class ClientPtr(Client):
         self.__class__ = Client
 _openbox.Client_swigregister(ClientPtr)
 
+class Frame(_object):
+    __swig_setmethods__ = {}
+    __setattr__ = lambda self, name, value: _swig_setattr(self, Frame, name, value)
+    __swig_getmethods__ = {}
+    __getattr__ = lambda self, name: _swig_getattr(self, Frame, name)
+    event_mask = _openbox.Frame_event_mask
+    def __init__(self,*args):
+        self.this = apply(_openbox.new_Frame,args)
+        self.thisown = 1
+    def __del__(self, destroy= _openbox.delete_Frame):
+        try:
+            if self.thisown: destroy(self)
+        except: pass
+    def size(*args): return apply(_openbox.Frame_size,args)
+    def setStyle(*args): return apply(_openbox.Frame_setStyle,args)
+    def adjust(*args): return apply(_openbox.Frame_adjust,args)
+    def focus(*args): return apply(_openbox.Frame_focus,args)
+    def unfocus(*args): return apply(_openbox.Frame_unfocus,args)
+    def setTitle(*args): return apply(_openbox.Frame_setTitle,args)
+    def grabClient(*args): return apply(_openbox.Frame_grabClient,args)
+    def releaseClient(*args): return apply(_openbox.Frame_releaseClient,args)
+    def adjustSize(*args): return apply(_openbox.Frame_adjustSize,args)
+    def adjustPosition(*args): return apply(_openbox.Frame_adjustPosition,args)
+    def adjustShape(*args): return apply(_openbox.Frame_adjustShape,args)
+    def adjustState(*args): return apply(_openbox.Frame_adjustState,args)
+    def clientGravity(*args): return apply(_openbox.Frame_clientGravity,args)
+    def frameGravity(*args): return apply(_openbox.Frame_frameGravity,args)
+    def plate(*args): return apply(_openbox.Frame_plate,args)
+    def titlebar(*args): return apply(_openbox.Frame_titlebar,args)
+    def label(*args): return apply(_openbox.Frame_label,args)
+    def button_close(*args): return apply(_openbox.Frame_button_close,args)
+    def button_iconify(*args): return apply(_openbox.Frame_button_iconify,args)
+    def button_max(*args): return apply(_openbox.Frame_button_max,args)
+    def button_stick(*args): return apply(_openbox.Frame_button_stick,args)
+    def handle(*args): return apply(_openbox.Frame_handle,args)
+    def grip_left(*args): return apply(_openbox.Frame_grip_left,args)
+    def grip_right(*args): return apply(_openbox.Frame_grip_right,args)
+    def __repr__(self):
+        return "<C Frame instance at %s>" % (self.this,)
+
+class FramePtr(Frame):
+    def __init__(self,this):
+        self.this = this
+        if not hasattr(self,"thisown"): self.thisown = 0
+        self.__class__ = Frame
+_openbox.Frame_swigregister(FramePtr)
+
 MC_Frame = _openbox.MC_Frame
 MC_Titlebar = _openbox.MC_Titlebar
 MC_Handle = _openbox.MC_Handle
This page took 0.026581 seconds and 4 git commands to generate.