remove the word "sticky" from everywhere, and replace with "all desktops". change...
[dana/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 Property_atoms = _openbox.Property_atoms
35
36 class Display(_object):
37     __swig_setmethods__ = {}
38     __setattr__ = lambda self, name, value: _swig_setattr(self, Display, name, value)
39     __swig_getmethods__ = {}
40     __getattr__ = lambda self, name: _swig_getattr(self, Display, name)
41     def __init__(self,*args):
42         self.this = apply(_openbox.new_Display,args)
43         self.thisown = 1
44     def __del__(self, destroy= _openbox.delete_Display):
45         try:
46             if self.thisown: destroy(self)
47         except: pass
48     def gcCache(*args): return apply(_openbox.Display_gcCache,args)
49     def screenInfo(*args): return apply(_openbox.Display_screenInfo,args)
50     def findScreen(*args): return apply(_openbox.Display_findScreen,args)
51     def renderControl(*args): return apply(_openbox.Display_renderControl,args)
52     def xkb(*args): return apply(_openbox.Display_xkb,args)
53     def xkbEventBase(*args): return apply(_openbox.Display_xkbEventBase,args)
54     def shape(*args): return apply(_openbox.Display_shape,args)
55     def shapeEventBase(*args): return apply(_openbox.Display_shapeEventBase,args)
56     def xinerama(*args): return apply(_openbox.Display_xinerama,args)
57     def numLockMask(*args): return apply(_openbox.Display_numLockMask,args)
58     def scrollLockMask(*args): return apply(_openbox.Display_scrollLockMask,args)
59     def __mul__(*args): return apply(_openbox.Display___mul__,args)
60     def grab(*args): return apply(_openbox.Display_grab,args)
61     def ungrab(*args): return apply(_openbox.Display_ungrab,args)
62     def grabButton(*args): return apply(_openbox.Display_grabButton,args)
63     def ungrabButton(*args): return apply(_openbox.Display_ungrabButton,args)
64     def grabKey(*args): return apply(_openbox.Display_grabKey,args)
65     def ungrabKey(*args): return apply(_openbox.Display_ungrabKey,args)
66     def __repr__(self):
67         return "<C Display instance at %s>" % (self.this,)
68
69 class DisplayPtr(Display):
70     def __init__(self,this):
71         self.this = this
72         if not hasattr(self,"thisown"): self.thisown = 0
73         self.__class__ = Display
74 _openbox.Display_swigregister(DisplayPtr)
75
76 class Point(_object):
77     __swig_setmethods__ = {}
78     __setattr__ = lambda self, name, value: _swig_setattr(self, Point, name, value)
79     __swig_getmethods__ = {}
80     __getattr__ = lambda self, name: _swig_getattr(self, Point, name)
81     def __init__(self,*args):
82         self.this = apply(_openbox.new_Point,args)
83         self.thisown = 1
84     def setX(*args): return apply(_openbox.Point_setX,args)
85     def x(*args): return apply(_openbox.Point_x,args)
86     def setY(*args): return apply(_openbox.Point_setY,args)
87     def y(*args): return apply(_openbox.Point_y,args)
88     def setPoint(*args): return apply(_openbox.Point_setPoint,args)
89     def __repr__(self):
90         return "<C Point instance at %s>" % (self.this,)
91
92 class PointPtr(Point):
93     def __init__(self,this):
94         self.this = this
95         if not hasattr(self,"thisown"): self.thisown = 0
96         self.__class__ = Point
97 _openbox.Point_swigregister(PointPtr)
98
99 class Atoms(_object):
100     __swig_setmethods__ = {}
101     __setattr__ = lambda self, name, value: _swig_setattr(self, Atoms, name, value)
102     __swig_getmethods__ = {}
103     __getattr__ = lambda self, name: _swig_getattr(self, Atoms, name)
104     __swig_setmethods__["cardinal"] = _openbox.Atoms_cardinal_set
105     __swig_getmethods__["cardinal"] = _openbox.Atoms_cardinal_get
106     if _newclass:cardinal = property(_openbox.Atoms_cardinal_get,_openbox.Atoms_cardinal_set)
107     __swig_setmethods__["window"] = _openbox.Atoms_window_set
108     __swig_getmethods__["window"] = _openbox.Atoms_window_get
109     if _newclass:window = property(_openbox.Atoms_window_get,_openbox.Atoms_window_set)
110     __swig_setmethods__["pixmap"] = _openbox.Atoms_pixmap_set
111     __swig_getmethods__["pixmap"] = _openbox.Atoms_pixmap_get
112     if _newclass:pixmap = property(_openbox.Atoms_pixmap_get,_openbox.Atoms_pixmap_set)
113     __swig_setmethods__["atom"] = _openbox.Atoms_atom_set
114     __swig_getmethods__["atom"] = _openbox.Atoms_atom_get
115     if _newclass:atom = property(_openbox.Atoms_atom_get,_openbox.Atoms_atom_set)
116     __swig_setmethods__["string"] = _openbox.Atoms_string_set
117     __swig_getmethods__["string"] = _openbox.Atoms_string_get
118     if _newclass:string = property(_openbox.Atoms_string_get,_openbox.Atoms_string_set)
119     __swig_setmethods__["utf8"] = _openbox.Atoms_utf8_set
120     __swig_getmethods__["utf8"] = _openbox.Atoms_utf8_get
121     if _newclass:utf8 = property(_openbox.Atoms_utf8_get,_openbox.Atoms_utf8_set)
122     __swig_setmethods__["openbox_pid"] = _openbox.Atoms_openbox_pid_set
123     __swig_getmethods__["openbox_pid"] = _openbox.Atoms_openbox_pid_get
124     if _newclass:openbox_pid = property(_openbox.Atoms_openbox_pid_get,_openbox.Atoms_openbox_pid_set)
125     __swig_setmethods__["wm_colormap_windows"] = _openbox.Atoms_wm_colormap_windows_set
126     __swig_getmethods__["wm_colormap_windows"] = _openbox.Atoms_wm_colormap_windows_get
127     if _newclass:wm_colormap_windows = property(_openbox.Atoms_wm_colormap_windows_get,_openbox.Atoms_wm_colormap_windows_set)
128     __swig_setmethods__["wm_protocols"] = _openbox.Atoms_wm_protocols_set
129     __swig_getmethods__["wm_protocols"] = _openbox.Atoms_wm_protocols_get
130     if _newclass:wm_protocols = property(_openbox.Atoms_wm_protocols_get,_openbox.Atoms_wm_protocols_set)
131     __swig_setmethods__["wm_state"] = _openbox.Atoms_wm_state_set
132     __swig_getmethods__["wm_state"] = _openbox.Atoms_wm_state_get
133     if _newclass:wm_state = property(_openbox.Atoms_wm_state_get,_openbox.Atoms_wm_state_set)
134     __swig_setmethods__["wm_delete_window"] = _openbox.Atoms_wm_delete_window_set
135     __swig_getmethods__["wm_delete_window"] = _openbox.Atoms_wm_delete_window_get
136     if _newclass:wm_delete_window = property(_openbox.Atoms_wm_delete_window_get,_openbox.Atoms_wm_delete_window_set)
137     __swig_setmethods__["wm_take_focus"] = _openbox.Atoms_wm_take_focus_set
138     __swig_getmethods__["wm_take_focus"] = _openbox.Atoms_wm_take_focus_get
139     if _newclass:wm_take_focus = property(_openbox.Atoms_wm_take_focus_get,_openbox.Atoms_wm_take_focus_set)
140     __swig_setmethods__["wm_change_state"] = _openbox.Atoms_wm_change_state_set
141     __swig_getmethods__["wm_change_state"] = _openbox.Atoms_wm_change_state_get
142     if _newclass:wm_change_state = property(_openbox.Atoms_wm_change_state_get,_openbox.Atoms_wm_change_state_set)
143     __swig_setmethods__["wm_name"] = _openbox.Atoms_wm_name_set
144     __swig_getmethods__["wm_name"] = _openbox.Atoms_wm_name_get
145     if _newclass:wm_name = property(_openbox.Atoms_wm_name_get,_openbox.Atoms_wm_name_set)
146     __swig_setmethods__["wm_icon_name"] = _openbox.Atoms_wm_icon_name_set
147     __swig_getmethods__["wm_icon_name"] = _openbox.Atoms_wm_icon_name_get
148     if _newclass:wm_icon_name = property(_openbox.Atoms_wm_icon_name_get,_openbox.Atoms_wm_icon_name_set)
149     __swig_setmethods__["wm_class"] = _openbox.Atoms_wm_class_set
150     __swig_getmethods__["wm_class"] = _openbox.Atoms_wm_class_get
151     if _newclass:wm_class = property(_openbox.Atoms_wm_class_get,_openbox.Atoms_wm_class_set)
152     __swig_setmethods__["wm_window_role"] = _openbox.Atoms_wm_window_role_set
153     __swig_getmethods__["wm_window_role"] = _openbox.Atoms_wm_window_role_get
154     if _newclass:wm_window_role = property(_openbox.Atoms_wm_window_role_get,_openbox.Atoms_wm_window_role_set)
155     __swig_setmethods__["motif_wm_hints"] = _openbox.Atoms_motif_wm_hints_set
156     __swig_getmethods__["motif_wm_hints"] = _openbox.Atoms_motif_wm_hints_get
157     if _newclass:motif_wm_hints = property(_openbox.Atoms_motif_wm_hints_get,_openbox.Atoms_motif_wm_hints_set)
158     __swig_setmethods__["openbox_show_root_menu"] = _openbox.Atoms_openbox_show_root_menu_set
159     __swig_getmethods__["openbox_show_root_menu"] = _openbox.Atoms_openbox_show_root_menu_get
160     if _newclass:openbox_show_root_menu = property(_openbox.Atoms_openbox_show_root_menu_get,_openbox.Atoms_openbox_show_root_menu_set)
161     __swig_setmethods__["openbox_show_workspace_menu"] = _openbox.Atoms_openbox_show_workspace_menu_set
162     __swig_getmethods__["openbox_show_workspace_menu"] = _openbox.Atoms_openbox_show_workspace_menu_get
163     if _newclass:openbox_show_workspace_menu = property(_openbox.Atoms_openbox_show_workspace_menu_get,_openbox.Atoms_openbox_show_workspace_menu_set)
164     __swig_setmethods__["net_supported"] = _openbox.Atoms_net_supported_set
165     __swig_getmethods__["net_supported"] = _openbox.Atoms_net_supported_get
166     if _newclass:net_supported = property(_openbox.Atoms_net_supported_get,_openbox.Atoms_net_supported_set)
167     __swig_setmethods__["net_client_list"] = _openbox.Atoms_net_client_list_set
168     __swig_getmethods__["net_client_list"] = _openbox.Atoms_net_client_list_get
169     if _newclass:net_client_list = property(_openbox.Atoms_net_client_list_get,_openbox.Atoms_net_client_list_set)
170     __swig_setmethods__["net_client_list_stacking"] = _openbox.Atoms_net_client_list_stacking_set
171     __swig_getmethods__["net_client_list_stacking"] = _openbox.Atoms_net_client_list_stacking_get
172     if _newclass:net_client_list_stacking = property(_openbox.Atoms_net_client_list_stacking_get,_openbox.Atoms_net_client_list_stacking_set)
173     __swig_setmethods__["net_number_of_desktops"] = _openbox.Atoms_net_number_of_desktops_set
174     __swig_getmethods__["net_number_of_desktops"] = _openbox.Atoms_net_number_of_desktops_get
175     if _newclass:net_number_of_desktops = property(_openbox.Atoms_net_number_of_desktops_get,_openbox.Atoms_net_number_of_desktops_set)
176     __swig_setmethods__["net_desktop_geometry"] = _openbox.Atoms_net_desktop_geometry_set
177     __swig_getmethods__["net_desktop_geometry"] = _openbox.Atoms_net_desktop_geometry_get
178     if _newclass:net_desktop_geometry = property(_openbox.Atoms_net_desktop_geometry_get,_openbox.Atoms_net_desktop_geometry_set)
179     __swig_setmethods__["net_desktop_viewport"] = _openbox.Atoms_net_desktop_viewport_set
180     __swig_getmethods__["net_desktop_viewport"] = _openbox.Atoms_net_desktop_viewport_get
181     if _newclass:net_desktop_viewport = property(_openbox.Atoms_net_desktop_viewport_get,_openbox.Atoms_net_desktop_viewport_set)
182     __swig_setmethods__["net_current_desktop"] = _openbox.Atoms_net_current_desktop_set
183     __swig_getmethods__["net_current_desktop"] = _openbox.Atoms_net_current_desktop_get
184     if _newclass:net_current_desktop = property(_openbox.Atoms_net_current_desktop_get,_openbox.Atoms_net_current_desktop_set)
185     __swig_setmethods__["net_desktop_names"] = _openbox.Atoms_net_desktop_names_set
186     __swig_getmethods__["net_desktop_names"] = _openbox.Atoms_net_desktop_names_get
187     if _newclass:net_desktop_names = property(_openbox.Atoms_net_desktop_names_get,_openbox.Atoms_net_desktop_names_set)
188     __swig_setmethods__["net_active_window"] = _openbox.Atoms_net_active_window_set
189     __swig_getmethods__["net_active_window"] = _openbox.Atoms_net_active_window_get
190     if _newclass:net_active_window = property(_openbox.Atoms_net_active_window_get,_openbox.Atoms_net_active_window_set)
191     __swig_setmethods__["net_workarea"] = _openbox.Atoms_net_workarea_set
192     __swig_getmethods__["net_workarea"] = _openbox.Atoms_net_workarea_get
193     if _newclass:net_workarea = property(_openbox.Atoms_net_workarea_get,_openbox.Atoms_net_workarea_set)
194     __swig_setmethods__["net_supporting_wm_check"] = _openbox.Atoms_net_supporting_wm_check_set
195     __swig_getmethods__["net_supporting_wm_check"] = _openbox.Atoms_net_supporting_wm_check_get
196     if _newclass:net_supporting_wm_check = property(_openbox.Atoms_net_supporting_wm_check_get,_openbox.Atoms_net_supporting_wm_check_set)
197     __swig_setmethods__["net_close_window"] = _openbox.Atoms_net_close_window_set
198     __swig_getmethods__["net_close_window"] = _openbox.Atoms_net_close_window_get
199     if _newclass:net_close_window = property(_openbox.Atoms_net_close_window_get,_openbox.Atoms_net_close_window_set)
200     __swig_setmethods__["net_wm_moveresize"] = _openbox.Atoms_net_wm_moveresize_set
201     __swig_getmethods__["net_wm_moveresize"] = _openbox.Atoms_net_wm_moveresize_get
202     if _newclass:net_wm_moveresize = property(_openbox.Atoms_net_wm_moveresize_get,_openbox.Atoms_net_wm_moveresize_set)
203     __swig_setmethods__["net_wm_name"] = _openbox.Atoms_net_wm_name_set
204     __swig_getmethods__["net_wm_name"] = _openbox.Atoms_net_wm_name_get
205     if _newclass:net_wm_name = property(_openbox.Atoms_net_wm_name_get,_openbox.Atoms_net_wm_name_set)
206     __swig_setmethods__["net_wm_visible_name"] = _openbox.Atoms_net_wm_visible_name_set
207     __swig_getmethods__["net_wm_visible_name"] = _openbox.Atoms_net_wm_visible_name_get
208     if _newclass:net_wm_visible_name = property(_openbox.Atoms_net_wm_visible_name_get,_openbox.Atoms_net_wm_visible_name_set)
209     __swig_setmethods__["net_wm_icon_name"] = _openbox.Atoms_net_wm_icon_name_set
210     __swig_getmethods__["net_wm_icon_name"] = _openbox.Atoms_net_wm_icon_name_get
211     if _newclass:net_wm_icon_name = property(_openbox.Atoms_net_wm_icon_name_get,_openbox.Atoms_net_wm_icon_name_set)
212     __swig_setmethods__["net_wm_visible_icon_name"] = _openbox.Atoms_net_wm_visible_icon_name_set
213     __swig_getmethods__["net_wm_visible_icon_name"] = _openbox.Atoms_net_wm_visible_icon_name_get
214     if _newclass:net_wm_visible_icon_name = property(_openbox.Atoms_net_wm_visible_icon_name_get,_openbox.Atoms_net_wm_visible_icon_name_set)
215     __swig_setmethods__["net_wm_desktop"] = _openbox.Atoms_net_wm_desktop_set
216     __swig_getmethods__["net_wm_desktop"] = _openbox.Atoms_net_wm_desktop_get
217     if _newclass:net_wm_desktop = property(_openbox.Atoms_net_wm_desktop_get,_openbox.Atoms_net_wm_desktop_set)
218     __swig_setmethods__["net_wm_window_type"] = _openbox.Atoms_net_wm_window_type_set
219     __swig_getmethods__["net_wm_window_type"] = _openbox.Atoms_net_wm_window_type_get
220     if _newclass:net_wm_window_type = property(_openbox.Atoms_net_wm_window_type_get,_openbox.Atoms_net_wm_window_type_set)
221     __swig_setmethods__["net_wm_state"] = _openbox.Atoms_net_wm_state_set
222     __swig_getmethods__["net_wm_state"] = _openbox.Atoms_net_wm_state_get
223     if _newclass:net_wm_state = property(_openbox.Atoms_net_wm_state_get,_openbox.Atoms_net_wm_state_set)
224     __swig_setmethods__["net_wm_strut"] = _openbox.Atoms_net_wm_strut_set
225     __swig_getmethods__["net_wm_strut"] = _openbox.Atoms_net_wm_strut_get
226     if _newclass:net_wm_strut = property(_openbox.Atoms_net_wm_strut_get,_openbox.Atoms_net_wm_strut_set)
227     __swig_setmethods__["net_wm_allowed_actions"] = _openbox.Atoms_net_wm_allowed_actions_set
228     __swig_getmethods__["net_wm_allowed_actions"] = _openbox.Atoms_net_wm_allowed_actions_get
229     if _newclass:net_wm_allowed_actions = property(_openbox.Atoms_net_wm_allowed_actions_get,_openbox.Atoms_net_wm_allowed_actions_set)
230     __swig_setmethods__["net_wm_window_type_desktop"] = _openbox.Atoms_net_wm_window_type_desktop_set
231     __swig_getmethods__["net_wm_window_type_desktop"] = _openbox.Atoms_net_wm_window_type_desktop_get
232     if _newclass:net_wm_window_type_desktop = property(_openbox.Atoms_net_wm_window_type_desktop_get,_openbox.Atoms_net_wm_window_type_desktop_set)
233     __swig_setmethods__["net_wm_window_type_dock"] = _openbox.Atoms_net_wm_window_type_dock_set
234     __swig_getmethods__["net_wm_window_type_dock"] = _openbox.Atoms_net_wm_window_type_dock_get
235     if _newclass:net_wm_window_type_dock = property(_openbox.Atoms_net_wm_window_type_dock_get,_openbox.Atoms_net_wm_window_type_dock_set)
236     __swig_setmethods__["net_wm_window_type_toolbar"] = _openbox.Atoms_net_wm_window_type_toolbar_set
237     __swig_getmethods__["net_wm_window_type_toolbar"] = _openbox.Atoms_net_wm_window_type_toolbar_get
238     if _newclass:net_wm_window_type_toolbar = property(_openbox.Atoms_net_wm_window_type_toolbar_get,_openbox.Atoms_net_wm_window_type_toolbar_set)
239     __swig_setmethods__["net_wm_window_type_menu"] = _openbox.Atoms_net_wm_window_type_menu_set
240     __swig_getmethods__["net_wm_window_type_menu"] = _openbox.Atoms_net_wm_window_type_menu_get
241     if _newclass:net_wm_window_type_menu = property(_openbox.Atoms_net_wm_window_type_menu_get,_openbox.Atoms_net_wm_window_type_menu_set)
242     __swig_setmethods__["net_wm_window_type_utility"] = _openbox.Atoms_net_wm_window_type_utility_set
243     __swig_getmethods__["net_wm_window_type_utility"] = _openbox.Atoms_net_wm_window_type_utility_get
244     if _newclass:net_wm_window_type_utility = property(_openbox.Atoms_net_wm_window_type_utility_get,_openbox.Atoms_net_wm_window_type_utility_set)
245     __swig_setmethods__["net_wm_window_type_splash"] = _openbox.Atoms_net_wm_window_type_splash_set
246     __swig_getmethods__["net_wm_window_type_splash"] = _openbox.Atoms_net_wm_window_type_splash_get
247     if _newclass:net_wm_window_type_splash = property(_openbox.Atoms_net_wm_window_type_splash_get,_openbox.Atoms_net_wm_window_type_splash_set)
248     __swig_setmethods__["net_wm_window_type_dialog"] = _openbox.Atoms_net_wm_window_type_dialog_set
249     __swig_getmethods__["net_wm_window_type_dialog"] = _openbox.Atoms_net_wm_window_type_dialog_get
250     if _newclass:net_wm_window_type_dialog = property(_openbox.Atoms_net_wm_window_type_dialog_get,_openbox.Atoms_net_wm_window_type_dialog_set)
251     __swig_setmethods__["net_wm_window_type_normal"] = _openbox.Atoms_net_wm_window_type_normal_set
252     __swig_getmethods__["net_wm_window_type_normal"] = _openbox.Atoms_net_wm_window_type_normal_get
253     if _newclass:net_wm_window_type_normal = property(_openbox.Atoms_net_wm_window_type_normal_get,_openbox.Atoms_net_wm_window_type_normal_set)
254     __swig_setmethods__["net_wm_moveresize_size_topleft"] = _openbox.Atoms_net_wm_moveresize_size_topleft_set
255     __swig_getmethods__["net_wm_moveresize_size_topleft"] = _openbox.Atoms_net_wm_moveresize_size_topleft_get
256     if _newclass:net_wm_moveresize_size_topleft = property(_openbox.Atoms_net_wm_moveresize_size_topleft_get,_openbox.Atoms_net_wm_moveresize_size_topleft_set)
257     __swig_setmethods__["net_wm_moveresize_size_topright"] = _openbox.Atoms_net_wm_moveresize_size_topright_set
258     __swig_getmethods__["net_wm_moveresize_size_topright"] = _openbox.Atoms_net_wm_moveresize_size_topright_get
259     if _newclass:net_wm_moveresize_size_topright = property(_openbox.Atoms_net_wm_moveresize_size_topright_get,_openbox.Atoms_net_wm_moveresize_size_topright_set)
260     __swig_setmethods__["net_wm_moveresize_size_bottomleft"] = _openbox.Atoms_net_wm_moveresize_size_bottomleft_set
261     __swig_getmethods__["net_wm_moveresize_size_bottomleft"] = _openbox.Atoms_net_wm_moveresize_size_bottomleft_get
262     if _newclass:net_wm_moveresize_size_bottomleft = property(_openbox.Atoms_net_wm_moveresize_size_bottomleft_get,_openbox.Atoms_net_wm_moveresize_size_bottomleft_set)
263     __swig_setmethods__["net_wm_moveresize_size_bottomright"] = _openbox.Atoms_net_wm_moveresize_size_bottomright_set
264     __swig_getmethods__["net_wm_moveresize_size_bottomright"] = _openbox.Atoms_net_wm_moveresize_size_bottomright_get
265     if _newclass:net_wm_moveresize_size_bottomright = property(_openbox.Atoms_net_wm_moveresize_size_bottomright_get,_openbox.Atoms_net_wm_moveresize_size_bottomright_set)
266     __swig_setmethods__["net_wm_moveresize_move"] = _openbox.Atoms_net_wm_moveresize_move_set
267     __swig_getmethods__["net_wm_moveresize_move"] = _openbox.Atoms_net_wm_moveresize_move_get
268     if _newclass:net_wm_moveresize_move = property(_openbox.Atoms_net_wm_moveresize_move_get,_openbox.Atoms_net_wm_moveresize_move_set)
269     __swig_setmethods__["net_wm_action_move"] = _openbox.Atoms_net_wm_action_move_set
270     __swig_getmethods__["net_wm_action_move"] = _openbox.Atoms_net_wm_action_move_get
271     if _newclass:net_wm_action_move = property(_openbox.Atoms_net_wm_action_move_get,_openbox.Atoms_net_wm_action_move_set)
272     __swig_setmethods__["net_wm_action_resize"] = _openbox.Atoms_net_wm_action_resize_set
273     __swig_getmethods__["net_wm_action_resize"] = _openbox.Atoms_net_wm_action_resize_get
274     if _newclass:net_wm_action_resize = property(_openbox.Atoms_net_wm_action_resize_get,_openbox.Atoms_net_wm_action_resize_set)
275     __swig_setmethods__["net_wm_action_minimize"] = _openbox.Atoms_net_wm_action_minimize_set
276     __swig_getmethods__["net_wm_action_minimize"] = _openbox.Atoms_net_wm_action_minimize_get
277     if _newclass:net_wm_action_minimize = property(_openbox.Atoms_net_wm_action_minimize_get,_openbox.Atoms_net_wm_action_minimize_set)
278     __swig_setmethods__["net_wm_action_shade"] = _openbox.Atoms_net_wm_action_shade_set
279     __swig_getmethods__["net_wm_action_shade"] = _openbox.Atoms_net_wm_action_shade_get
280     if _newclass:net_wm_action_shade = property(_openbox.Atoms_net_wm_action_shade_get,_openbox.Atoms_net_wm_action_shade_set)
281     __swig_setmethods__["net_wm_action_stick"] = _openbox.Atoms_net_wm_action_stick_set
282     __swig_getmethods__["net_wm_action_stick"] = _openbox.Atoms_net_wm_action_stick_get
283     if _newclass:net_wm_action_stick = property(_openbox.Atoms_net_wm_action_stick_get,_openbox.Atoms_net_wm_action_stick_set)
284     __swig_setmethods__["net_wm_action_maximize_horz"] = _openbox.Atoms_net_wm_action_maximize_horz_set
285     __swig_getmethods__["net_wm_action_maximize_horz"] = _openbox.Atoms_net_wm_action_maximize_horz_get
286     if _newclass:net_wm_action_maximize_horz = property(_openbox.Atoms_net_wm_action_maximize_horz_get,_openbox.Atoms_net_wm_action_maximize_horz_set)
287     __swig_setmethods__["net_wm_action_maximize_vert"] = _openbox.Atoms_net_wm_action_maximize_vert_set
288     __swig_getmethods__["net_wm_action_maximize_vert"] = _openbox.Atoms_net_wm_action_maximize_vert_get
289     if _newclass:net_wm_action_maximize_vert = property(_openbox.Atoms_net_wm_action_maximize_vert_get,_openbox.Atoms_net_wm_action_maximize_vert_set)
290     __swig_setmethods__["net_wm_action_fullscreen"] = _openbox.Atoms_net_wm_action_fullscreen_set
291     __swig_getmethods__["net_wm_action_fullscreen"] = _openbox.Atoms_net_wm_action_fullscreen_get
292     if _newclass:net_wm_action_fullscreen = property(_openbox.Atoms_net_wm_action_fullscreen_get,_openbox.Atoms_net_wm_action_fullscreen_set)
293     __swig_setmethods__["net_wm_action_change_desktop"] = _openbox.Atoms_net_wm_action_change_desktop_set
294     __swig_getmethods__["net_wm_action_change_desktop"] = _openbox.Atoms_net_wm_action_change_desktop_get
295     if _newclass:net_wm_action_change_desktop = property(_openbox.Atoms_net_wm_action_change_desktop_get,_openbox.Atoms_net_wm_action_change_desktop_set)
296     __swig_setmethods__["net_wm_action_close"] = _openbox.Atoms_net_wm_action_close_set
297     __swig_getmethods__["net_wm_action_close"] = _openbox.Atoms_net_wm_action_close_get
298     if _newclass:net_wm_action_close = property(_openbox.Atoms_net_wm_action_close_get,_openbox.Atoms_net_wm_action_close_set)
299     __swig_setmethods__["net_wm_state_modal"] = _openbox.Atoms_net_wm_state_modal_set
300     __swig_getmethods__["net_wm_state_modal"] = _openbox.Atoms_net_wm_state_modal_get
301     if _newclass:net_wm_state_modal = property(_openbox.Atoms_net_wm_state_modal_get,_openbox.Atoms_net_wm_state_modal_set)
302     __swig_setmethods__["net_wm_state_sticky"] = _openbox.Atoms_net_wm_state_sticky_set
303     __swig_getmethods__["net_wm_state_sticky"] = _openbox.Atoms_net_wm_state_sticky_get
304     if _newclass:net_wm_state_sticky = property(_openbox.Atoms_net_wm_state_sticky_get,_openbox.Atoms_net_wm_state_sticky_set)
305     __swig_setmethods__["net_wm_state_maximized_vert"] = _openbox.Atoms_net_wm_state_maximized_vert_set
306     __swig_getmethods__["net_wm_state_maximized_vert"] = _openbox.Atoms_net_wm_state_maximized_vert_get
307     if _newclass:net_wm_state_maximized_vert = property(_openbox.Atoms_net_wm_state_maximized_vert_get,_openbox.Atoms_net_wm_state_maximized_vert_set)
308     __swig_setmethods__["net_wm_state_maximized_horz"] = _openbox.Atoms_net_wm_state_maximized_horz_set
309     __swig_getmethods__["net_wm_state_maximized_horz"] = _openbox.Atoms_net_wm_state_maximized_horz_get
310     if _newclass:net_wm_state_maximized_horz = property(_openbox.Atoms_net_wm_state_maximized_horz_get,_openbox.Atoms_net_wm_state_maximized_horz_set)
311     __swig_setmethods__["net_wm_state_shaded"] = _openbox.Atoms_net_wm_state_shaded_set
312     __swig_getmethods__["net_wm_state_shaded"] = _openbox.Atoms_net_wm_state_shaded_get
313     if _newclass:net_wm_state_shaded = property(_openbox.Atoms_net_wm_state_shaded_get,_openbox.Atoms_net_wm_state_shaded_set)
314     __swig_setmethods__["net_wm_state_skip_taskbar"] = _openbox.Atoms_net_wm_state_skip_taskbar_set
315     __swig_getmethods__["net_wm_state_skip_taskbar"] = _openbox.Atoms_net_wm_state_skip_taskbar_get
316     if _newclass:net_wm_state_skip_taskbar = property(_openbox.Atoms_net_wm_state_skip_taskbar_get,_openbox.Atoms_net_wm_state_skip_taskbar_set)
317     __swig_setmethods__["net_wm_state_skip_pager"] = _openbox.Atoms_net_wm_state_skip_pager_set
318     __swig_getmethods__["net_wm_state_skip_pager"] = _openbox.Atoms_net_wm_state_skip_pager_get
319     if _newclass:net_wm_state_skip_pager = property(_openbox.Atoms_net_wm_state_skip_pager_get,_openbox.Atoms_net_wm_state_skip_pager_set)
320     __swig_setmethods__["net_wm_state_hidden"] = _openbox.Atoms_net_wm_state_hidden_set
321     __swig_getmethods__["net_wm_state_hidden"] = _openbox.Atoms_net_wm_state_hidden_get
322     if _newclass:net_wm_state_hidden = property(_openbox.Atoms_net_wm_state_hidden_get,_openbox.Atoms_net_wm_state_hidden_set)
323     __swig_setmethods__["net_wm_state_fullscreen"] = _openbox.Atoms_net_wm_state_fullscreen_set
324     __swig_getmethods__["net_wm_state_fullscreen"] = _openbox.Atoms_net_wm_state_fullscreen_get
325     if _newclass:net_wm_state_fullscreen = property(_openbox.Atoms_net_wm_state_fullscreen_get,_openbox.Atoms_net_wm_state_fullscreen_set)
326     __swig_setmethods__["net_wm_state_above"] = _openbox.Atoms_net_wm_state_above_set
327     __swig_getmethods__["net_wm_state_above"] = _openbox.Atoms_net_wm_state_above_get
328     if _newclass:net_wm_state_above = property(_openbox.Atoms_net_wm_state_above_get,_openbox.Atoms_net_wm_state_above_set)
329     __swig_setmethods__["net_wm_state_below"] = _openbox.Atoms_net_wm_state_below_set
330     __swig_getmethods__["net_wm_state_below"] = _openbox.Atoms_net_wm_state_below_get
331     if _newclass:net_wm_state_below = property(_openbox.Atoms_net_wm_state_below_get,_openbox.Atoms_net_wm_state_below_set)
332     __swig_setmethods__["kde_net_system_tray_windows"] = _openbox.Atoms_kde_net_system_tray_windows_set
333     __swig_getmethods__["kde_net_system_tray_windows"] = _openbox.Atoms_kde_net_system_tray_windows_get
334     if _newclass:kde_net_system_tray_windows = property(_openbox.Atoms_kde_net_system_tray_windows_get,_openbox.Atoms_kde_net_system_tray_windows_set)
335     __swig_setmethods__["kde_net_wm_system_tray_window_for"] = _openbox.Atoms_kde_net_wm_system_tray_window_for_set
336     __swig_getmethods__["kde_net_wm_system_tray_window_for"] = _openbox.Atoms_kde_net_wm_system_tray_window_for_get
337     if _newclass:kde_net_wm_system_tray_window_for = property(_openbox.Atoms_kde_net_wm_system_tray_window_for_get,_openbox.Atoms_kde_net_wm_system_tray_window_for_set)
338     __swig_setmethods__["kde_net_wm_window_type_override"] = _openbox.Atoms_kde_net_wm_window_type_override_set
339     __swig_getmethods__["kde_net_wm_window_type_override"] = _openbox.Atoms_kde_net_wm_window_type_override_get
340     if _newclass:kde_net_wm_window_type_override = property(_openbox.Atoms_kde_net_wm_window_type_override_get,_openbox.Atoms_kde_net_wm_window_type_override_set)
341     def __init__(self): raise RuntimeError, "No constructor defined"
342     def __repr__(self):
343         return "<C Atoms instance at %s>" % (self.this,)
344
345 class AtomsPtr(Atoms):
346     def __init__(self,this):
347         self.this = this
348         if not hasattr(self,"thisown"): self.thisown = 0
349         self.__class__ = Atoms
350 _openbox.Atoms_swigregister(AtomsPtr)
351
352 class Property(_object):
353     __swig_setmethods__ = {}
354     __setattr__ = lambda self, name, value: _swig_setattr(self, Property, name, value)
355     __swig_getmethods__ = {}
356     __getattr__ = lambda self, name: _swig_getattr(self, Property, name)
357     ascii = _openbox.Property_ascii
358     utf8 = _openbox.Property_utf8
359     NUM_STRING_TYPE = _openbox.Property_NUM_STRING_TYPE
360     __swig_getmethods__["initialize"] = lambda x: _openbox.Property_initialize
361     if _newclass:initialize = staticmethod(_openbox.Property_initialize)
362     __swig_getmethods__["set"] = lambda x: _openbox.Property_set
363     if _newclass:set = staticmethod(_openbox.Property_set)
364     __swig_getmethods__["set"] = lambda x: _openbox.Property_set
365     if _newclass:set = staticmethod(_openbox.Property_set)
366     __swig_getmethods__["set"] = lambda x: _openbox.Property_set
367     if _newclass:set = staticmethod(_openbox.Property_set)
368     __swig_getmethods__["set"] = lambda x: _openbox.Property_set
369     if _newclass:set = staticmethod(_openbox.Property_set)
370     __swig_getmethods__["get"] = lambda x: _openbox.Property_get
371     if _newclass:get = staticmethod(_openbox.Property_get)
372     __swig_getmethods__["get"] = lambda x: _openbox.Property_get
373     if _newclass:get = staticmethod(_openbox.Property_get)
374     __swig_getmethods__["get"] = lambda x: _openbox.Property_get
375     if _newclass:get = staticmethod(_openbox.Property_get)
376     __swig_getmethods__["get"] = lambda x: _openbox.Property_get
377     if _newclass:get = staticmethod(_openbox.Property_get)
378     __swig_getmethods__["erase"] = lambda x: _openbox.Property_erase
379     if _newclass:erase = staticmethod(_openbox.Property_erase)
380     def __init__(self): raise RuntimeError, "No constructor defined"
381     def __repr__(self):
382         return "<C Property instance at %s>" % (self.this,)
383
384 class PropertyPtr(Property):
385     def __init__(self,this):
386         self.this = this
387         if not hasattr(self,"thisown"): self.thisown = 0
388         self.__class__ = Property
389 _openbox.Property_swigregister(PropertyPtr)
390 Property_initialize = _openbox.Property_initialize
391
392 Property_set = _openbox.Property_set
393
394 Property_get = _openbox.Property_get
395
396 Property_erase = _openbox.Property_erase
397
398
399 class Rect(_object):
400     __swig_setmethods__ = {}
401     __setattr__ = lambda self, name, value: _swig_setattr(self, Rect, name, value)
402     __swig_getmethods__ = {}
403     __getattr__ = lambda self, name: _swig_getattr(self, Rect, name)
404     def __init__(self,*args):
405         self.this = apply(_openbox.new_Rect,args)
406         self.thisown = 1
407     def left(*args): return apply(_openbox.Rect_left,args)
408     def top(*args): return apply(_openbox.Rect_top,args)
409     def right(*args): return apply(_openbox.Rect_right,args)
410     def bottom(*args): return apply(_openbox.Rect_bottom,args)
411     def x(*args): return apply(_openbox.Rect_x,args)
412     def y(*args): return apply(_openbox.Rect_y,args)
413     def location(*args): return apply(_openbox.Rect_location,args)
414     def setX(*args): return apply(_openbox.Rect_setX,args)
415     def setY(*args): return apply(_openbox.Rect_setY,args)
416     def setPos(*args): return apply(_openbox.Rect_setPos,args)
417     def width(*args): return apply(_openbox.Rect_width,args)
418     def height(*args): return apply(_openbox.Rect_height,args)
419     def size(*args): return apply(_openbox.Rect_size,args)
420     def setWidth(*args): return apply(_openbox.Rect_setWidth,args)
421     def setHeight(*args): return apply(_openbox.Rect_setHeight,args)
422     def setSize(*args): return apply(_openbox.Rect_setSize,args)
423     def setRect(*args): return apply(_openbox.Rect_setRect,args)
424     def setCoords(*args): return apply(_openbox.Rect_setCoords,args)
425     def __eq__(*args): return apply(_openbox.Rect___eq__,args)
426     def __ne__(*args): return apply(_openbox.Rect___ne__,args)
427     def __or__(*args): return apply(_openbox.Rect___or__,args)
428     def __and__(*args): return apply(_openbox.Rect___and__,args)
429     def __ior__(*args): return apply(_openbox.Rect___ior__,args)
430     def __iand__(*args): return apply(_openbox.Rect___iand__,args)
431     def valid(*args): return apply(_openbox.Rect_valid,args)
432     def intersects(*args): return apply(_openbox.Rect_intersects,args)
433     def contains(*args): return apply(_openbox.Rect_contains,args)
434     def __repr__(self):
435         return "<C Rect instance at %s>" % (self.this,)
436
437 class RectPtr(Rect):
438     def __init__(self,this):
439         self.this = this
440         if not hasattr(self,"thisown"): self.thisown = 0
441         self.__class__ = Rect
442 _openbox.Rect_swigregister(RectPtr)
443
444 class ScreenInfo(_object):
445     __swig_setmethods__ = {}
446     __setattr__ = lambda self, name, value: _swig_setattr(self, ScreenInfo, name, value)
447     __swig_getmethods__ = {}
448     __getattr__ = lambda self, name: _swig_getattr(self, ScreenInfo, name)
449     def __init__(self,*args):
450         self.this = apply(_openbox.new_ScreenInfo,args)
451         self.thisown = 1
452     def visual(*args): return apply(_openbox.ScreenInfo_visual,args)
453     def rootWindow(*args): return apply(_openbox.ScreenInfo_rootWindow,args)
454     def colormap(*args): return apply(_openbox.ScreenInfo_colormap,args)
455     def depth(*args): return apply(_openbox.ScreenInfo_depth,args)
456     def screen(*args): return apply(_openbox.ScreenInfo_screen,args)
457     def rect(*args): return apply(_openbox.ScreenInfo_rect,args)
458     def width(*args): return apply(_openbox.ScreenInfo_width,args)
459     def height(*args): return apply(_openbox.ScreenInfo_height,args)
460     def displayString(*args): return apply(_openbox.ScreenInfo_displayString,args)
461     def __repr__(self):
462         return "<C ScreenInfo instance at %s>" % (self.this,)
463
464 class ScreenInfoPtr(ScreenInfo):
465     def __init__(self,this):
466         self.this = this
467         if not hasattr(self,"thisown"): self.thisown = 0
468         self.__class__ = ScreenInfo
469 _openbox.ScreenInfo_swigregister(ScreenInfoPtr)
470
471 class Strut(_object):
472     __swig_setmethods__ = {}
473     __setattr__ = lambda self, name, value: _swig_setattr(self, Strut, name, value)
474     __swig_getmethods__ = {}
475     __getattr__ = lambda self, name: _swig_getattr(self, Strut, name)
476     __swig_setmethods__["top"] = _openbox.Strut_top_set
477     __swig_getmethods__["top"] = _openbox.Strut_top_get
478     if _newclass:top = property(_openbox.Strut_top_get,_openbox.Strut_top_set)
479     __swig_setmethods__["bottom"] = _openbox.Strut_bottom_set
480     __swig_getmethods__["bottom"] = _openbox.Strut_bottom_get
481     if _newclass:bottom = property(_openbox.Strut_bottom_get,_openbox.Strut_bottom_set)
482     __swig_setmethods__["left"] = _openbox.Strut_left_set
483     __swig_getmethods__["left"] = _openbox.Strut_left_get
484     if _newclass:left = property(_openbox.Strut_left_get,_openbox.Strut_left_set)
485     __swig_setmethods__["right"] = _openbox.Strut_right_set
486     __swig_getmethods__["right"] = _openbox.Strut_right_get
487     if _newclass:right = property(_openbox.Strut_right_get,_openbox.Strut_right_set)
488     def __init__(self,*args):
489         self.this = apply(_openbox.new_Strut,args)
490         self.thisown = 1
491     def __repr__(self):
492         return "<C Strut instance at %s>" % (self.this,)
493
494 class StrutPtr(Strut):
495     def __init__(self,this):
496         self.this = this
497         if not hasattr(self,"thisown"): self.thisown = 0
498         self.__class__ = Strut
499 _openbox.Strut_swigregister(StrutPtr)
500
501 class EventHandler(_object):
502     __swig_setmethods__ = {}
503     __setattr__ = lambda self, name, value: _swig_setattr(self, EventHandler, name, value)
504     __swig_getmethods__ = {}
505     __getattr__ = lambda self, name: _swig_getattr(self, EventHandler, name)
506     def handle(*args): return apply(_openbox.EventHandler_handle,args)
507     def keyPressHandler(*args): return apply(_openbox.EventHandler_keyPressHandler,args)
508     def keyReleaseHandler(*args): return apply(_openbox.EventHandler_keyReleaseHandler,args)
509     def buttonPressHandler(*args): return apply(_openbox.EventHandler_buttonPressHandler,args)
510     def buttonReleaseHandler(*args): return apply(_openbox.EventHandler_buttonReleaseHandler,args)
511     def motionHandler(*args): return apply(_openbox.EventHandler_motionHandler,args)
512     def enterHandler(*args): return apply(_openbox.EventHandler_enterHandler,args)
513     def leaveHandler(*args): return apply(_openbox.EventHandler_leaveHandler,args)
514     def focusHandler(*args): return apply(_openbox.EventHandler_focusHandler,args)
515     def unfocusHandler(*args): return apply(_openbox.EventHandler_unfocusHandler,args)
516     def exposeHandler(*args): return apply(_openbox.EventHandler_exposeHandler,args)
517     def graphicsExposeHandler(*args): return apply(_openbox.EventHandler_graphicsExposeHandler,args)
518     def noExposeEventHandler(*args): return apply(_openbox.EventHandler_noExposeEventHandler,args)
519     def circulateRequestHandler(*args): return apply(_openbox.EventHandler_circulateRequestHandler,args)
520     def configureRequestHandler(*args): return apply(_openbox.EventHandler_configureRequestHandler,args)
521     def mapRequestHandler(*args): return apply(_openbox.EventHandler_mapRequestHandler,args)
522     def resizeRequestHandler(*args): return apply(_openbox.EventHandler_resizeRequestHandler,args)
523     def circulateHandler(*args): return apply(_openbox.EventHandler_circulateHandler,args)
524     def configureHandler(*args): return apply(_openbox.EventHandler_configureHandler,args)
525     def createHandler(*args): return apply(_openbox.EventHandler_createHandler,args)
526     def destroyHandler(*args): return apply(_openbox.EventHandler_destroyHandler,args)
527     def gravityHandler(*args): return apply(_openbox.EventHandler_gravityHandler,args)
528     def mapHandler(*args): return apply(_openbox.EventHandler_mapHandler,args)
529     def mappingHandler(*args): return apply(_openbox.EventHandler_mappingHandler,args)
530     def reparentHandler(*args): return apply(_openbox.EventHandler_reparentHandler,args)
531     def unmapHandler(*args): return apply(_openbox.EventHandler_unmapHandler,args)
532     def visibilityHandler(*args): return apply(_openbox.EventHandler_visibilityHandler,args)
533     def colorMapHandler(*args): return apply(_openbox.EventHandler_colorMapHandler,args)
534     def propertyHandler(*args): return apply(_openbox.EventHandler_propertyHandler,args)
535     def selectionClearHandler(*args): return apply(_openbox.EventHandler_selectionClearHandler,args)
536     def selectionHandler(*args): return apply(_openbox.EventHandler_selectionHandler,args)
537     def selectionRequestHandler(*args): return apply(_openbox.EventHandler_selectionRequestHandler,args)
538     def clientMessageHandler(*args): return apply(_openbox.EventHandler_clientMessageHandler,args)
539     def __del__(self, destroy= _openbox.delete_EventHandler):
540         try:
541             if self.thisown: destroy(self)
542         except: pass
543     def __init__(self): raise RuntimeError, "No constructor defined"
544     def __repr__(self):
545         return "<C EventHandler instance at %s>" % (self.this,)
546
547 class EventHandlerPtr(EventHandler):
548     def __init__(self,this):
549         self.this = this
550         if not hasattr(self,"thisown"): self.thisown = 0
551         self.__class__ = EventHandler
552 _openbox.EventHandler_swigregister(EventHandlerPtr)
553
554 class EventDispatcher(_object):
555     __swig_setmethods__ = {}
556     __setattr__ = lambda self, name, value: _swig_setattr(self, EventDispatcher, name, value)
557     __swig_getmethods__ = {}
558     __getattr__ = lambda self, name: _swig_getattr(self, EventDispatcher, name)
559     def __init__(self,*args):
560         self.this = apply(_openbox.new_EventDispatcher,args)
561         self.thisown = 1
562     def __del__(self, destroy= _openbox.delete_EventDispatcher):
563         try:
564             if self.thisown: destroy(self)
565         except: pass
566     def clearAllHandlers(*args): return apply(_openbox.EventDispatcher_clearAllHandlers,args)
567     def registerHandler(*args): return apply(_openbox.EventDispatcher_registerHandler,args)
568     def clearHandler(*args): return apply(_openbox.EventDispatcher_clearHandler,args)
569     def dispatchEvents(*args): return apply(_openbox.EventDispatcher_dispatchEvents,args)
570     def setFallbackHandler(*args): return apply(_openbox.EventDispatcher_setFallbackHandler,args)
571     def getFallbackHandler(*args): return apply(_openbox.EventDispatcher_getFallbackHandler,args)
572     def setMasterHandler(*args): return apply(_openbox.EventDispatcher_setMasterHandler,args)
573     def getMasterHandler(*args): return apply(_openbox.EventDispatcher_getMasterHandler,args)
574     def findHandler(*args): return apply(_openbox.EventDispatcher_findHandler,args)
575     def lastTime(*args): return apply(_openbox.EventDispatcher_lastTime,args)
576     def __repr__(self):
577         return "<C EventDispatcher instance at %s>" % (self.this,)
578
579 class EventDispatcherPtr(EventDispatcher):
580     def __init__(self,this):
581         self.this = this
582         if not hasattr(self,"thisown"): self.thisown = 0
583         self.__class__ = EventDispatcher
584 _openbox.EventDispatcher_swigregister(EventDispatcherPtr)
585
586 class Cursors(_object):
587     __swig_setmethods__ = {}
588     __setattr__ = lambda self, name, value: _swig_setattr(self, Cursors, name, value)
589     __swig_getmethods__ = {}
590     __getattr__ = lambda self, name: _swig_getattr(self, Cursors, name)
591     __swig_setmethods__["session"] = _openbox.Cursors_session_set
592     __swig_getmethods__["session"] = _openbox.Cursors_session_get
593     if _newclass:session = property(_openbox.Cursors_session_get,_openbox.Cursors_session_set)
594     __swig_setmethods__["move"] = _openbox.Cursors_move_set
595     __swig_getmethods__["move"] = _openbox.Cursors_move_get
596     if _newclass:move = property(_openbox.Cursors_move_get,_openbox.Cursors_move_set)
597     __swig_setmethods__["ll_angle"] = _openbox.Cursors_ll_angle_set
598     __swig_getmethods__["ll_angle"] = _openbox.Cursors_ll_angle_get
599     if _newclass:ll_angle = property(_openbox.Cursors_ll_angle_get,_openbox.Cursors_ll_angle_set)
600     __swig_setmethods__["lr_angle"] = _openbox.Cursors_lr_angle_set
601     __swig_getmethods__["lr_angle"] = _openbox.Cursors_lr_angle_get
602     if _newclass:lr_angle = property(_openbox.Cursors_lr_angle_get,_openbox.Cursors_lr_angle_set)
603     __swig_setmethods__["ul_angle"] = _openbox.Cursors_ul_angle_set
604     __swig_getmethods__["ul_angle"] = _openbox.Cursors_ul_angle_get
605     if _newclass:ul_angle = property(_openbox.Cursors_ul_angle_get,_openbox.Cursors_ul_angle_set)
606     __swig_setmethods__["ur_angle"] = _openbox.Cursors_ur_angle_set
607     __swig_getmethods__["ur_angle"] = _openbox.Cursors_ur_angle_get
608     if _newclass:ur_angle = property(_openbox.Cursors_ur_angle_get,_openbox.Cursors_ur_angle_set)
609     def __init__(self): raise RuntimeError, "No constructor defined"
610     def __repr__(self):
611         return "<C Cursors instance at %s>" % (self.this,)
612
613 class CursorsPtr(Cursors):
614     def __init__(self,this):
615         self.this = this
616         if not hasattr(self,"thisown"): self.thisown = 0
617         self.__class__ = Cursors
618 _openbox.Cursors_swigregister(CursorsPtr)
619
620 class Openbox(EventDispatcher,EventHandler):
621     __swig_setmethods__ = {}
622     for _s in [EventDispatcher,EventHandler]: __swig_setmethods__.update(_s.__swig_setmethods__)
623     __setattr__ = lambda self, name, value: _swig_setattr(self, Openbox, name, value)
624     __swig_getmethods__ = {}
625     for _s in [EventDispatcher,EventHandler]: __swig_getmethods__.update(_s.__swig_getmethods__)
626     __getattr__ = lambda self, name: _swig_getattr(self, Openbox, name)
627     State_Starting = _openbox.Openbox_State_Starting
628     State_Normal = _openbox.Openbox_State_Normal
629     State_Exiting = _openbox.Openbox_State_Exiting
630     def state(*args): return apply(_openbox.Openbox_state,args)
631     def actions(*args): return apply(_openbox.Openbox_actions,args)
632     def bindings(*args): return apply(_openbox.Openbox_bindings,args)
633     def screen(*args): return apply(_openbox.Openbox_screen,args)
634     def screenCount(*args): return apply(_openbox.Openbox_screenCount,args)
635     def cursors(*args): return apply(_openbox.Openbox_cursors,args)
636     def addClient(*args): return apply(_openbox.Openbox_addClient,args)
637     def removeClient(*args): return apply(_openbox.Openbox_removeClient,args)
638     def findClient(*args): return apply(_openbox.Openbox_findClient,args)
639     def focusedClient(*args): return apply(_openbox.Openbox_focusedClient,args)
640     def setFocusedClient(*args): return apply(_openbox.Openbox_setFocusedClient,args)
641     def focusedScreen(*args): return apply(_openbox.Openbox_focusedScreen,args)
642     def shutdown(*args): return apply(_openbox.Openbox_shutdown,args)
643     def restart(*args): return apply(_openbox.Openbox_restart,args)
644     def execute(*args): return apply(_openbox.Openbox_execute,args)
645     def __init__(self): raise RuntimeError, "No constructor defined"
646     def __repr__(self):
647         return "<C Openbox instance at %s>" % (self.this,)
648
649 class OpenboxPtr(Openbox):
650     def __init__(self,this):
651         self.this = this
652         if not hasattr(self,"thisown"): self.thisown = 0
653         self.__class__ = Openbox
654 _openbox.Openbox_swigregister(OpenboxPtr)
655
656 class Screen(EventHandler,):
657     __swig_setmethods__ = {}
658     for _s in [EventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
659     __setattr__ = lambda self, name, value: _swig_setattr(self, Screen, name, value)
660     __swig_getmethods__ = {}
661     for _s in [EventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
662     __getattr__ = lambda self, name: _swig_getattr(self, Screen, name)
663     def client(*args): return apply(_openbox.Screen_client,args)
664     def clientCount(*args): return apply(_openbox.Screen_clientCount,args)
665     event_mask = _openbox.Screen_event_mask
666     def number(*args): return apply(_openbox.Screen_number,args)
667     def managed(*args): return apply(_openbox.Screen_managed,args)
668     def area(*args): return apply(_openbox.Screen_area,args)
669     def style(*args): return apply(_openbox.Screen_style,args)
670     def focuswindow(*args): return apply(_openbox.Screen_focuswindow,args)
671     def desktop(*args): return apply(_openbox.Screen_desktop,args)
672     def numDesktops(*args): return apply(_openbox.Screen_numDesktops,args)
673     def updateStrut(*args): return apply(_openbox.Screen_updateStrut,args)
674     def manageExisting(*args): return apply(_openbox.Screen_manageExisting,args)
675     def manageWindow(*args): return apply(_openbox.Screen_manageWindow,args)
676     def unmanageWindow(*args): return apply(_openbox.Screen_unmanageWindow,args)
677     def raiseWindow(*args): return apply(_openbox.Screen_raiseWindow,args)
678     def lowerWindow(*args): return apply(_openbox.Screen_lowerWindow,args)
679     def setDesktopName(*args): return apply(_openbox.Screen_setDesktopName,args)
680     def propertyHandler(*args): return apply(_openbox.Screen_propertyHandler,args)
681     def clientMessageHandler(*args): return apply(_openbox.Screen_clientMessageHandler,args)
682     def mapRequestHandler(*args): return apply(_openbox.Screen_mapRequestHandler,args)
683     def __init__(self): raise RuntimeError, "No constructor defined"
684     def __repr__(self):
685         return "<C Screen instance at %s>" % (self.this,)
686
687 class ScreenPtr(Screen):
688     def __init__(self,this):
689         self.this = this
690         if not hasattr(self,"thisown"): self.thisown = 0
691         self.__class__ = Screen
692 _openbox.Screen_swigregister(ScreenPtr)
693
694 class MwmHints(_object):
695     __swig_setmethods__ = {}
696     __setattr__ = lambda self, name, value: _swig_setattr(self, MwmHints, name, value)
697     __swig_getmethods__ = {}
698     __getattr__ = lambda self, name: _swig_getattr(self, MwmHints, name)
699     __swig_setmethods__["flags"] = _openbox.MwmHints_flags_set
700     __swig_getmethods__["flags"] = _openbox.MwmHints_flags_get
701     if _newclass:flags = property(_openbox.MwmHints_flags_get,_openbox.MwmHints_flags_set)
702     __swig_setmethods__["functions"] = _openbox.MwmHints_functions_set
703     __swig_getmethods__["functions"] = _openbox.MwmHints_functions_get
704     if _newclass:functions = property(_openbox.MwmHints_functions_get,_openbox.MwmHints_functions_set)
705     __swig_setmethods__["decorations"] = _openbox.MwmHints_decorations_set
706     __swig_getmethods__["decorations"] = _openbox.MwmHints_decorations_get
707     if _newclass:decorations = property(_openbox.MwmHints_decorations_get,_openbox.MwmHints_decorations_set)
708     elements = _openbox.MwmHints_elements
709     def __init__(self): raise RuntimeError, "No constructor defined"
710     def __repr__(self):
711         return "<C MwmHints instance at %s>" % (self.this,)
712
713 class MwmHintsPtr(MwmHints):
714     def __init__(self,this):
715         self.this = this
716         if not hasattr(self,"thisown"): self.thisown = 0
717         self.__class__ = MwmHints
718 _openbox.MwmHints_swigregister(MwmHintsPtr)
719
720 class Client(EventHandler,):
721     __swig_setmethods__ = {}
722     for _s in [EventHandler,]: __swig_setmethods__.update(_s.__swig_setmethods__)
723     __setattr__ = lambda self, name, value: _swig_setattr(self, Client, name, value)
724     __swig_getmethods__ = {}
725     for _s in [EventHandler,]: __swig_getmethods__.update(_s.__swig_getmethods__)
726     __getattr__ = lambda self, name: _swig_getattr(self, Client, name)
727     __swig_setmethods__["frame"] = _openbox.Client_frame_set
728     __swig_getmethods__["frame"] = _openbox.Client_frame_get
729     if _newclass:frame = property(_openbox.Client_frame_get,_openbox.Client_frame_set)
730     Layer_Icon = _openbox.Client_Layer_Icon
731     Layer_Desktop = _openbox.Client_Layer_Desktop
732     Layer_Below = _openbox.Client_Layer_Below
733     Layer_Normal = _openbox.Client_Layer_Normal
734     Layer_Above = _openbox.Client_Layer_Above
735     Layer_Top = _openbox.Client_Layer_Top
736     Layer_Fullscreen = _openbox.Client_Layer_Fullscreen
737     Layer_Internal = _openbox.Client_Layer_Internal
738     NUM_LAYERS = _openbox.Client_NUM_LAYERS
739     TopLeft = _openbox.Client_TopLeft
740     TopRight = _openbox.Client_TopRight
741     BottomLeft = _openbox.Client_BottomLeft
742     BottomRight = _openbox.Client_BottomRight
743     Type_Desktop = _openbox.Client_Type_Desktop
744     Type_Dock = _openbox.Client_Type_Dock
745     Type_Toolbar = _openbox.Client_Type_Toolbar
746     Type_Menu = _openbox.Client_Type_Menu
747     Type_Utility = _openbox.Client_Type_Utility
748     Type_Splash = _openbox.Client_Type_Splash
749     Type_Dialog = _openbox.Client_Type_Dialog
750     Type_Normal = _openbox.Client_Type_Normal
751     MwmFlag_Functions = _openbox.Client_MwmFlag_Functions
752     MwmFlag_Decorations = _openbox.Client_MwmFlag_Decorations
753     MwmFunc_All = _openbox.Client_MwmFunc_All
754     MwmFunc_Resize = _openbox.Client_MwmFunc_Resize
755     MwmFunc_Move = _openbox.Client_MwmFunc_Move
756     MwmFunc_Iconify = _openbox.Client_MwmFunc_Iconify
757     MwmFunc_Maximize = _openbox.Client_MwmFunc_Maximize
758     MwmDecor_All = _openbox.Client_MwmDecor_All
759     MwmDecor_Border = _openbox.Client_MwmDecor_Border
760     MwmDecor_Handle = _openbox.Client_MwmDecor_Handle
761     MwmDecor_Title = _openbox.Client_MwmDecor_Title
762     MwmDecor_Iconify = _openbox.Client_MwmDecor_Iconify
763     MwmDecor_Maximize = _openbox.Client_MwmDecor_Maximize
764     Func_Resize = _openbox.Client_Func_Resize
765     Func_Move = _openbox.Client_Func_Move
766     Func_Iconify = _openbox.Client_Func_Iconify
767     Func_Maximize = _openbox.Client_Func_Maximize
768     Func_Shade = _openbox.Client_Func_Shade
769     Func_Fullscreen = _openbox.Client_Func_Fullscreen
770     Func_Close = _openbox.Client_Func_Close
771     Decor_Titlebar = _openbox.Client_Decor_Titlebar
772     Decor_Handle = _openbox.Client_Decor_Handle
773     Decor_Border = _openbox.Client_Decor_Border
774     Decor_Iconify = _openbox.Client_Decor_Iconify
775     Decor_Maximize = _openbox.Client_Decor_Maximize
776     Decor_AllDesktops = _openbox.Client_Decor_AllDesktops
777     Decor_Close = _openbox.Client_Decor_Close
778     State_Remove = _openbox.Client_State_Remove
779     State_Add = _openbox.Client_State_Add
780     State_Toggle = _openbox.Client_State_Toggle
781     event_mask = _openbox.Client_event_mask
782     no_propagate_mask = _openbox.Client_no_propagate_mask
783     __swig_setmethods__["ignore_unmaps"] = _openbox.Client_ignore_unmaps_set
784     __swig_getmethods__["ignore_unmaps"] = _openbox.Client_ignore_unmaps_get
785     if _newclass:ignore_unmaps = property(_openbox.Client_ignore_unmaps_get,_openbox.Client_ignore_unmaps_set)
786     def screen(*args): return apply(_openbox.Client_screen,args)
787     def window(*args): return apply(_openbox.Client_window,args)
788     def type(*args): return apply(_openbox.Client_type,args)
789     def normal(*args): return apply(_openbox.Client_normal,args)
790     def desktop(*args): return apply(_openbox.Client_desktop,args)
791     def title(*args): return apply(_openbox.Client_title,args)
792     def iconTitle(*args): return apply(_openbox.Client_iconTitle,args)
793     def appName(*args): return apply(_openbox.Client_appName,args)
794     def appClass(*args): return apply(_openbox.Client_appClass,args)
795     def role(*args): return apply(_openbox.Client_role,args)
796     def canFocus(*args): return apply(_openbox.Client_canFocus,args)
797     def urgent(*args): return apply(_openbox.Client_urgent,args)
798     def focusNotify(*args): return apply(_openbox.Client_focusNotify,args)
799     def shaped(*args): return apply(_openbox.Client_shaped,args)
800     def gravity(*args): return apply(_openbox.Client_gravity,args)
801     def positionRequested(*args): return apply(_openbox.Client_positionRequested,args)
802     def decorations(*args): return apply(_openbox.Client_decorations,args)
803     def funtions(*args): return apply(_openbox.Client_funtions,args)
804     def transientFor(*args): return apply(_openbox.Client_transientFor,args)
805     def modal(*args): return apply(_openbox.Client_modal,args)
806     def shaded(*args): return apply(_openbox.Client_shaded,args)
807     def fullscreen(*args): return apply(_openbox.Client_fullscreen,args)
808     def iconic(*args): return apply(_openbox.Client_iconic,args)
809     def maxVert(*args): return apply(_openbox.Client_maxVert,args)
810     def maxHorz(*args): return apply(_openbox.Client_maxHorz,args)
811     def layer(*args): return apply(_openbox.Client_layer,args)
812     def applyStartupState(*args): return apply(_openbox.Client_applyStartupState,args)
813     def toggleClientBorder(*args): return apply(_openbox.Client_toggleClientBorder,args)
814     def area(*args): return apply(_openbox.Client_area,args)
815     def strut(*args): return apply(_openbox.Client_strut,args)
816     def move(*args): return apply(_openbox.Client_move,args)
817     def resize(*args): return apply(_openbox.Client_resize,args)
818     def focus(*args): return apply(_openbox.Client_focus,args)
819     def unfocus(*args): return apply(_openbox.Client_unfocus,args)
820     def focusHandler(*args): return apply(_openbox.Client_focusHandler,args)
821     def unfocusHandler(*args): return apply(_openbox.Client_unfocusHandler,args)
822     def propertyHandler(*args): return apply(_openbox.Client_propertyHandler,args)
823     def clientMessageHandler(*args): return apply(_openbox.Client_clientMessageHandler,args)
824     def configureRequestHandler(*args): return apply(_openbox.Client_configureRequestHandler,args)
825     def unmapHandler(*args): return apply(_openbox.Client_unmapHandler,args)
826     def destroyHandler(*args): return apply(_openbox.Client_destroyHandler,args)
827     def reparentHandler(*args): return apply(_openbox.Client_reparentHandler,args)
828     def __init__(self): raise RuntimeError, "No constructor defined"
829     def __repr__(self):
830         return "<C Client instance at %s>" % (self.this,)
831
832 class ClientPtr(Client):
833     def __init__(self,this):
834         self.this = this
835         if not hasattr(self,"thisown"): self.thisown = 0
836         self.__class__ = Client
837 _openbox.Client_swigregister(ClientPtr)
838
839 class Frame(_object):
840     __swig_setmethods__ = {}
841     __setattr__ = lambda self, name, value: _swig_setattr(self, Frame, name, value)
842     __swig_getmethods__ = {}
843     __getattr__ = lambda self, name: _swig_getattr(self, Frame, name)
844     event_mask = _openbox.Frame_event_mask
845     def __init__(self,*args):
846         self.this = apply(_openbox.new_Frame,args)
847         self.thisown = 1
848     def __del__(self, destroy= _openbox.delete_Frame):
849         try:
850             if self.thisown: destroy(self)
851         except: pass
852     def size(*args): return apply(_openbox.Frame_size,args)
853     def setStyle(*args): return apply(_openbox.Frame_setStyle,args)
854     def adjust(*args): return apply(_openbox.Frame_adjust,args)
855     def focus(*args): return apply(_openbox.Frame_focus,args)
856     def unfocus(*args): return apply(_openbox.Frame_unfocus,args)
857     def setTitle(*args): return apply(_openbox.Frame_setTitle,args)
858     def grabClient(*args): return apply(_openbox.Frame_grabClient,args)
859     def releaseClient(*args): return apply(_openbox.Frame_releaseClient,args)
860     def adjustSize(*args): return apply(_openbox.Frame_adjustSize,args)
861     def adjustPosition(*args): return apply(_openbox.Frame_adjustPosition,args)
862     def adjustShape(*args): return apply(_openbox.Frame_adjustShape,args)
863     def adjustState(*args): return apply(_openbox.Frame_adjustState,args)
864     def clientGravity(*args): return apply(_openbox.Frame_clientGravity,args)
865     def frameGravity(*args): return apply(_openbox.Frame_frameGravity,args)
866     def plate(*args): return apply(_openbox.Frame_plate,args)
867     def titlebar(*args): return apply(_openbox.Frame_titlebar,args)
868     def label(*args): return apply(_openbox.Frame_label,args)
869     def button_close(*args): return apply(_openbox.Frame_button_close,args)
870     def button_iconify(*args): return apply(_openbox.Frame_button_iconify,args)
871     def button_max(*args): return apply(_openbox.Frame_button_max,args)
872     def button_alldesk(*args): return apply(_openbox.Frame_button_alldesk,args)
873     def handle(*args): return apply(_openbox.Frame_handle,args)
874     def grip_left(*args): return apply(_openbox.Frame_grip_left,args)
875     def grip_right(*args): return apply(_openbox.Frame_grip_right,args)
876     def __repr__(self):
877         return "<C Frame instance at %s>" % (self.this,)
878
879 class FramePtr(Frame):
880     def __init__(self,this):
881         self.this = this
882         if not hasattr(self,"thisown"): self.thisown = 0
883         self.__class__ = Frame
884 _openbox.Frame_swigregister(FramePtr)
885
886 MC_Frame = _openbox.MC_Frame
887 MC_Titlebar = _openbox.MC_Titlebar
888 MC_Handle = _openbox.MC_Handle
889 MC_Window = _openbox.MC_Window
890 MC_MaximizeButton = _openbox.MC_MaximizeButton
891 MC_CloseButton = _openbox.MC_CloseButton
892 MC_IconifyButton = _openbox.MC_IconifyButton
893 MC_AllDesktopsButton = _openbox.MC_AllDesktopsButton
894 MC_Grip = _openbox.MC_Grip
895 MC_Root = _openbox.MC_Root
896 MC_MenuItem = _openbox.MC_MenuItem
897 NUM_MOUSE_CONTEXT = _openbox.NUM_MOUSE_CONTEXT
898 MousePress = _openbox.MousePress
899 MouseClick = _openbox.MouseClick
900 MouseDoubleClick = _openbox.MouseDoubleClick
901 MouseMotion = _openbox.MouseMotion
902 NUM_MOUSE_ACTION = _openbox.NUM_MOUSE_ACTION
903 KC_Menu = _openbox.KC_Menu
904 KC_All = _openbox.KC_All
905 NUM_KEY_CONTEXT = _openbox.NUM_KEY_CONTEXT
906 EventEnterWindow = _openbox.EventEnterWindow
907 EventLeaveWindow = _openbox.EventLeaveWindow
908 EventPlaceWindow = _openbox.EventPlaceWindow
909 EventNewWindow = _openbox.EventNewWindow
910 EventCloseWindow = _openbox.EventCloseWindow
911 EventStartup = _openbox.EventStartup
912 EventShutdown = _openbox.EventShutdown
913 EventFocus = _openbox.EventFocus
914 EventBell = _openbox.EventBell
915 NUM_EVENTS = _openbox.NUM_EVENTS
916 class MouseData(_object):
917     __swig_setmethods__ = {}
918     __setattr__ = lambda self, name, value: _swig_setattr(self, MouseData, name, value)
919     __swig_getmethods__ = {}
920     __getattr__ = lambda self, name: _swig_getattr(self, MouseData, name)
921     __swig_setmethods__["screen"] = _openbox.MouseData_screen_set
922     __swig_getmethods__["screen"] = _openbox.MouseData_screen_get
923     if _newclass:screen = property(_openbox.MouseData_screen_get,_openbox.MouseData_screen_set)
924     __swig_setmethods__["client"] = _openbox.MouseData_client_set
925     __swig_getmethods__["client"] = _openbox.MouseData_client_get
926     if _newclass:client = property(_openbox.MouseData_client_get,_openbox.MouseData_client_set)
927     __swig_setmethods__["time"] = _openbox.MouseData_time_set
928     __swig_getmethods__["time"] = _openbox.MouseData_time_get
929     if _newclass:time = property(_openbox.MouseData_time_get,_openbox.MouseData_time_set)
930     __swig_setmethods__["state"] = _openbox.MouseData_state_set
931     __swig_getmethods__["state"] = _openbox.MouseData_state_get
932     if _newclass:state = property(_openbox.MouseData_state_get,_openbox.MouseData_state_set)
933     __swig_setmethods__["button"] = _openbox.MouseData_button_set
934     __swig_getmethods__["button"] = _openbox.MouseData_button_get
935     if _newclass:button = property(_openbox.MouseData_button_get,_openbox.MouseData_button_set)
936     __swig_setmethods__["context"] = _openbox.MouseData_context_set
937     __swig_getmethods__["context"] = _openbox.MouseData_context_get
938     if _newclass:context = property(_openbox.MouseData_context_get,_openbox.MouseData_context_set)
939     __swig_setmethods__["action"] = _openbox.MouseData_action_set
940     __swig_getmethods__["action"] = _openbox.MouseData_action_get
941     if _newclass:action = property(_openbox.MouseData_action_get,_openbox.MouseData_action_set)
942     __swig_setmethods__["xroot"] = _openbox.MouseData_xroot_set
943     __swig_getmethods__["xroot"] = _openbox.MouseData_xroot_get
944     if _newclass:xroot = property(_openbox.MouseData_xroot_get,_openbox.MouseData_xroot_set)
945     __swig_setmethods__["yroot"] = _openbox.MouseData_yroot_set
946     __swig_getmethods__["yroot"] = _openbox.MouseData_yroot_get
947     if _newclass:yroot = property(_openbox.MouseData_yroot_get,_openbox.MouseData_yroot_set)
948     __swig_setmethods__["pressx"] = _openbox.MouseData_pressx_set
949     __swig_getmethods__["pressx"] = _openbox.MouseData_pressx_get
950     if _newclass:pressx = property(_openbox.MouseData_pressx_get,_openbox.MouseData_pressx_set)
951     __swig_setmethods__["pressy"] = _openbox.MouseData_pressy_set
952     __swig_getmethods__["pressy"] = _openbox.MouseData_pressy_get
953     if _newclass:pressy = property(_openbox.MouseData_pressy_get,_openbox.MouseData_pressy_set)
954     __swig_setmethods__["press_clientx"] = _openbox.MouseData_press_clientx_set
955     __swig_getmethods__["press_clientx"] = _openbox.MouseData_press_clientx_get
956     if _newclass:press_clientx = property(_openbox.MouseData_press_clientx_get,_openbox.MouseData_press_clientx_set)
957     __swig_setmethods__["press_clienty"] = _openbox.MouseData_press_clienty_set
958     __swig_getmethods__["press_clienty"] = _openbox.MouseData_press_clienty_get
959     if _newclass:press_clienty = property(_openbox.MouseData_press_clienty_get,_openbox.MouseData_press_clienty_set)
960     __swig_setmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_set
961     __swig_getmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_get
962     if _newclass:press_clientwidth = property(_openbox.MouseData_press_clientwidth_get,_openbox.MouseData_press_clientwidth_set)
963     __swig_setmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_set
964     __swig_getmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_get
965     if _newclass:press_clientheight = property(_openbox.MouseData_press_clientheight_get,_openbox.MouseData_press_clientheight_set)
966     def __init__(self,*args):
967         self.this = apply(_openbox.new_MouseData,args)
968         self.thisown = 1
969     def __repr__(self):
970         return "<C MouseData instance at %s>" % (self.this,)
971
972 class MouseDataPtr(MouseData):
973     def __init__(self,this):
974         self.this = this
975         if not hasattr(self,"thisown"): self.thisown = 0
976         self.__class__ = MouseData
977 _openbox.MouseData_swigregister(MouseDataPtr)
978
979 class EventData(_object):
980     __swig_setmethods__ = {}
981     __setattr__ = lambda self, name, value: _swig_setattr(self, EventData, name, value)
982     __swig_getmethods__ = {}
983     __getattr__ = lambda self, name: _swig_getattr(self, EventData, name)
984     __swig_setmethods__["screen"] = _openbox.EventData_screen_set
985     __swig_getmethods__["screen"] = _openbox.EventData_screen_get
986     if _newclass:screen = property(_openbox.EventData_screen_get,_openbox.EventData_screen_set)
987     __swig_setmethods__["client"] = _openbox.EventData_client_set
988     __swig_getmethods__["client"] = _openbox.EventData_client_get
989     if _newclass:client = property(_openbox.EventData_client_get,_openbox.EventData_client_set)
990     __swig_setmethods__["state"] = _openbox.EventData_state_set
991     __swig_getmethods__["state"] = _openbox.EventData_state_get
992     if _newclass:state = property(_openbox.EventData_state_get,_openbox.EventData_state_set)
993     __swig_setmethods__["action"] = _openbox.EventData_action_set
994     __swig_getmethods__["action"] = _openbox.EventData_action_get
995     if _newclass:action = property(_openbox.EventData_action_get,_openbox.EventData_action_set)
996     def __init__(self,*args):
997         self.this = apply(_openbox.new_EventData,args)
998         self.thisown = 1
999     def __repr__(self):
1000         return "<C EventData instance at %s>" % (self.this,)
1001
1002 class EventDataPtr(EventData):
1003     def __init__(self,this):
1004         self.this = this
1005         if not hasattr(self,"thisown"): self.thisown = 0
1006         self.__class__ = EventData
1007 _openbox.EventData_swigregister(EventDataPtr)
1008
1009 class KeyData(_object):
1010     __swig_setmethods__ = {}
1011     __setattr__ = lambda self, name, value: _swig_setattr(self, KeyData, name, value)
1012     __swig_getmethods__ = {}
1013     __getattr__ = lambda self, name: _swig_getattr(self, KeyData, name)
1014     __swig_setmethods__["screen"] = _openbox.KeyData_screen_set
1015     __swig_getmethods__["screen"] = _openbox.KeyData_screen_get
1016     if _newclass:screen = property(_openbox.KeyData_screen_get,_openbox.KeyData_screen_set)
1017     __swig_setmethods__["client"] = _openbox.KeyData_client_set
1018     __swig_getmethods__["client"] = _openbox.KeyData_client_get
1019     if _newclass:client = property(_openbox.KeyData_client_get,_openbox.KeyData_client_set)
1020     __swig_setmethods__["time"] = _openbox.KeyData_time_set
1021     __swig_getmethods__["time"] = _openbox.KeyData_time_get
1022     if _newclass:time = property(_openbox.KeyData_time_get,_openbox.KeyData_time_set)
1023     __swig_setmethods__["state"] = _openbox.KeyData_state_set
1024     __swig_getmethods__["state"] = _openbox.KeyData_state_get
1025     if _newclass:state = property(_openbox.KeyData_state_get,_openbox.KeyData_state_set)
1026     __swig_setmethods__["key"] = _openbox.KeyData_key_set
1027     __swig_getmethods__["key"] = _openbox.KeyData_key_get
1028     if _newclass:key = property(_openbox.KeyData_key_get,_openbox.KeyData_key_set)
1029     def __init__(self,*args):
1030         self.this = apply(_openbox.new_KeyData,args)
1031         self.thisown = 1
1032     def __repr__(self):
1033         return "<C KeyData instance at %s>" % (self.this,)
1034
1035 class KeyDataPtr(KeyData):
1036     def __init__(self,this):
1037         self.this = this
1038         if not hasattr(self,"thisown"): self.thisown = 0
1039         self.__class__ = KeyData
1040 _openbox.KeyData_swigregister(KeyDataPtr)
1041
1042 mbind = _openbox.mbind
1043
1044 kbind = _openbox.kbind
1045
1046 ebind = _openbox.ebind
1047
1048 set_reset_key = _openbox.set_reset_key
1049
1050 send_client_msg = _openbox.send_client_msg
1051
1052 X_PROTOCOL = _openbox.X_PROTOCOL
1053 X_PROTOCOL_REVISION = _openbox.X_PROTOCOL_REVISION
1054 None = _openbox.None
1055 ParentRelative = _openbox.ParentRelative
1056 CopyFromParent = _openbox.CopyFromParent
1057 PointerWindow = _openbox.PointerWindow
1058 InputFocus = _openbox.InputFocus
1059 PointerRoot = _openbox.PointerRoot
1060 AnyPropertyType = _openbox.AnyPropertyType
1061 AnyKey = _openbox.AnyKey
1062 AnyButton = _openbox.AnyButton
1063 AllTemporary = _openbox.AllTemporary
1064 CurrentTime = _openbox.CurrentTime
1065 NoSymbol = _openbox.NoSymbol
1066 NoEventMask = _openbox.NoEventMask
1067 KeyPressMask = _openbox.KeyPressMask
1068 KeyReleaseMask = _openbox.KeyReleaseMask
1069 ButtonPressMask = _openbox.ButtonPressMask
1070 ButtonReleaseMask = _openbox.ButtonReleaseMask
1071 EnterWindowMask = _openbox.EnterWindowMask
1072 LeaveWindowMask = _openbox.LeaveWindowMask
1073 PointerMotionMask = _openbox.PointerMotionMask
1074 PointerMotionHintMask = _openbox.PointerMotionHintMask
1075 Button1MotionMask = _openbox.Button1MotionMask
1076 Button2MotionMask = _openbox.Button2MotionMask
1077 Button3MotionMask = _openbox.Button3MotionMask
1078 Button4MotionMask = _openbox.Button4MotionMask
1079 Button5MotionMask = _openbox.Button5MotionMask
1080 ButtonMotionMask = _openbox.ButtonMotionMask
1081 KeymapStateMask = _openbox.KeymapStateMask
1082 ExposureMask = _openbox.ExposureMask
1083 VisibilityChangeMask = _openbox.VisibilityChangeMask
1084 StructureNotifyMask = _openbox.StructureNotifyMask
1085 ResizeRedirectMask = _openbox.ResizeRedirectMask
1086 SubstructureNotifyMask = _openbox.SubstructureNotifyMask
1087 SubstructureRedirectMask = _openbox.SubstructureRedirectMask
1088 FocusChangeMask = _openbox.FocusChangeMask
1089 PropertyChangeMask = _openbox.PropertyChangeMask
1090 ColormapChangeMask = _openbox.ColormapChangeMask
1091 OwnerGrabButtonMask = _openbox.OwnerGrabButtonMask
1092 KeyPress = _openbox.KeyPress
1093 KeyRelease = _openbox.KeyRelease
1094 ButtonPress = _openbox.ButtonPress
1095 ButtonRelease = _openbox.ButtonRelease
1096 MotionNotify = _openbox.MotionNotify
1097 EnterNotify = _openbox.EnterNotify
1098 LeaveNotify = _openbox.LeaveNotify
1099 FocusIn = _openbox.FocusIn
1100 FocusOut = _openbox.FocusOut
1101 KeymapNotify = _openbox.KeymapNotify
1102 Expose = _openbox.Expose
1103 GraphicsExpose = _openbox.GraphicsExpose
1104 NoExpose = _openbox.NoExpose
1105 VisibilityNotify = _openbox.VisibilityNotify
1106 CreateNotify = _openbox.CreateNotify
1107 DestroyNotify = _openbox.DestroyNotify
1108 UnmapNotify = _openbox.UnmapNotify
1109 MapNotify = _openbox.MapNotify
1110 MapRequest = _openbox.MapRequest
1111 ReparentNotify = _openbox.ReparentNotify
1112 ConfigureNotify = _openbox.ConfigureNotify
1113 ConfigureRequest = _openbox.ConfigureRequest
1114 GravityNotify = _openbox.GravityNotify
1115 ResizeRequest = _openbox.ResizeRequest
1116 CirculateNotify = _openbox.CirculateNotify
1117 CirculateRequest = _openbox.CirculateRequest
1118 PropertyNotify = _openbox.PropertyNotify
1119 SelectionClear = _openbox.SelectionClear
1120 SelectionRequest = _openbox.SelectionRequest
1121 SelectionNotify = _openbox.SelectionNotify
1122 ColormapNotify = _openbox.ColormapNotify
1123 ClientMessage = _openbox.ClientMessage
1124 MappingNotify = _openbox.MappingNotify
1125 LASTEvent = _openbox.LASTEvent
1126 ShiftMask = _openbox.ShiftMask
1127 LockMask = _openbox.LockMask
1128 ControlMask = _openbox.ControlMask
1129 Mod1Mask = _openbox.Mod1Mask
1130 Mod2Mask = _openbox.Mod2Mask
1131 Mod3Mask = _openbox.Mod3Mask
1132 Mod4Mask = _openbox.Mod4Mask
1133 Mod5Mask = _openbox.Mod5Mask
1134 ShiftMapIndex = _openbox.ShiftMapIndex
1135 LockMapIndex = _openbox.LockMapIndex
1136 ControlMapIndex = _openbox.ControlMapIndex
1137 Mod1MapIndex = _openbox.Mod1MapIndex
1138 Mod2MapIndex = _openbox.Mod2MapIndex
1139 Mod3MapIndex = _openbox.Mod3MapIndex
1140 Mod4MapIndex = _openbox.Mod4MapIndex
1141 Mod5MapIndex = _openbox.Mod5MapIndex
1142 Button1Mask = _openbox.Button1Mask
1143 Button2Mask = _openbox.Button2Mask
1144 Button3Mask = _openbox.Button3Mask
1145 Button4Mask = _openbox.Button4Mask
1146 Button5Mask = _openbox.Button5Mask
1147 AnyModifier = _openbox.AnyModifier
1148 Button1 = _openbox.Button1
1149 Button2 = _openbox.Button2
1150 Button3 = _openbox.Button3
1151 Button4 = _openbox.Button4
1152 Button5 = _openbox.Button5
1153 NotifyNormal = _openbox.NotifyNormal
1154 NotifyGrab = _openbox.NotifyGrab
1155 NotifyUngrab = _openbox.NotifyUngrab
1156 NotifyWhileGrabbed = _openbox.NotifyWhileGrabbed
1157 NotifyHint = _openbox.NotifyHint
1158 NotifyAncestor = _openbox.NotifyAncestor
1159 NotifyVirtual = _openbox.NotifyVirtual
1160 NotifyInferior = _openbox.NotifyInferior
1161 NotifyNonlinear = _openbox.NotifyNonlinear
1162 NotifyNonlinearVirtual = _openbox.NotifyNonlinearVirtual
1163 NotifyPointer = _openbox.NotifyPointer
1164 NotifyPointerRoot = _openbox.NotifyPointerRoot
1165 NotifyDetailNone = _openbox.NotifyDetailNone
1166 VisibilityUnobscured = _openbox.VisibilityUnobscured
1167 VisibilityPartiallyObscured = _openbox.VisibilityPartiallyObscured
1168 VisibilityFullyObscured = _openbox.VisibilityFullyObscured
1169 PlaceOnTop = _openbox.PlaceOnTop
1170 PlaceOnBottom = _openbox.PlaceOnBottom
1171 FamilyInternet = _openbox.FamilyInternet
1172 FamilyDECnet = _openbox.FamilyDECnet
1173 FamilyChaos = _openbox.FamilyChaos
1174 PropertyNewValue = _openbox.PropertyNewValue
1175 PropertyDelete = _openbox.PropertyDelete
1176 ColormapUninstalled = _openbox.ColormapUninstalled
1177 ColormapInstalled = _openbox.ColormapInstalled
1178 GrabModeSync = _openbox.GrabModeSync
1179 GrabModeAsync = _openbox.GrabModeAsync
1180 GrabSuccess = _openbox.GrabSuccess
1181 AlreadyGrabbed = _openbox.AlreadyGrabbed
1182 GrabInvalidTime = _openbox.GrabInvalidTime
1183 GrabNotViewable = _openbox.GrabNotViewable
1184 GrabFrozen = _openbox.GrabFrozen
1185 AsyncPointer = _openbox.AsyncPointer
1186 SyncPointer = _openbox.SyncPointer
1187 ReplayPointer = _openbox.ReplayPointer
1188 AsyncKeyboard = _openbox.AsyncKeyboard
1189 SyncKeyboard = _openbox.SyncKeyboard
1190 ReplayKeyboard = _openbox.ReplayKeyboard
1191 AsyncBoth = _openbox.AsyncBoth
1192 SyncBoth = _openbox.SyncBoth
1193 RevertToParent = _openbox.RevertToParent
1194 Success = _openbox.Success
1195 BadRequest = _openbox.BadRequest
1196 BadValue = _openbox.BadValue
1197 BadWindow = _openbox.BadWindow
1198 BadPixmap = _openbox.BadPixmap
1199 BadAtom = _openbox.BadAtom
1200 BadCursor = _openbox.BadCursor
1201 BadFont = _openbox.BadFont
1202 BadMatch = _openbox.BadMatch
1203 BadDrawable = _openbox.BadDrawable
1204 BadAccess = _openbox.BadAccess
1205 BadAlloc = _openbox.BadAlloc
1206 BadColor = _openbox.BadColor
1207 BadGC = _openbox.BadGC
1208 BadIDChoice = _openbox.BadIDChoice
1209 BadName = _openbox.BadName
1210 BadLength = _openbox.BadLength
1211 BadImplementation = _openbox.BadImplementation
1212 FirstExtensionError = _openbox.FirstExtensionError
1213 LastExtensionError = _openbox.LastExtensionError
1214 InputOutput = _openbox.InputOutput
1215 InputOnly = _openbox.InputOnly
1216 CWBackPixmap = _openbox.CWBackPixmap
1217 CWBackPixel = _openbox.CWBackPixel
1218 CWBorderPixmap = _openbox.CWBorderPixmap
1219 CWBorderPixel = _openbox.CWBorderPixel
1220 CWBitGravity = _openbox.CWBitGravity
1221 CWWinGravity = _openbox.CWWinGravity
1222 CWBackingStore = _openbox.CWBackingStore
1223 CWBackingPlanes = _openbox.CWBackingPlanes
1224 CWBackingPixel = _openbox.CWBackingPixel
1225 CWOverrideRedirect = _openbox.CWOverrideRedirect
1226 CWSaveUnder = _openbox.CWSaveUnder
1227 CWEventMask = _openbox.CWEventMask
1228 CWDontPropagate = _openbox.CWDontPropagate
1229 CWColormap = _openbox.CWColormap
1230 CWCursor = _openbox.CWCursor
1231 CWX = _openbox.CWX
1232 CWY = _openbox.CWY
1233 CWWidth = _openbox.CWWidth
1234 CWHeight = _openbox.CWHeight
1235 CWBorderWidth = _openbox.CWBorderWidth
1236 CWSibling = _openbox.CWSibling
1237 CWStackMode = _openbox.CWStackMode
1238 ForgetGravity = _openbox.ForgetGravity
1239 NorthWestGravity = _openbox.NorthWestGravity
1240 NorthGravity = _openbox.NorthGravity
1241 NorthEastGravity = _openbox.NorthEastGravity
1242 WestGravity = _openbox.WestGravity
1243 CenterGravity = _openbox.CenterGravity
1244 EastGravity = _openbox.EastGravity
1245 SouthWestGravity = _openbox.SouthWestGravity
1246 SouthGravity = _openbox.SouthGravity
1247 SouthEastGravity = _openbox.SouthEastGravity
1248 StaticGravity = _openbox.StaticGravity
1249 UnmapGravity = _openbox.UnmapGravity
1250 NotUseful = _openbox.NotUseful
1251 WhenMapped = _openbox.WhenMapped
1252 Always = _openbox.Always
1253 IsUnmapped = _openbox.IsUnmapped
1254 IsUnviewable = _openbox.IsUnviewable
1255 IsViewable = _openbox.IsViewable
1256 SetModeInsert = _openbox.SetModeInsert
1257 SetModeDelete = _openbox.SetModeDelete
1258 DestroyAll = _openbox.DestroyAll
1259 RetainPermanent = _openbox.RetainPermanent
1260 RetainTemporary = _openbox.RetainTemporary
1261 Above = _openbox.Above
1262 Below = _openbox.Below
1263 TopIf = _openbox.TopIf
1264 BottomIf = _openbox.BottomIf
1265 Opposite = _openbox.Opposite
1266 RaiseLowest = _openbox.RaiseLowest
1267 LowerHighest = _openbox.LowerHighest
1268 PropModeReplace = _openbox.PropModeReplace
1269 PropModePrepend = _openbox.PropModePrepend
1270 PropModeAppend = _openbox.PropModeAppend
1271 GXclear = _openbox.GXclear
1272 GXand = _openbox.GXand
1273 GXandReverse = _openbox.GXandReverse
1274 GXcopy = _openbox.GXcopy
1275 GXandInverted = _openbox.GXandInverted
1276 GXnoop = _openbox.GXnoop
1277 GXxor = _openbox.GXxor
1278 GXor = _openbox.GXor
1279 GXnor = _openbox.GXnor
1280 GXequiv = _openbox.GXequiv
1281 GXinvert = _openbox.GXinvert
1282 GXorReverse = _openbox.GXorReverse
1283 GXcopyInverted = _openbox.GXcopyInverted
1284 GXorInverted = _openbox.GXorInverted
1285 GXnand = _openbox.GXnand
1286 GXset = _openbox.GXset
1287 LineSolid = _openbox.LineSolid
1288 LineOnOffDash = _openbox.LineOnOffDash
1289 LineDoubleDash = _openbox.LineDoubleDash
1290 CapNotLast = _openbox.CapNotLast
1291 CapButt = _openbox.CapButt
1292 CapRound = _openbox.CapRound
1293 CapProjecting = _openbox.CapProjecting
1294 JoinMiter = _openbox.JoinMiter
1295 JoinRound = _openbox.JoinRound
1296 JoinBevel = _openbox.JoinBevel
1297 FillSolid = _openbox.FillSolid
1298 FillTiled = _openbox.FillTiled
1299 FillStippled = _openbox.FillStippled
1300 FillOpaqueStippled = _openbox.FillOpaqueStippled
1301 EvenOddRule = _openbox.EvenOddRule
1302 WindingRule = _openbox.WindingRule
1303 ClipByChildren = _openbox.ClipByChildren
1304 IncludeInferiors = _openbox.IncludeInferiors
1305 Unsorted = _openbox.Unsorted
1306 YSorted = _openbox.YSorted
1307 YXSorted = _openbox.YXSorted
1308 YXBanded = _openbox.YXBanded
1309 CoordModeOrigin = _openbox.CoordModeOrigin
1310 CoordModePrevious = _openbox.CoordModePrevious
1311 Complex = _openbox.Complex
1312 Nonconvex = _openbox.Nonconvex
1313 Convex = _openbox.Convex
1314 ArcChord = _openbox.ArcChord
1315 ArcPieSlice = _openbox.ArcPieSlice
1316 GCFunction = _openbox.GCFunction
1317 GCPlaneMask = _openbox.GCPlaneMask
1318 GCForeground = _openbox.GCForeground
1319 GCBackground = _openbox.GCBackground
1320 GCLineWidth = _openbox.GCLineWidth
1321 GCLineStyle = _openbox.GCLineStyle
1322 GCCapStyle = _openbox.GCCapStyle
1323 GCJoinStyle = _openbox.GCJoinStyle
1324 GCFillStyle = _openbox.GCFillStyle
1325 GCFillRule = _openbox.GCFillRule
1326 GCTile = _openbox.GCTile
1327 GCStipple = _openbox.GCStipple
1328 GCTileStipXOrigin = _openbox.GCTileStipXOrigin
1329 GCTileStipYOrigin = _openbox.GCTileStipYOrigin
1330 GCFont = _openbox.GCFont
1331 GCSubwindowMode = _openbox.GCSubwindowMode
1332 GCGraphicsExposures = _openbox.GCGraphicsExposures
1333 GCClipXOrigin = _openbox.GCClipXOrigin
1334 GCClipYOrigin = _openbox.GCClipYOrigin
1335 GCClipMask = _openbox.GCClipMask
1336 GCDashOffset = _openbox.GCDashOffset
1337 GCDashList = _openbox.GCDashList
1338 GCArcMode = _openbox.GCArcMode
1339 GCLastBit = _openbox.GCLastBit
1340 FontLeftToRight = _openbox.FontLeftToRight
1341 FontRightToLeft = _openbox.FontRightToLeft
1342 FontChange = _openbox.FontChange
1343 XYBitmap = _openbox.XYBitmap
1344 XYPixmap = _openbox.XYPixmap
1345 ZPixmap = _openbox.ZPixmap
1346 AllocNone = _openbox.AllocNone
1347 AllocAll = _openbox.AllocAll
1348 DoRed = _openbox.DoRed
1349 DoGreen = _openbox.DoGreen
1350 DoBlue = _openbox.DoBlue
1351 CursorShape = _openbox.CursorShape
1352 TileShape = _openbox.TileShape
1353 StippleShape = _openbox.StippleShape
1354 AutoRepeatModeOff = _openbox.AutoRepeatModeOff
1355 AutoRepeatModeOn = _openbox.AutoRepeatModeOn
1356 AutoRepeatModeDefault = _openbox.AutoRepeatModeDefault
1357 LedModeOff = _openbox.LedModeOff
1358 LedModeOn = _openbox.LedModeOn
1359 KBKeyClickPercent = _openbox.KBKeyClickPercent
1360 KBBellPercent = _openbox.KBBellPercent
1361 KBBellPitch = _openbox.KBBellPitch
1362 KBBellDuration = _openbox.KBBellDuration
1363 KBLed = _openbox.KBLed
1364 KBLedMode = _openbox.KBLedMode
1365 KBKey = _openbox.KBKey
1366 KBAutoRepeatMode = _openbox.KBAutoRepeatMode
1367 MappingSuccess = _openbox.MappingSuccess
1368 MappingBusy = _openbox.MappingBusy
1369 MappingFailed = _openbox.MappingFailed
1370 MappingModifier = _openbox.MappingModifier
1371 MappingKeyboard = _openbox.MappingKeyboard
1372 MappingPointer = _openbox.MappingPointer
1373 DontPreferBlanking = _openbox.DontPreferBlanking
1374 PreferBlanking = _openbox.PreferBlanking
1375 DefaultBlanking = _openbox.DefaultBlanking
1376 DisableScreenSaver = _openbox.DisableScreenSaver
1377 DisableScreenInterval = _openbox.DisableScreenInterval
1378 DontAllowExposures = _openbox.DontAllowExposures
1379 AllowExposures = _openbox.AllowExposures
1380 DefaultExposures = _openbox.DefaultExposures
1381 ScreenSaverReset = _openbox.ScreenSaverReset
1382 ScreenSaverActive = _openbox.ScreenSaverActive
1383 HostInsert = _openbox.HostInsert
1384 HostDelete = _openbox.HostDelete
1385 EnableAccess = _openbox.EnableAccess
1386 DisableAccess = _openbox.DisableAccess
1387 StaticGray = _openbox.StaticGray
1388 GrayScale = _openbox.GrayScale
1389 StaticColor = _openbox.StaticColor
1390 PseudoColor = _openbox.PseudoColor
1391 TrueColor = _openbox.TrueColor
1392 DirectColor = _openbox.DirectColor
1393 LSBFirst = _openbox.LSBFirst
1394 MSBFirst = _openbox.MSBFirst
1395