Module tree_item

Consts

CELL_MODE_STRING = 0'i64
CELL_MODE_CHECK = 1'i64
CELL_MODE_RANGE = 2'i64
CELL_MODE_RANGE_EXPRESSION = 3'i64
CELL_MODE_ICON = 4'i64
CELL_MODE_CUSTOM = 5'i64
ALIGN_LEFT = 0'i64
ALIGN_CENTER = 1'i64
ALIGN_RIGHT = 2'i64

Procs

proc collapsed(self: TreeItem): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc collapsed=(self: TreeItem; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc disableFolding(self: TreeItem): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc disableFolding=(self: TreeItem; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customMinimumHeight(self: TreeItem): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc customMinimumHeight=(self: TreeItem; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setCellMode(self: TreeItem; column: int64; mode: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCellMode(self: TreeItem; column: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setChecked(self: TreeItem; column: int64; checked: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isChecked(self: TreeItem; column: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setText(self: TreeItem; column: int64; text: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getText(self: TreeItem; column: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setIcon(self: TreeItem; column: int64; texture: Texture) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getIcon(self: TreeItem; column: int64): Texture {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setIconRegion(self: TreeItem; column: int64; region: Rect2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getIconRegion(self: TreeItem; column: int64): Rect2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setIconMaxWidth(self: TreeItem; column: int64; width: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getIconMaxWidth(self: TreeItem; column: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setRange(self: TreeItem; column: int64; value: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getRange(self: TreeItem; column: int64): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setRangeConfig(self: TreeItem; column: int64; min: float64; max: float64;
                   step: float64; expr: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getRangeConfig(self: TreeItem; column: int64): Dictionary {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setMetadata(self: TreeItem; column: int64; meta: Variant) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getMetadata(self: TreeItem; column: int64): Variant {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setCustomDraw(self: TreeItem; column: int64; objectt: Object; callback: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getNext(self: TreeItem): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getPrev(self: TreeItem): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getParent(self: TreeItem): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getChildren(self: TreeItem): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getNextVisible(self: TreeItem): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getPrevVisible(self: TreeItem): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc removeChild(self: TreeItem; child: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setSelectable(self: TreeItem; column: int64; selectable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isSelectable(self: TreeItem; column: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isSelected(self: TreeItem; column: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc select(self: TreeItem; column: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc deselect(self: TreeItem; column: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setEditable(self: TreeItem; column: int64; enabled: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isEditable(self: TreeItem; column: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setCustomColor(self: TreeItem; column: int64; color: Color) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearCustomColor(self: TreeItem; column: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setCustomBgColor(self: TreeItem; column: int64; color: Color;
                     justOutline: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clearCustomBgColor(self: TreeItem; column: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCustomBgColor(self: TreeItem; column: int64): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setCustomAsButton(self: TreeItem; column: int64; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isCustomSetAsButton(self: TreeItem; column: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addButton(self: TreeItem; column: int64; button: Texture;
              buttonIdx: int64 = -1'i64; disabled: bool = false; tooltip: string = "") {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getButtonCount(self: TreeItem; column: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getButton(self: TreeItem; column: int64; buttonIdx: int64): Texture {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setButton(self: TreeItem; column: int64; buttonIdx: int64; button: Texture) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc eraseButton(self: TreeItem; column: int64; buttonIdx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isButtonDisabled(self: TreeItem; column: int64; buttonIdx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setExpandRight(self: TreeItem; column: int64; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getExpandRight(self: TreeItem; column: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setTooltip(self: TreeItem; column: int64; tooltip: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTooltip(self: TreeItem; column: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setTextAlign(self: TreeItem; column: int64; textAlign: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getTextAlign(self: TreeItem; column: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc moveToTop(self: TreeItem) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc moveToBottom(self: TreeItem) {.
gcsafe, locks: 0, raises: [], tags: []
.}