Button
classin packageklyn.gui.windows
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()
Properties
| Modifier and Type |
Member |
Description |
| public property |
isPrimary |
No summary. |
Properties inherited from Widget: accentColor,
backgroundColor,
borderColor,
bottom,
canFocus,
cornerRadius,
font,
foregroundColor,
hasFocus,
height,
isEnabled,
isHovered,
isManaged,
isVisible,
layoutParams,
margin,
maxHeight,
maxWidth,
minHeight,
minWidth,
parent,
preferredHeight,
preferredWidth,
right,
styleClass,
width,
window,
x,
y
Constructors
| Modifier and Type |
Member |
Description |
| public |
Button |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public override |
paint |
Paints the button using the active KSS style and interaction state. |