def ApplyAttributes(self, attributes): Label.ApplyAttributes(self, attributes) bracket = attributes.bracket cs = uicore.uilib.bracketCurveSet xBinding = trinity.CreateBinding(cs, bracket.renderObject, 'displayX', self.renderObject, 'displayX') yBinding = trinity.CreateBinding(cs, bracket.renderObject, 'displayY', self.renderObject, 'displayY') self.bindings = (xBinding, yBinding) self.left = 0 self.top = -trinity.device.height self.OnMouseUp = bracket.OnMouseUp self.OnMouseDown = bracket.OnMouseDown self.OnMouseEnter = bracket.OnMouseEnter self.OnMouseExit = bracket.OnMouseExit self.OnMouseHover = bracket.OnMouseHover self.OnClick = bracket.OnClick self.GetMenu = bracket.GetMenu
def ApplyAttributes(self, attributes): Label.ApplyAttributes(self, attributes) self.state = uiconst.UI_NORMAL self.func = attributes.func self.bold = True
def ApplyAttributes(self, attributes): ColorThemeMixin.ApplyAttributes(self, attributes) Label.ApplyAttributes(self, attributes)
def ApplyAttributes(self, attributes): UIColorMixin.ApplyAttributes(self, attributes) Label.ApplyAttributes(self, attributes)