The Control is a View subclass which represents Cocoa’s NSControl.
Parameters: |
|
---|
One of TextAlignment constants. Alignment of the text within the field. Equivalent to [self alignment].
ControlSize constants. One of the 3 Regular, Small and Mini pre-defined control size. Setting this attribute will change the font size and height of the control to pre-defined values (like Interface Bulder does).
Action. The action that is performed on click. Equivalent to [self setTarget:] and [self setAction:].
Formatters. The formatter for this control.