MainWindow
classin packageklyn.gui.windows
public class MainWindow extends Window:
Main application window.
win = MainWindow("Demo")
win.centralWidget.layout = VBoxLayout(spacing=12)
Properties
| Modifier and Type |
Member |
Description |
| public property |
centralWidget |
No summary. |
| public property |
menuBar |
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 |
MainWindow |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public override |
applyLayout applyLayout() as Void:
|
No summary. |
| public override |
paint |
Paints the main window background and its central widget tree using the
active KSS theme. |
| public override |
relayout relayout() as Void:
|
No summary. |
| public override |
renderrender(painter as Painter) as Void: |
No summary. |
| public override |
setBoundssetBounds(x as Int, y as Int, width as Int, height as Int) as Void: |
No summary. |