def __init__(self, cell_dimension=96, crossfade=True, cell_radius=0.05, cell_key_position=gtk.ANCHOR_CENTER): AvatarManager.__init__(self, cell_dimension, cell_radius, crossfade, cell_key_position) self.set_flags(self.flags() | gtk.NO_WINDOW)
def __init__(self, cell_dimension = 96, crossfade = True, cell_radius = 0.05): gtk.Widget.__init__(self) AvatarManager.__init__(self, cell_dimension, cell_radius, crossfade) if not check_gtk3(): self.set_flags(self.flags() | gtk.NO_WINDOW) else: gtk.Widget.set_has_window(self, False) self.blocked = False
def __init__(self, cell_dimension=96, crossfade=True, cell_radius=0.05): gtk.Widget.__init__(self) AvatarManager.__init__(self, cell_dimension, cell_radius, crossfade) if not check_gtk3(): self.set_flags(self.flags() | gtk.NO_WINDOW) else: gtk.Widget.set_has_window(self, False) self.blocked = False
def __init__(self, cell_dimension = 96, crossfade = True, cell_radius = 0.05, cell_key_position = gtk.gdk.GRAVITY_CENTER): gtk.Widget.__init__(self) AvatarManager.__init__(self, cell_dimension, cell_radius, crossfade, cell_key_position) if not check_gtk3(): self.set_flags(self.flags() | gtk.NO_WINDOW) else: gtk.Widget.set_has_window(self, False)
def __init__(self, cell_dimension = 32, cell_radius = 0.11): self.__gobject_init__() AvatarManager.__init__(self, cell_dimension, cell_radius) #icon source used to render grayed out offline avatar self._icon_source = gtk.IconSource() self._icon_source.set_state(gtk.STATE_INSENSITIVE) self.set_property('xpad', 1) self.set_property('ypad', 1) #set up information of statusTransformation self._set_transformation('corner|gray')
def __init__(self, cell_dimension=32, cell_radius=0.11): GObject.GObject.__init__(self) AvatarManager.__init__(self, cell_dimension, cell_radius) #icon source used to render grayed out offline avatar self._icon_source = Gtk.IconSource() self._icon_source.set_state(Gtk.StateType.INSENSITIVE) self.set_property('xpad', 1) self.set_property('ypad', 1) #set up information of statusTransformation self._set_transformation('corner|gray')
def __init__(self, cell_dimension=32, cell_radius=0.11): GObject.GObject.__init__(self) AvatarManager.__init__(self, cell_dimension, cell_radius) # icon source used to render grayed out offline avatar self._icon_source = Gtk.IconSource() self._icon_source.set_state(Gtk.StateType.INSENSITIVE) self.set_property("xpad", 1) self.set_property("ypad", 1) # set up information of statusTransformation self._set_transformation("corner|gray")
def __init__(self, cell_dimension = 96, crossfade = True, cell_radius = 0.05, cell_key_position = gtk.ANCHOR_CENTER): AvatarManager.__init__(self, cell_dimension, cell_radius, crossfade, cell_key_position) self.set_flags(self.flags() | gtk.NO_WINDOW)