def __init__(self, buddy, theme_hints=[]): hippo.CanvasLink.__init__(self) DataBoundItem.__init__(self, buddy) ThemedWidgetMixin.__init__(self, theme_hints=theme_hints) self.connect("activated", self.__on_activated) self.connect_resource(self.__update) self.__update(self.resource)
def __init__(self): hippo.CanvasBox.__init__(self, box_width=40, xalign=hippo.ALIGNMENT_END, background_color=0x00000001) self.set_clickable(True) ThemedWidgetMixin.__init__(self, theme_hints=['header-text']) self.append(hippo.CanvasText(text=" "))
def __init__(self, themed=False): hippo.CanvasText.__init__(self, color=0x666666ff) ThemedWidgetMixin.__init__(self, theme_hints=(not themed and 'notheme' or [])) self.__buddies = [] self.connect('destroy', self.__on_destroy)
def __init__(self, theme_hints=[], **kwargs): Slideout.__init__(self, **kwargs) ThemedWidgetMixin.__init__(self, theme_hints=theme_hints)