def create(self): super().create() self.native.showsBorderOnlyWhileMouseInside = True self.native.bordered = False self.native.buttonType = NSButtonTypeMomentaryPushIn self.native.bezelStyle = NSBezelStyle.Recessed self.native.imagePosition = NSImageLeading self.native.alignment = NSTextAlignment(LEFT) self.native.focusRingType = NSFocusRingTypeNone
def set_alignment(self, value): self.native.alignment = NSTextAlignment(value)
def set_alignment(self, value): self.input.alignment = NSTextAlignment(value)