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