Special ScreenKit Styles¶
Not all ScreenKit elements can be easily inherited via the style prefix. To accommodate for this, ScreenKit also includes some special styles that must be applied to an interface element specifically.
The following styles apply to text buttons (
textbutton). These styles can also be used as a style prefix when in a
hbox or a
vbox. For example, both are acceptable:
textbutton "Continue" action NullAction(): style "ASInterfacePushButton" hbox: style_prefix "ASInterfacePushButton" textbutton "Cancel" action NullAction() textbutton "Continue" action NullAction()
The base style for a push button.
The base style for a checkbox.
The base style for a radio button.
The following styles apply to scrollable areas where a scrollbar is present. Generally, this is called as a style prefix rather than the style itself.
The base style for a scrollable area.
- Used with
- Can be used as a style prefix.