Module tabs

Consts

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

Procs

proc currentTab(self: Tabs): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc currentTab=(self: Tabs; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc tabAlign(self: Tabs): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc tabAlign=(self: Tabs; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc tabCloseDisplayPolicy(self: Tabs): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc tabCloseDisplayPolicy=(self: Tabs; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc scrollingEnabled(self: Tabs): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc scrollingEnabled=(self: Tabs; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragToRearrangeEnabled(self: Tabs): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dragToRearrangeEnabled=(self: Tabs; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTabCount(self: Tabs): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setTabTitle(self: Tabs; tabIdx: int64; title: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTabTitle(self: Tabs; tabIdx: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setTabIcon(self: Tabs; tabIdx: int64; icon: Texture) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTabIcon(self: Tabs; tabIdx: int64): Texture {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setTabDisabled(self: Tabs; tabIdx: int64; disabled: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTabDisabled(self: Tabs; tabIdx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeTab(self: Tabs; tabIdx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addTab(self: Tabs; title: string = ""; icon: Texture = nil) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTabOffset(self: Tabs): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getOffsetButtonsVisible(self: Tabs): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc ensureTabVisible(self: Tabs; idx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTabRect(self: Tabs; tabIdx: int64): Rect2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc moveTab(self: Tabs; fromm: int64; to: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setTabsRearrangeGroup(self: Tabs; groupId: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTabsRearrangeGroup(self: Tabs): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method guiInput(self: Tabs; event: InputEvent) {.
gcsafe, locks: 0, raises: [], tags: []
.}