public class Button extends AbstractButton:
Push button widget.
Buttons expose a painter-based rendering with a modern filled appearance.
button = Button("Save")
button.press()
button.release()| Modifier and Type | Member | Description |
|---|---|---|
| public property | isPrimaryisPrimary as Boolean |
Indicates whether the button should use the accent color. |
| Modifier and Type | Member | Description |
|---|---|---|
| public override | paintpaint(painter as Painter) as Void: |
Paints the button using the active KSS style and interaction state. |