X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopenbox.py;h=42bc8b0a1529e20faa78035905df483dfcf54b1c;hb=084d6f4e42396a5d2baf72877b5abf3ae6fef7be;hp=3c98c2d4df96b26a1f785a0a2cabace3a1e0616a;hpb=8be4541461ba04f41eb5c40852be351f35fa18ee;p=chaz%2Fopenbox diff --git a/src/openbox.py b/src/openbox.py index 3c98c2d4..42bc8b0a 100644 --- a/src/openbox.py +++ b/src/openbox.py @@ -45,9 +45,9 @@ class Display(_object): try: if self.thisown: destroy(self) except: pass - 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) @@ -55,6 +55,7 @@ class Display(_object): def xinerama(*args): return apply(_openbox.Display_xinerama,args) def numLockMask(*args): return apply(_openbox.Display_numLockMask,args) def scrollLockMask(*args): return apply(_openbox.Display_scrollLockMask,args) + def modifierMap(*args): return apply(_openbox.Display_modifierMap,args) def __mul__(*args): return apply(_openbox.Display___mul__,args) def grab(*args): return apply(_openbox.Display_grab,args) def ungrab(*args): return apply(_openbox.Display_ungrab,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) @@ -756,19 +765,22 @@ 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 Decor_Border = _openbox.Client_Decor_Border Decor_Iconify = _openbox.Client_Decor_Iconify Decor_Maximize = _openbox.Client_Decor_Maximize - Decor_Sticky = _openbox.Client_Decor_Sticky + Decor_AllDesktops = _openbox.Client_Decor_AllDesktops Decor_Close = _openbox.Client_Decor_Close State_Remove = _openbox.Client_State_Remove State_Add = _openbox.Client_State_Add State_Toggle = _openbox.Client_State_Toggle event_mask = _openbox.Client_event_mask no_propagate_mask = _openbox.Client_no_propagate_mask + ICONIC_DESKTOP = _openbox.Client_ICONIC_DESKTOP __swig_setmethods__["ignore_unmaps"] = _openbox.Client_ignore_unmaps_set __swig_getmethods__["ignore_unmaps"] = _openbox.Client_ignore_unmaps_get if _newclass:ignore_unmaps = property(_openbox.Client_ignore_unmaps_get,_openbox.Client_ignore_unmaps_set) @@ -793,10 +805,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) @@ -812,6 +826,7 @@ class Client(EventHandler,): def unmapHandler(*args): return apply(_openbox.Client_unmapHandler,args) def destroyHandler(*args): return apply(_openbox.Client_destroyHandler,args) def reparentHandler(*args): return apply(_openbox.Client_reparentHandler,args) + def mapRequestHandler(*args): return apply(_openbox.Client_mapRequestHandler,args) def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "" % (self.this,) @@ -847,6 +862,7 @@ class Frame(_object): 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) @@ -855,7 +871,7 @@ class Frame(_object): 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 button_alldesk(*args): return apply(_openbox.Frame_button_alldesk,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) @@ -876,7 +892,7 @@ MC_Window = _openbox.MC_Window MC_MaximizeButton = _openbox.MC_MaximizeButton MC_CloseButton = _openbox.MC_CloseButton MC_IconifyButton = _openbox.MC_IconifyButton -MC_StickyButton = _openbox.MC_StickyButton +MC_AllDesktopsButton = _openbox.MC_AllDesktopsButton MC_Grip = _openbox.MC_Grip MC_Root = _openbox.MC_Root MC_MenuItem = _openbox.MC_MenuItem @@ -889,6 +905,9 @@ NUM_MOUSE_ACTION = _openbox.NUM_MOUSE_ACTION KC_Menu = _openbox.KC_Menu KC_All = _openbox.KC_All NUM_KEY_CONTEXT = _openbox.NUM_KEY_CONTEXT +EventKeyPress = _openbox.EventKeyPress +EventKeyRelease = _openbox.EventKeyRelease +NUM_KEY_ACTION = _openbox.NUM_KEY_ACTION EventEnterWindow = _openbox.EventEnterWindow EventLeaveWindow = _openbox.EventLeaveWindow EventPlaceWindow = _openbox.EventPlaceWindow @@ -898,6 +917,7 @@ EventStartup = _openbox.EventStartup EventShutdown = _openbox.EventShutdown EventFocus = _openbox.EventFocus EventBell = _openbox.EventBell +EventUrgentWindow = _openbox.EventUrgentWindow NUM_EVENTS = _openbox.NUM_EVENTS class MouseData(_object): __swig_setmethods__ = {} @@ -1012,6 +1032,9 @@ class KeyData(_object): __swig_setmethods__["key"] = _openbox.KeyData_key_set __swig_getmethods__["key"] = _openbox.KeyData_key_get if _newclass:key = property(_openbox.KeyData_key_get,_openbox.KeyData_key_set) + __swig_setmethods__["action"] = _openbox.KeyData_action_set + __swig_getmethods__["action"] = _openbox.KeyData_action_get + if _newclass:action = property(_openbox.KeyData_action_get,_openbox.KeyData_action_set) def __init__(self,*args): self.this = apply(_openbox.new_KeyData,args) self.thisown = 1 @@ -1029,6 +1052,10 @@ mbind = _openbox.mbind kbind = _openbox.kbind +kgrab = _openbox.kgrab + +kungrab = _openbox.kungrab + ebind = _openbox.ebind set_reset_key = _openbox.set_reset_key