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