Module base_button

Consts

DRAW_NORMAL = 0'i64
DRAW_PRESSED = 1'i64
DRAW_HOVER = 2'i64
DRAW_DISABLED = 3'i64
ACTION_MODE_BUTTON_PRESS = 0'i64
ACTION_MODE_BUTTON_RELEASE = 1'i64

Procs

proc disabled(self: BaseButton): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc disabled=(self: BaseButton; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc toggleMode(self: BaseButton): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc toggleMode=(self: BaseButton; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc actionMode(self: BaseButton): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc actionMode=(self: BaseButton; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc buttonMask(self: BaseButton): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc buttonMask=(self: BaseButton; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc enabledFocusMode(self: BaseButton): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc enabledFocusMode=(self: BaseButton; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc shortcut(self: BaseButton): ShortCut {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc shortcut=(self: BaseButton; val: ShortCut) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc group(self: BaseButton): ButtonGroup {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc group=(self: BaseButton; val: ButtonGroup) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPressed(self: BaseButton; pressed: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isPressed(self: BaseButton): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isHovered(self: BaseButton): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getDrawMode(self: BaseButton): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method pressed(self: BaseButton) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method toggled(self: BaseButton; buttonPressed: bool) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method guiInput(self: BaseButton; event: InputEvent) {.
gcsafe, locks: 0, raises: [], tags: []
.}
method unhandledInput(self: BaseButton; event: InputEvent) {.
gcsafe, locks: 0, raises: [], tags: []
.}