def __init__(self): self.screen_number = display_get_default().get_default_screen( ).get_number() self.root_window = get_default_root_window() self.pointer_device = XTestPointerDevice() self.last_mouse_user = None GTKServerBase.__init__(self)
def __init__(self): #TODO: root should be a wrapper for the win32 system metrics bits? #(or even not bother passing root to ShadowServerBase? import gtk.gdk ShadowServerBase.__init__(self, gtk.gdk.get_default_root_window()) GTKServerBase.__init__(self) self.keycodes = {}
def __init__(self): ShadowServerBase.__init__(self, gtk.gdk.get_default_root_window()) GTKServerBase.__init__(self) #for managing the systray self.tray_menu = None self.tray_menu_shown = False self.tray_widget = None self.tray = False self.tray_icon = None
def __init__(self): import gtk.gdk ShadowServerBase.__init__(self, gtk.gdk.get_default_root_window()) GTKServerBase.__init__(self) self.keycodes = {} from xpra.net.bytestreams import set_continue_wait #on win32, we want to wait just a little while, #to prevent servers spinning wildly on non-blocking sockets: set_continue_wait(5)
def __init__(self): #sanity check: image = CG.CGWindowListCreateImage(CG.CGRectInfinite, CG.kCGWindowListOptionOnScreenOnly, CG.kCGNullWindowID, CG.kCGWindowImageDefault) if image is None: raise Exception("cannot grab test screenshot - maybe you need to run this command whilst logged in via the UI") ShadowServerBase.__init__(self, gtk.gdk.get_default_root_window()) GTKServerBase.__init__(self)
def __init__(self): from xpra.gtk_common.gtk_util import get_default_root_window ShadowServerBase.__init__(self, get_default_root_window()) GTKServerBase.__init__(self) #for managing the systray self.tray_menu = None self.tray_menu_shown = False self.tray_widget = None self.tray = False self.tray_icon = None
def __init__(self): from xpra.gtk_common.gtk_util import get_default_root_window ShadowServerBase.__init__(self, get_default_root_window()) GTKServerBase.__init__(self) self.session_type = "shadow" self.pointer_position_timer = None #for managing the systray self.tray_menu = None self.tray_menu_shown = False self.tray_widget = None self.tray = False self.tray_icon = None
def __init__(self): self.screen_number = display_get_default().get_default_screen( ).get_number() self.root_window = get_default_root_window() self.pointer_device = XTestPointerDevice() self.touchpad_device = None self.pointer_device_map = {} self.keys_pressed = {} self.last_mouse_user = None self.x11_filter = False GTKServerBase.__init__(self) log("XShape=%s", X11Window.displayHasXShape())
def __init__(self): self.screen_number = Gdk.Screen.get_default().get_number() self.root_window = get_default_root_window() self.pointer_device = XTestPointerDevice() self.touchpad_device = None self.pointer_device_map = {} self.keys_pressed = {} self.last_mouse_user = None self.libfakeXinerama_so = None self.x11_filter = False self.randr_sizes_added = [] GTKServerBase.__init__(self) log("XShape=%s", X11Window.displayHasXShape())
def __init__(self): import gtk.gdk ShadowServerBase.__init__(self, gtk.gdk.get_default_root_window()) GTKServerBase.__init__(self) self.keycodes = {}
def __init__(self): self.screen_number = gdk.display_get_default().get_default_screen( ).get_number() self.root_window = gdk.get_default_root_window() self.last_mouse_user = None GTKServerBase.__init__(self)
def __init__(self, clobber): self.clobber = clobber self.screen_number = gtk.gdk.display_get_default().get_default_screen().get_number() self.root_window = gtk.gdk.get_default_root_window() GTKServerBase.__init__(self)
def __init__(self, clobber): self.clobber = clobber GTKServerBase.__init__(self)
def __init__(self): self.screen_number = gdk.display_get_default().get_default_screen().get_number() self.root_window = gdk.get_default_root_window() self.last_mouse_user = None GTKServerBase.__init__(self)