LEVIATHAN v962456e · 962456eee1

moby

class Modal

since 0.1.0-alpha.1linux

bases
Container, Focusable, Styleable, Bordered

Constructors

new

new()

Fields

dismissHandlers_

Array<() => void> dismissHandlers_

dismissKey

string dismissKey

dismissTokens_

Array<int> dismissTokens_

host_

open_

bool open_

Methods

__mobyChildren

__mobyChildren() -> Array<IComponent>

__mobyContentRect

__mobyContentRect() -> Rect

arrange

arrange(Rect assigned) -> void

border

border(BorderStyle b) -> Modal

close

close() -> void

contentDesired

contentDesired(Size avail) -> Size

contentRect

contentRect() -> Rect

dismissWith

dismissWith(string chord) -> Modal

fireDismiss

fireDismiss() -> void

isOpen

isOpen() -> bool

offDismiss

offDismiss(int token) -> void

onDismiss

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

open

open() -> void

pad

pad(Insets value) -> Modal

paint

paint(Surface s) -> void

paintBackground

paintBackground(Surface s) -> void

paintChrome

paintChrome(Surface s) -> void

title

title(string t) -> Modal