def __init__(self, is_left): gravity = gtk.gdk.GRAVITY_WEST if not is_left: gravity = gtk.gdk.GRAVITY_EAST DockWindow.__init__(self, gravity) self.is_left = is_left
def __init__(self, strut_key): DockWindow.__init__(self, gtk.gdk.GRAVITY_WEST) self.__watcher = None self.__strut_key = strut_key