예제 #1
0
 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)
예제 #2
0
파일: Avatar.py 프로젝트: AmiZya/emesene
    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
예제 #3
0
    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
예제 #4
0
파일: Avatar.py 프로젝트: Stiveknx/emesene
 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)
예제 #5
0
    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')
예제 #6
0
    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')
예제 #7
0
    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")
예제 #8
0
파일: Avatar.py 프로젝트: EdLirium/emesene
 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)