add frame.. wrapper changes.
[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 class Frame(_object):
827     __swig_setmethods__ = {}
828     __setattr__ = lambda self, name, value: _swig_setattr(self, Frame, name, value)
829     __swig_getmethods__ = {}
830     __getattr__ = lambda self, name: _swig_getattr(self, Frame, name)
831     event_mask = _openbox.Frame_event_mask
832     def __init__(self,*args):
833         self.this = apply(_openbox.new_Frame,args)
834         self.thisown = 1
835     def __del__(self, destroy= _openbox.delete_Frame):
836         try:
837             if self.thisown: destroy(self)
838         except: pass
839     def size(*args): return apply(_openbox.Frame_size,args)
840     def setStyle(*args): return apply(_openbox.Frame_setStyle,args)
841     def adjust(*args): return apply(_openbox.Frame_adjust,args)
842     def focus(*args): return apply(_openbox.Frame_focus,args)
843     def unfocus(*args): return apply(_openbox.Frame_unfocus,args)
844     def setTitle(*args): return apply(_openbox.Frame_setTitle,args)
845     def grabClient(*args): return apply(_openbox.Frame_grabClient,args)
846     def releaseClient(*args): return apply(_openbox.Frame_releaseClient,args)
847     def adjustSize(*args): return apply(_openbox.Frame_adjustSize,args)
848     def adjustPosition(*args): return apply(_openbox.Frame_adjustPosition,args)
849     def adjustShape(*args): return apply(_openbox.Frame_adjustShape,args)
850     def clientGravity(*args): return apply(_openbox.Frame_clientGravity,args)
851     def frameGravity(*args): return apply(_openbox.Frame_frameGravity,args)
852     def plate(*args): return apply(_openbox.Frame_plate,args)
853     def titlebar(*args): return apply(_openbox.Frame_titlebar,args)
854     def label(*args): return apply(_openbox.Frame_label,args)
855     def button_close(*args): return apply(_openbox.Frame_button_close,args)
856     def button_iconify(*args): return apply(_openbox.Frame_button_iconify,args)
857     def button_max(*args): return apply(_openbox.Frame_button_max,args)
858     def button_stick(*args): return apply(_openbox.Frame_button_stick,args)
859     def handle(*args): return apply(_openbox.Frame_handle,args)
860     def grip_left(*args): return apply(_openbox.Frame_grip_left,args)
861     def grip_right(*args): return apply(_openbox.Frame_grip_right,args)
862     def __repr__(self):
863         return "<C Frame instance at %s>" % (self.this,)
864
865 class FramePtr(Frame):
866     def __init__(self,this):
867         self.this = this
868         if not hasattr(self,"thisown"): self.thisown = 0
869         self.__class__ = Frame
870 _openbox.Frame_swigregister(FramePtr)
871
872 MC_Frame = _openbox.MC_Frame
873 MC_Titlebar = _openbox.MC_Titlebar
874 MC_Handle = _openbox.MC_Handle
875 MC_Window = _openbox.MC_Window
876 MC_MaximizeButton = _openbox.MC_MaximizeButton
877 MC_CloseButton = _openbox.MC_CloseButton
878 MC_IconifyButton = _openbox.MC_IconifyButton
879 MC_StickyButton = _openbox.MC_StickyButton
880 MC_Grip = _openbox.MC_Grip
881 MC_Root = _openbox.MC_Root
882 MC_MenuItem = _openbox.MC_MenuItem
883 NUM_MOUSE_CONTEXT = _openbox.NUM_MOUSE_CONTEXT
884 MousePress = _openbox.MousePress
885 MouseClick = _openbox.MouseClick
886 MouseDoubleClick = _openbox.MouseDoubleClick
887 MouseMotion = _openbox.MouseMotion
888 NUM_MOUSE_ACTION = _openbox.NUM_MOUSE_ACTION
889 KC_Menu = _openbox.KC_Menu
890 KC_All = _openbox.KC_All
891 NUM_KEY_CONTEXT = _openbox.NUM_KEY_CONTEXT
892 EventEnterWindow = _openbox.EventEnterWindow
893 EventLeaveWindow = _openbox.EventLeaveWindow
894 EventPlaceWindow = _openbox.EventPlaceWindow
895 EventNewWindow = _openbox.EventNewWindow
896 EventCloseWindow = _openbox.EventCloseWindow
897 EventStartup = _openbox.EventStartup
898 EventShutdown = _openbox.EventShutdown
899 EventFocus = _openbox.EventFocus
900 EventBell = _openbox.EventBell
901 NUM_EVENTS = _openbox.NUM_EVENTS
902 class MouseData(_object):
903     __swig_setmethods__ = {}
904     __setattr__ = lambda self, name, value: _swig_setattr(self, MouseData, name, value)
905     __swig_getmethods__ = {}
906     __getattr__ = lambda self, name: _swig_getattr(self, MouseData, name)
907     __swig_setmethods__["screen"] = _openbox.MouseData_screen_set
908     __swig_getmethods__["screen"] = _openbox.MouseData_screen_get
909     if _newclass:screen = property(_openbox.MouseData_screen_get,_openbox.MouseData_screen_set)
910     __swig_setmethods__["client"] = _openbox.MouseData_client_set
911     __swig_getmethods__["client"] = _openbox.MouseData_client_get
912     if _newclass:client = property(_openbox.MouseData_client_get,_openbox.MouseData_client_set)
913     __swig_setmethods__["time"] = _openbox.MouseData_time_set
914     __swig_getmethods__["time"] = _openbox.MouseData_time_get
915     if _newclass:time = property(_openbox.MouseData_time_get,_openbox.MouseData_time_set)
916     __swig_setmethods__["state"] = _openbox.MouseData_state_set
917     __swig_getmethods__["state"] = _openbox.MouseData_state_get
918     if _newclass:state = property(_openbox.MouseData_state_get,_openbox.MouseData_state_set)
919     __swig_setmethods__["button"] = _openbox.MouseData_button_set
920     __swig_getmethods__["button"] = _openbox.MouseData_button_get
921     if _newclass:button = property(_openbox.MouseData_button_get,_openbox.MouseData_button_set)
922     __swig_setmethods__["context"] = _openbox.MouseData_context_set
923     __swig_getmethods__["context"] = _openbox.MouseData_context_get
924     if _newclass:context = property(_openbox.MouseData_context_get,_openbox.MouseData_context_set)
925     __swig_setmethods__["action"] = _openbox.MouseData_action_set
926     __swig_getmethods__["action"] = _openbox.MouseData_action_get
927     if _newclass:action = property(_openbox.MouseData_action_get,_openbox.MouseData_action_set)
928     __swig_setmethods__["xroot"] = _openbox.MouseData_xroot_set
929     __swig_getmethods__["xroot"] = _openbox.MouseData_xroot_get
930     if _newclass:xroot = property(_openbox.MouseData_xroot_get,_openbox.MouseData_xroot_set)
931     __swig_setmethods__["yroot"] = _openbox.MouseData_yroot_set
932     __swig_getmethods__["yroot"] = _openbox.MouseData_yroot_get
933     if _newclass:yroot = property(_openbox.MouseData_yroot_get,_openbox.MouseData_yroot_set)
934     __swig_setmethods__["pressx"] = _openbox.MouseData_pressx_set
935     __swig_getmethods__["pressx"] = _openbox.MouseData_pressx_get
936     if _newclass:pressx = property(_openbox.MouseData_pressx_get,_openbox.MouseData_pressx_set)
937     __swig_setmethods__["pressy"] = _openbox.MouseData_pressy_set
938     __swig_getmethods__["pressy"] = _openbox.MouseData_pressy_get
939     if _newclass:pressy = property(_openbox.MouseData_pressy_get,_openbox.MouseData_pressy_set)
940     __swig_setmethods__["press_clientx"] = _openbox.MouseData_press_clientx_set
941     __swig_getmethods__["press_clientx"] = _openbox.MouseData_press_clientx_get
942     if _newclass:press_clientx = property(_openbox.MouseData_press_clientx_get,_openbox.MouseData_press_clientx_set)
943     __swig_setmethods__["press_clienty"] = _openbox.MouseData_press_clienty_set
944     __swig_getmethods__["press_clienty"] = _openbox.MouseData_press_clienty_get
945     if _newclass:press_clienty = property(_openbox.MouseData_press_clienty_get,_openbox.MouseData_press_clienty_set)
946     __swig_setmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_set
947     __swig_getmethods__["press_clientwidth"] = _openbox.MouseData_press_clientwidth_get
948     if _newclass:press_clientwidth = property(_openbox.MouseData_press_clientwidth_get,_openbox.MouseData_press_clientwidth_set)
949     __swig_setmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_set
950     __swig_getmethods__["press_clientheight"] = _openbox.MouseData_press_clientheight_get
951     if _newclass:press_clientheight = property(_openbox.MouseData_press_clientheight_get,_openbox.MouseData_press_clientheight_set)
952     def __init__(self,*args):
953         self.this = apply(_openbox.new_MouseData,args)
954         self.thisown = 1
955     def __repr__(self):
956         return "<C MouseData instance at %s>" % (self.this,)
957
958 class MouseDataPtr(MouseData):
959     def __init__(self,this):
960         self.this = this
961         if not hasattr(self,"thisown"): self.thisown = 0
962         self.__class__ = MouseData
963 _openbox.MouseData_swigregister(MouseDataPtr)
964
965 class EventData(_object):
966     __swig_setmethods__ = {}
967     __setattr__ = lambda self, name, value: _swig_setattr(self, EventData, name, value)
968     __swig_getmethods__ = {}
969     __getattr__ = lambda self, name: _swig_getattr(self, EventData, name)
970     __swig_setmethods__["screen"] = _openbox.EventData_screen_set
971     __swig_getmethods__["screen"] = _openbox.EventData_screen_get
972     if _newclass:screen = property(_openbox.EventData_screen_get,_openbox.EventData_screen_set)
973     __swig_setmethods__["client"] = _openbox.EventData_client_set
974     __swig_getmethods__["client"] = _openbox.EventData_client_get
975     if _newclass:client = property(_openbox.EventData_client_get,_openbox.EventData_client_set)
976     __swig_setmethods__["state"] = _openbox.EventData_state_set
977     __swig_getmethods__["state"] = _openbox.EventData_state_get
978     if _newclass:state = property(_openbox.EventData_state_get,_openbox.EventData_state_set)
979     __swig_setmethods__["action"] = _openbox.EventData_action_set
980     __swig_getmethods__["action"] = _openbox.EventData_action_get
981     if _newclass:action = property(_openbox.EventData_action_get,_openbox.EventData_action_set)
982     def __init__(self,*args):
983         self.this = apply(_openbox.new_EventData,args)
984         self.thisown = 1
985     def __repr__(self):
986         return "<C EventData instance at %s>" % (self.this,)
987
988 class EventDataPtr(EventData):
989     def __init__(self,this):
990         self.this = this
991         if not hasattr(self,"thisown"): self.thisown = 0
992         self.__class__ = EventData
993 _openbox.EventData_swigregister(EventDataPtr)
994
995 class KeyData(_object):
996     __swig_setmethods__ = {}
997     __setattr__ = lambda self, name, value: _swig_setattr(self, KeyData, name, value)
998     __swig_getmethods__ = {}
999     __getattr__ = lambda self, name: _swig_getattr(self, KeyData, name)
1000     __swig_setmethods__["screen"] = _openbox.KeyData_screen_set
1001     __swig_getmethods__["screen"] = _openbox.KeyData_screen_get
1002     if _newclass:screen = property(_openbox.KeyData_screen_get,_openbox.KeyData_screen_set)
1003     __swig_setmethods__["client"] = _openbox.KeyData_client_set
1004     __swig_getmethods__["client"] = _openbox.KeyData_client_get
1005     if _newclass:client = property(_openbox.KeyData_client_get,_openbox.KeyData_client_set)
1006     __swig_setmethods__["time"] = _openbox.KeyData_time_set
1007     __swig_getmethods__["time"] = _openbox.KeyData_time_get
1008     if _newclass:time = property(_openbox.KeyData_time_get,_openbox.KeyData_time_set)
1009     __swig_setmethods__["state"] = _openbox.KeyData_state_set
1010     __swig_getmethods__["state"] = _openbox.KeyData_state_get
1011     if _newclass:state = property(_openbox.KeyData_state_get,_openbox.KeyData_state_set)
1012     __swig_setmethods__["key"] = _openbox.KeyData_key_set
1013     __swig_getmethods__["key"] = _openbox.KeyData_key_get
1014     if _newclass:key = property(_openbox.KeyData_key_get,_openbox.KeyData_key_set)
1015     def __init__(self,*args):
1016         self.this = apply(_openbox.new_KeyData,args)
1017         self.thisown = 1
1018     def __repr__(self):
1019         return "<C KeyData instance at %s>" % (self.this,)
1020
1021 class KeyDataPtr(KeyData):
1022     def __init__(self,this):
1023         self.this = this
1024         if not hasattr(self,"thisown"): self.thisown = 0
1025         self.__class__ = KeyData
1026 _openbox.KeyData_swigregister(KeyDataPtr)
1027
1028 mbind = _openbox.mbind
1029
1030 kbind = _openbox.kbind
1031
1032 ebind = _openbox.ebind
1033
1034 set_reset_key = _openbox.set_reset_key
1035
1036 send_client_msg = _openbox.send_client_msg
1037
1038 X_PROTOCOL = _openbox.X_PROTOCOL
1039 X_PROTOCOL_REVISION = _openbox.X_PROTOCOL_REVISION
1040 None = _openbox.None
1041 ParentRelative = _openbox.ParentRelative
1042 CopyFromParent = _openbox.CopyFromParent
1043 PointerWindow = _openbox.PointerWindow
1044 InputFocus = _openbox.InputFocus
1045 PointerRoot = _openbox.PointerRoot
1046 AnyPropertyType = _openbox.AnyPropertyType
1047 AnyKey = _openbox.AnyKey
1048 AnyButton = _openbox.AnyButton
1049 AllTemporary = _openbox.AllTemporary
1050 CurrentTime = _openbox.CurrentTime
1051 NoSymbol = _openbox.NoSymbol
1052 NoEventMask = _openbox.NoEventMask
1053 KeyPressMask = _openbox.KeyPressMask
1054 KeyReleaseMask = _openbox.KeyReleaseMask
1055 ButtonPressMask = _openbox.ButtonPressMask
1056 ButtonReleaseMask = _openbox.ButtonReleaseMask
1057 EnterWindowMask = _openbox.EnterWindowMask
1058 LeaveWindowMask = _openbox.LeaveWindowMask
1059 PointerMotionMask = _openbox.PointerMotionMask
1060 PointerMotionHintMask = _openbox.PointerMotionHintMask
1061 Button1MotionMask = _openbox.Button1MotionMask
1062 Button2MotionMask = _openbox.Button2MotionMask
1063 Button3MotionMask = _openbox.Button3MotionMask
1064 Button4MotionMask = _openbox.Button4MotionMask
1065 Button5MotionMask = _openbox.Button5MotionMask
1066 ButtonMotionMask = _openbox.ButtonMotionMask
1067 KeymapStateMask = _openbox.KeymapStateMask
1068 ExposureMask = _openbox.ExposureMask
1069 VisibilityChangeMask = _openbox.VisibilityChangeMask
1070 StructureNotifyMask = _openbox.StructureNotifyMask
1071 ResizeRedirectMask = _openbox.ResizeRedirectMask
1072 SubstructureNotifyMask = _openbox.SubstructureNotifyMask
1073 SubstructureRedirectMask = _openbox.SubstructureRedirectMask
1074 FocusChangeMask = _openbox.FocusChangeMask
1075 PropertyChangeMask = _openbox.PropertyChangeMask
1076 ColormapChangeMask = _openbox.ColormapChangeMask
1077 OwnerGrabButtonMask = _openbox.OwnerGrabButtonMask
1078 KeyPress = _openbox.KeyPress
1079 KeyRelease = _openbox.KeyRelease
1080 ButtonPress = _openbox.ButtonPress
1081 ButtonRelease = _openbox.ButtonRelease
1082 MotionNotify = _openbox.MotionNotify
1083 EnterNotify = _openbox.EnterNotify
1084 LeaveNotify = _openbox.LeaveNotify
1085 FocusIn = _openbox.FocusIn
1086 FocusOut = _openbox.FocusOut
1087 KeymapNotify = _openbox.KeymapNotify
1088 Expose = _openbox.Expose
1089 GraphicsExpose = _openbox.GraphicsExpose
1090 NoExpose = _openbox.NoExpose
1091 VisibilityNotify = _openbox.VisibilityNotify
1092 CreateNotify = _openbox.CreateNotify
1093 DestroyNotify = _openbox.DestroyNotify
1094 UnmapNotify = _openbox.UnmapNotify
1095 MapNotify = _openbox.MapNotify
1096 MapRequest = _openbox.MapRequest
1097 ReparentNotify = _openbox.ReparentNotify
1098 ConfigureNotify = _openbox.ConfigureNotify
1099 ConfigureRequest = _openbox.ConfigureRequest
1100 GravityNotify = _openbox.GravityNotify
1101 ResizeRequest = _openbox.ResizeRequest
1102 CirculateNotify = _openbox.CirculateNotify
1103 CirculateRequest = _openbox.CirculateRequest
1104 PropertyNotify = _openbox.PropertyNotify
1105 SelectionClear = _openbox.SelectionClear
1106 SelectionRequest = _openbox.SelectionRequest
1107 SelectionNotify = _openbox.SelectionNotify
1108 ColormapNotify = _openbox.ColormapNotify
1109 ClientMessage = _openbox.ClientMessage
1110 MappingNotify = _openbox.MappingNotify
1111 LASTEvent = _openbox.LASTEvent
1112 ShiftMask = _openbox.ShiftMask
1113 LockMask = _openbox.LockMask
1114 ControlMask = _openbox.ControlMask
1115 Mod1Mask = _openbox.Mod1Mask
1116 Mod2Mask = _openbox.Mod2Mask
1117 Mod3Mask = _openbox.Mod3Mask
1118 Mod4Mask = _openbox.Mod4Mask
1119 Mod5Mask = _openbox.Mod5Mask
1120 ShiftMapIndex = _openbox.ShiftMapIndex
1121 LockMapIndex = _openbox.LockMapIndex
1122 ControlMapIndex = _openbox.ControlMapIndex
1123 Mod1MapIndex = _openbox.Mod1MapIndex
1124 Mod2MapIndex = _openbox.Mod2MapIndex
1125 Mod3MapIndex = _openbox.Mod3MapIndex
1126 Mod4MapIndex = _openbox.Mod4MapIndex
1127 Mod5MapIndex = _openbox.Mod5MapIndex
1128 Button1Mask = _openbox.Button1Mask
1129 Button2Mask = _openbox.Button2Mask
1130 Button3Mask = _openbox.Button3Mask
1131 Button4Mask = _openbox.Button4Mask
1132 Button5Mask = _openbox.Button5Mask
1133 AnyModifier = _openbox.AnyModifier
1134 Button1 = _openbox.Button1
1135 Button2 = _openbox.Button2
1136 Button3 = _openbox.Button3
1137 Button4 = _openbox.Button4
1138 Button5 = _openbox.Button5
1139 NotifyNormal = _openbox.NotifyNormal
1140 NotifyGrab = _openbox.NotifyGrab
1141 NotifyUngrab = _openbox.NotifyUngrab
1142 NotifyWhileGrabbed = _openbox.NotifyWhileGrabbed
1143 NotifyHint = _openbox.NotifyHint
1144 NotifyAncestor = _openbox.NotifyAncestor
1145 NotifyVirtual = _openbox.NotifyVirtual
1146 NotifyInferior = _openbox.NotifyInferior
1147 NotifyNonlinear = _openbox.NotifyNonlinear
1148 NotifyNonlinearVirtual = _openbox.NotifyNonlinearVirtual
1149 NotifyPointer = _openbox.NotifyPointer
1150 NotifyPointerRoot = _openbox.NotifyPointerRoot
1151 NotifyDetailNone = _openbox.NotifyDetailNone
1152 VisibilityUnobscured = _openbox.VisibilityUnobscured
1153 VisibilityPartiallyObscured = _openbox.VisibilityPartiallyObscured
1154 VisibilityFullyObscured = _openbox.VisibilityFullyObscured
1155 PlaceOnTop = _openbox.PlaceOnTop
1156 PlaceOnBottom = _openbox.PlaceOnBottom
1157 FamilyInternet = _openbox.FamilyInternet
1158 FamilyDECnet = _openbox.FamilyDECnet
1159 FamilyChaos = _openbox.FamilyChaos
1160 PropertyNewValue = _openbox.PropertyNewValue
1161 PropertyDelete = _openbox.PropertyDelete
1162 ColormapUninstalled = _openbox.ColormapUninstalled
1163 ColormapInstalled = _openbox.ColormapInstalled
1164 GrabModeSync = _openbox.GrabModeSync
1165 GrabModeAsync = _openbox.GrabModeAsync
1166 GrabSuccess = _openbox.GrabSuccess
1167 AlreadyGrabbed = _openbox.AlreadyGrabbed
1168 GrabInvalidTime = _openbox.GrabInvalidTime
1169 GrabNotViewable = _openbox.GrabNotViewable
1170 GrabFrozen = _openbox.GrabFrozen
1171 AsyncPointer = _openbox.AsyncPointer
1172 SyncPointer = _openbox.SyncPointer
1173 ReplayPointer = _openbox.ReplayPointer
1174 AsyncKeyboard = _openbox.AsyncKeyboard
1175 SyncKeyboard = _openbox.SyncKeyboard
1176 ReplayKeyboard = _openbox.ReplayKeyboard
1177 AsyncBoth = _openbox.AsyncBoth
1178 SyncBoth = _openbox.SyncBoth
1179 RevertToParent = _openbox.RevertToParent
1180 Success = _openbox.Success
1181 BadRequest = _openbox.BadRequest
1182 BadValue = _openbox.BadValue
1183 BadWindow = _openbox.BadWindow
1184 BadPixmap = _openbox.BadPixmap
1185 BadAtom = _openbox.BadAtom
1186 BadCursor = _openbox.BadCursor
1187 BadFont = _openbox.BadFont
1188 BadMatch = _openbox.BadMatch
1189 BadDrawable = _openbox.BadDrawable
1190 BadAccess = _openbox.BadAccess
1191 BadAlloc = _openbox.BadAlloc
1192 BadColor = _openbox.BadColor
1193 BadGC = _openbox.BadGC
1194 BadIDChoice = _openbox.BadIDChoice
1195 BadName = _openbox.BadName
1196 BadLength = _openbox.BadLength
1197 BadImplementation = _openbox.BadImplementation
1198 FirstExtensionError = _openbox.FirstExtensionError
1199 LastExtensionError = _openbox.LastExtensionError
1200 InputOutput = _openbox.InputOutput
1201 InputOnly = _openbox.InputOnly
1202 CWBackPixmap = _openbox.CWBackPixmap
1203 CWBackPixel = _openbox.CWBackPixel
1204 CWBorderPixmap = _openbox.CWBorderPixmap
1205 CWBorderPixel = _openbox.CWBorderPixel
1206 CWBitGravity = _openbox.CWBitGravity
1207 CWWinGravity = _openbox.CWWinGravity
1208 CWBackingStore = _openbox.CWBackingStore
1209 CWBackingPlanes = _openbox.CWBackingPlanes
1210 CWBackingPixel = _openbox.CWBackingPixel
1211 CWOverrideRedirect = _openbox.CWOverrideRedirect
1212 CWSaveUnder = _openbox.CWSaveUnder
1213 CWEventMask = _openbox.CWEventMask
1214 CWDontPropagate = _openbox.CWDontPropagate
1215 CWColormap = _openbox.CWColormap
1216 CWCursor = _openbox.CWCursor
1217 CWX = _openbox.CWX
1218 CWY = _openbox.CWY
1219 CWWidth = _openbox.CWWidth
1220 CWHeight = _openbox.CWHeight
1221 CWBorderWidth = _openbox.CWBorderWidth
1222 CWSibling = _openbox.CWSibling
1223 CWStackMode = _openbox.CWStackMode
1224 ForgetGravity = _openbox.ForgetGravity
1225 NorthWestGravity = _openbox.NorthWestGravity
1226 NorthGravity = _openbox.NorthGravity
1227 NorthEastGravity = _openbox.NorthEastGravity
1228 WestGravity = _openbox.WestGravity
1229 CenterGravity = _openbox.CenterGravity
1230 EastGravity = _openbox.EastGravity
1231 SouthWestGravity = _openbox.SouthWestGravity
1232 SouthGravity = _openbox.SouthGravity
1233 SouthEastGravity = _openbox.SouthEastGravity
1234 StaticGravity = _openbox.StaticGravity
1235 UnmapGravity = _openbox.UnmapGravity
1236 NotUseful = _openbox.NotUseful
1237 WhenMapped = _openbox.WhenMapped
1238 Always = _openbox.Always
1239 IsUnmapped = _openbox.IsUnmapped
1240 IsUnviewable = _openbox.IsUnviewable
1241 IsViewable = _openbox.IsViewable
1242 SetModeInsert = _openbox.SetModeInsert
1243 SetModeDelete = _openbox.SetModeDelete
1244 DestroyAll = _openbox.DestroyAll
1245 RetainPermanent = _openbox.RetainPermanent
1246 RetainTemporary = _openbox.RetainTemporary
1247 Above = _openbox.Above
1248 Below = _openbox.Below
1249 TopIf = _openbox.TopIf
1250 BottomIf = _openbox.BottomIf
1251 Opposite = _openbox.Opposite
1252 RaiseLowest = _openbox.RaiseLowest
1253 LowerHighest = _openbox.LowerHighest
1254 PropModeReplace = _openbox.PropModeReplace
1255 PropModePrepend = _openbox.PropModePrepend
1256 PropModeAppend = _openbox.PropModeAppend
1257 GXclear = _openbox.GXclear
1258 GXand = _openbox.GXand
1259 GXandReverse = _openbox.GXandReverse
1260 GXcopy = _openbox.GXcopy
1261 GXandInverted = _openbox.GXandInverted
1262 GXnoop = _openbox.GXnoop
1263 GXxor = _openbox.GXxor
1264 GXor = _openbox.GXor
1265 GXnor = _openbox.GXnor
1266 GXequiv = _openbox.GXequiv
1267 GXinvert = _openbox.GXinvert
1268 GXorReverse = _openbox.GXorReverse
1269 GXcopyInverted = _openbox.GXcopyInverted
1270 GXorInverted = _openbox.GXorInverted
1271 GXnand = _openbox.GXnand
1272 GXset = _openbox.GXset
1273 LineSolid = _openbox.LineSolid
1274 LineOnOffDash = _openbox.LineOnOffDash
1275 LineDoubleDash = _openbox.LineDoubleDash
1276 CapNotLast = _openbox.CapNotLast
1277 CapButt = _openbox.CapButt
1278 CapRound = _openbox.CapRound
1279 CapProjecting = _openbox.CapProjecting
1280 JoinMiter = _openbox.JoinMiter
1281 JoinRound = _openbox.JoinRound
1282 JoinBevel = _openbox.JoinBevel
1283 FillSolid = _openbox.FillSolid
1284 FillTiled = _openbox.FillTiled
1285 FillStippled = _openbox.FillStippled
1286 FillOpaqueStippled = _openbox.FillOpaqueStippled
1287 EvenOddRule = _openbox.EvenOddRule
1288 WindingRule = _openbox.WindingRule
1289 ClipByChildren = _openbox.ClipByChildren
1290 IncludeInferiors = _openbox.IncludeInferiors
1291 Unsorted = _openbox.Unsorted
1292 YSorted = _openbox.YSorted
1293 YXSorted = _openbox.YXSorted
1294 YXBanded = _openbox.YXBanded
1295 CoordModeOrigin = _openbox.CoordModeOrigin
1296 CoordModePrevious = _openbox.CoordModePrevious
1297 Complex = _openbox.Complex
1298 Nonconvex = _openbox.Nonconvex
1299 Convex = _openbox.Convex
1300 ArcChord = _openbox.ArcChord
1301 ArcPieSlice = _openbox.ArcPieSlice
1302 GCFunction = _openbox.GCFunction
1303 GCPlaneMask = _openbox.GCPlaneMask
1304 GCForeground = _openbox.GCForeground
1305 GCBackground = _openbox.GCBackground
1306 GCLineWidth = _openbox.GCLineWidth
1307 GCLineStyle = _openbox.GCLineStyle
1308 GCCapStyle = _openbox.GCCapStyle
1309 GCJoinStyle = _openbox.GCJoinStyle
1310 GCFillStyle = _openbox.GCFillStyle
1311 GCFillRule = _openbox.GCFillRule
1312 GCTile = _openbox.GCTile
1313 GCStipple = _openbox.GCStipple
1314 GCTileStipXOrigin = _openbox.GCTileStipXOrigin
1315 GCTileStipYOrigin = _openbox.GCTileStipYOrigin
1316 GCFont = _openbox.GCFont
1317 GCSubwindowMode = _openbox.GCSubwindowMode
1318 GCGraphicsExposures = _openbox.GCGraphicsExposures
1319 GCClipXOrigin = _openbox.GCClipXOrigin
1320 GCClipYOrigin = _openbox.GCClipYOrigin
1321 GCClipMask = _openbox.GCClipMask
1322 GCDashOffset = _openbox.GCDashOffset
1323 GCDashList = _openbox.GCDashList
1324 GCArcMode = _openbox.GCArcMode
1325 GCLastBit = _openbox.GCLastBit
1326 FontLeftToRight = _openbox.FontLeftToRight
1327 FontRightToLeft = _openbox.FontRightToLeft
1328 FontChange = _openbox.FontChange
1329 XYBitmap = _openbox.XYBitmap
1330 XYPixmap = _openbox.XYPixmap
1331 ZPixmap = _openbox.ZPixmap
1332 AllocNone = _openbox.AllocNone
1333 AllocAll = _openbox.AllocAll
1334 DoRed = _openbox.DoRed
1335 DoGreen = _openbox.DoGreen
1336 DoBlue = _openbox.DoBlue
1337 CursorShape = _openbox.CursorShape
1338 TileShape = _openbox.TileShape
1339 StippleShape = _openbox.StippleShape
1340 AutoRepeatModeOff = _openbox.AutoRepeatModeOff
1341 AutoRepeatModeOn = _openbox.AutoRepeatModeOn
1342 AutoRepeatModeDefault = _openbox.AutoRepeatModeDefault
1343 LedModeOff = _openbox.LedModeOff
1344 LedModeOn = _openbox.LedModeOn
1345 KBKeyClickPercent = _openbox.KBKeyClickPercent
1346 KBBellPercent = _openbox.KBBellPercent
1347 KBBellPitch = _openbox.KBBellPitch
1348 KBBellDuration = _openbox.KBBellDuration
1349 KBLed = _openbox.KBLed
1350 KBLedMode = _openbox.KBLedMode
1351 KBKey = _openbox.KBKey
1352 KBAutoRepeatMode = _openbox.KBAutoRepeatMode
1353 MappingSuccess = _openbox.MappingSuccess
1354 MappingBusy = _openbox.MappingBusy
1355 MappingFailed = _openbox.MappingFailed
1356 MappingModifier = _openbox.MappingModifier
1357 MappingKeyboard = _openbox.MappingKeyboard
1358 MappingPointer = _openbox.MappingPointer
1359 DontPreferBlanking = _openbox.DontPreferBlanking
1360 PreferBlanking = _openbox.PreferBlanking
1361 DefaultBlanking = _openbox.DefaultBlanking
1362 DisableScreenSaver = _openbox.DisableScreenSaver
1363 DisableScreenInterval = _openbox.DisableScreenInterval
1364 DontAllowExposures = _openbox.DontAllowExposures
1365 AllowExposures = _openbox.AllowExposures
1366 DefaultExposures = _openbox.DefaultExposures
1367 ScreenSaverReset = _openbox.ScreenSaverReset
1368 ScreenSaverActive = _openbox.ScreenSaverActive
1369 HostInsert = _openbox.HostInsert
1370 HostDelete = _openbox.HostDelete
1371 EnableAccess = _openbox.EnableAccess
1372 DisableAccess = _openbox.DisableAccess
1373 StaticGray = _openbox.StaticGray
1374 GrayScale = _openbox.GrayScale
1375 StaticColor = _openbox.StaticColor
1376 PseudoColor = _openbox.PseudoColor
1377 TrueColor = _openbox.TrueColor
1378 DirectColor = _openbox.DirectColor
1379 LSBFirst = _openbox.LSBFirst
1380 MSBFirst = _openbox.MSBFirst
1381