dagon
class Window
since 0.1.0-alpha.1linux
- bases
Container
Constructors
new
new(string t, int w, int h)Fields
backend_
IGuiBackend backend_background_
int background_canvas_
Canvas | None canvas_closed_
bool closed_cursorKind_
int cursorKind_focused_
Focusable | None focused_focusPolicy_
IFocusPolicy focusPolicy_fontRegistry_
FontRegistry fontRegistry_frameRequested_
bool frameRequested_handle_
int handle_heightWanted_
int heightWanted_keymap_
Keymap keymap_minH_
int minH_minW_
int minW_nextWindowToken_
int nextWindowToken_overlayFlags_
Array<int> overlayFlags_overlayFocusSaved_
overlayPolicySaved_
Array<IFocusPolicy> overlayPolicySaved_overlays_
Array<IComponent> overlays_pasteBindToken_
int pasteBindToken_pointer_
PointerState pointer_realized_
bool realized_resizableWanted_
bool resizableWanted_theme_
Theme theme_titleWanted_
string titleWanted_widthWanted_
int widthWanted_windowHandlers_
Array<(WindowEvent) => void> windowHandlers_windowTokens_
Array<int> windowTokens_Methods
__dagonFindFocused
__dagonFindFocused() -> Focusable | None__dagonFrameRequested
__dagonFrameRequested() -> bool__dagonHandle
__dagonHandle() -> int__dagonHandleKey
__dagonHandleKey(KeyEvent e, bool isUp) -> void__dagonHandleMouseButton
__dagonHandleMouseButton(MouseEvent e) -> void__dagonHandleMouseMove
__dagonHandleMouseMove(MouseEvent e) -> void__dagonHandleText
__dagonHandleText(TextEvent e) -> void__dagonHandleWheel
__dagonHandleWheel(WheelEvent e) -> void__dagonHandleWindowEvent
__dagonHandleWindowEvent(WindowEvent e) -> void__dagonRecordAndSubmit
__dagonRecordAndSubmit() -> voidcheckNotClosed
checkNotClosed() -> voidclose
close() -> voiddefaultFontFamily
defaultFontFamily() -> stringdefaultFontSize
defaultFontSize() -> intensureRealized
ensureRealized() -> voidfocus
focus(Focusable f) -> voidfocused
focused() -> Focusable | NonehandleOutsidePress
handleOutsidePress() -> voidhide
hide() -> voidinstallDefaultPaste
installDefaultPaste() -> voidkeymap
keymap() -> KeymapminSize
minSize(int w, int h) -> WindowoffWindow
offWindow(int t) -> voidonWindow
onWindow((WindowEvent) => void h) -> intpaintOverlays
paintOverlays(Canvas c) -> voidpopOverlay
popOverlay() -> voidpushOverlay
pushOverlay(IComponent c) -> voidpushOverlay(IComponent c, bool dismissOnOutsidePress, bool inputTransparent) -> voidrequestFrame
requestFrame() -> voidresizable
resizable(bool on = true) -> Windowscale
scale() -> floatsetBackground
setBackground(int rgba) -> voidsetCursor
setCursor(CursorKind k) -> voidshow
show() -> voidsize
size() -> Sizetheme
theme() -> Themetitle
title(string t) -> WindowtopOverlay
topOverlay() -> IComponent | NonetopOverlayInputTransparent
topOverlayInputTransparent() -> boolupdateCursorAndIme
updateCursorAndIme() -> void