Esempio n. 1
0
 def init_window(self, metadata):
     self._fullscreen = None
     self._iconified = False
     self._resize_counter = 0
     self._window_workspace = self._client_properties.get("workspace")
     self._desktop_workspace = -1
     ClientWindowBase.init_window(self, metadata)
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
Esempio n. 2
0
 def init_window(self, metadata):
     self._fullscreen = None
     self._iconified = False
     self._resize_counter = 0
     self._window_workspace = self._client_properties.get("workspace")
     self._desktop_workspace = -1
     ClientWindowBase.init_window(self, metadata)
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
Esempio n. 3
0
 def init_window(self, metadata):
     self._window_state = {}
     self._maximized = False
     self._iconfified = False
     self._fullscreen = None
     self._resize_counter = 0
     self._window_workspace = self._client_properties.get("workspace", -1)
     workspacelog("init_window(..) workspace=%s", self._window_workspace)
     self._desktop_workspace = -1
     ClientWindowBase.init_window(self, metadata)
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
Esempio n. 4
0
 def init_window(self, metadata):
     self._window_state = {}
     self._maximized = False
     self._iconfified = False
     self._fullscreen = None
     self._resize_counter = 0
     self._window_workspace = self._client_properties.get("workspace", -1)
     workspacelog("init_window(..) workspace=%s", self._window_workspace)
     self._desktop_workspace = -1
     ClientWindowBase.init_window(self, metadata)
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
Esempio n. 5
0
 def init_window(self, metadata):
     self.init_max_window_size(metadata)
     if self._is_popup(metadata):
         window_type = WINDOW_POPUP
     else:
         window_type = WINDOW_TOPLEVEL
     self.do_init_window(window_type)
     self.set_decorated(self._is_decorated(metadata))
     self.set_app_paintable(True)
     self._window_state = {}
     self._resize_counter = 0
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
     self._current_frame_extents = None
     #add platform hooks
     self.on_realize_cb = {}
     self.connect_after("realize", self.on_realize)
     self.connect('unrealize', self.on_unrealize)
     self.add_events(self.WINDOW_EVENT_MASK)
     ClientWindowBase.init_window(self, metadata)
Esempio n. 6
0
 def init_window(self, metadata):
     self._fullscreen = None
     self._iconified = False
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
     ClientWindowBase.init_window(self, metadata)
Esempio n. 7
0
 def init_window(self, metadata):
     QWidget.__init__(self, None)
     ClientWindowBase.init_window(self, metadata)
Esempio n. 8
0
 def init_window(self, metadata):
     self._window_state = {}
     self._resize_counter = 0
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
     ClientWindowBase.init_window(self, metadata)
Esempio n. 9
0
 def init_window(self, metadata):
     QWidget.__init__(self, None)
     ClientWindowBase.init_window(self, metadata)
Esempio n. 10
0
 def init_window(self, metadata):
     self._window_state = {}
     self._resize_counter = 0
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
     ClientWindowBase.init_window(self, metadata)
Esempio n. 11
0
 def init_window(self, metadata):
     self._fullscreen = None
     self._iconified = False
     self._can_set_workspace = HAS_X11_BINDINGS and CAN_SET_WORKSPACE
     ClientWindowBase.init_window(self, metadata)