LEVIATHAN v962456e · 962456eee1

dagon

class Modal

since 0.1.0-alpha.1linux

bases
Container, Focusable, Styleable, Bordered

Constructors

new

new()

Fields

dismissChord_

Chord dismissChord_

dismissHandlers_

Array<() => void> dismissHandlers_

dismissTokens_

Array<int> dismissTokens_

host_

OverlayHost | None host_

open_

bool open_

result_

int result_

resultPromise_

Promise<int> | None resultPromise_

title_

string title_

window_

Window | None window_

Methods

__dagonChildren

__dagonChildren() -> Array<IComponent>

__dagonContentRect

__dagonContentRect() -> Rect

arrange

arrange(Rect assigned) -> void

chrome

chrome() -> Insets

close

close(int code) -> void
close() -> void

contentDesired

contentDesired(Size avail) -> Size

contentRect

contentRect() -> Rect

fireDismiss

fireDismiss() -> void

isOpen

isOpen() -> bool

offDismiss

offDismiss(int t) -> void

onDismiss

onDismiss(() => void h) -> int

open

open(Window win) -> void

paint

paint(Canvas c) -> void

paintChrome

paintChrome(Canvas c) -> void

show

show(Window win) -> Promise<int>

title

title(string t) -> Modal
title() -> string