Module tabs

Consts

ALIGN_LEFT* = 0'i64
ALIGN_CENTER* = 1'i64
ALIGN_RIGHT* = 2'i64
ALIGN_MAX* = 3'i64
CLOSE_BUTTON_SHOW_ACTIVE_ONLY* = 1'i64
CLOSE_BUTTON_SHOW_ALWAYS* = 2'i64
CLOSE_BUTTON_SHOW_NEVER* = 0'i64
CLOSE_BUTTON_MAX* = 3'i64

Procs

proc currentTab*(self: Tabs): int64 {.
gcsafe, locks: 0
.}
proc `currentTab =`*(self: Tabs; val: int64) {.
gcsafe, locks: 0
.}
proc tabCloseDisplayPolicy*(self: Tabs): int64 {.
gcsafe, locks: 0
.}
proc `tabCloseDisplayPolicy =`*(self: Tabs; val: int64) {.
gcsafe, locks: 0
.}
proc getTabCount*(self: Tabs): int64 {.
gcsafe, locks: 0
.}
proc setTabTitle*(self: Tabs; tabIdx: int64; title: string) {.
gcsafe, locks: 0
.}
proc getTabTitle*(self: Tabs; tabIdx: int64): string {.
gcsafe, locks: 0
.}
proc setTabIcon*(self: Tabs; tabIdx: int64; icon: Texture) {.
gcsafe, locks: 0
.}
proc getTabIcon*(self: Tabs; tabIdx: int64): Texture {.
gcsafe, locks: 0
.}
proc setTabDisabled*(self: Tabs; tabIdx: int64; disabled: bool) {.
gcsafe, locks: 0
.}
proc getTabDisabled*(self: Tabs; tabIdx: int64): bool {.
gcsafe, locks: 0
.}
proc removeTab*(self: Tabs; tabIdx: int64) {.
gcsafe, locks: 0
.}
proc addTab*(self: Tabs; title: string = ""; icon: Texture = nil) {.
gcsafe, locks: 0
.}
proc setTabAlign*(self: Tabs; align: int64) {.
gcsafe, locks: 0
.}
proc getTabAlign*(self: Tabs): int64 {.
gcsafe, locks: 0
.}
proc ensureTabVisible*(self: Tabs; idx: int64) {.
gcsafe, locks: 0
.}
proc getTabRect*(self: Tabs; tabIdx: int64): Rect2 {.
gcsafe, locks: 0
.}
proc moveTab*(self: Tabs; fromm: int64; to: int64) {.
gcsafe, locks: 0
.}

Methods

method guiInput*(self: Tabs; event: InputEvent) {.
gcsafe, locks: 0
.}