Example #1
0
 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
Example #2
0
 def set_alignment(self, value):
     self.native.alignment = NSTextAlignment(value)
Example #3
0
 def set_alignment(self, value):
     self.input.alignment = NSTextAlignment(value)