Module tree

Consts

SELECT_SINGLE = 0'i64
SELECT_ROW = 1'i64
SELECT_MULTI = 2'i64
DROP_MODE_DISABLED = 0'i64
DROP_MODE_ON_ITEM = 1'i64
DROP_MODE_INBETWEEN = 2'i64

Procs

proc columns(self: Tree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc columns=(self: Tree; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc allowReselect(self: Tree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc allowReselect=(self: Tree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc allowRmbSelect(self: Tree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc allowRmbSelect=(self: Tree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideFolding(self: Tree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideFolding=(self: Tree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideRoot(self: Tree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideRoot=(self: Tree; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dropModeFlags(self: Tree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc dropModeFlags=(self: Tree; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc selectMode(self: Tree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc selectMode=(self: Tree; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clear(self: Tree) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc createItem(self: Tree; parent: Object = nil; idx: int64 = -1'i64): Object {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getRoot(self: Tree): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc setColumnMinWidth(self: Tree; column: int64; minWidth: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setColumnExpand(self: Tree; column: int64; expand: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getColumnWidth(self: Tree; column: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getNextSelected(self: Tree; fromm: Object): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getSelected(self: Tree): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getSelectedColumn(self: Tree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPressedButton(self: Tree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getEdited(self: Tree): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getEditedColumn(self: Tree): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCustomPopupRect(self: Tree): Rect2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemAreaRect(self: Tree; item: Object; column: int64 = -1'i64): Rect2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemAtPosition(self: Tree; position: Vector2): TreeItem {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getColumnAtPosition(self: Tree; position: Vector2): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getDropSectionAtPosition(self: Tree; position: Vector2): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc ensureCursorIsVisible(self: Tree) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setColumnTitlesVisible(self: Tree; visible: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc areColumnTitlesVisible(self: Tree): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setColumnTitle(self: Tree; column: int64; title: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getColumnTitle(self: Tree; column: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getScroll(self: Tree): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method rangeClickTimeout(self: Tree) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method guiInput(self: Tree; event: InputEvent) {.
gcsafe, locks: 0, raises: [], tags: []
.}
method popupSelect(self: Tree; arg0: int64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method textEditorEnter(self: Tree; arg0: string) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method textEditorModalClose(self: Tree) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method valueEditorChanged(self: Tree; arg0: float64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method scrollMoved(self: Tree; arg0: float64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}