Module control

Search:
Group by:

Consts

ANCHOR_BEGIN* = 0'i64
ANCHOR_END* = 1'i64
ANCHOR_CENTER* = 2'i64
FOCUS_NONE* = 0'i64
FOCUS_CLICK* = 1'i64
FOCUS_ALL* = 2'i64
NOTIFICATION_RESIZED* = 40'i64
NOTIFICATION_MOUSE_ENTER* = 41'i64
NOTIFICATION_MOUSE_EXIT* = 42'i64
NOTIFICATION_FOCUS_ENTER* = 43'i64
NOTIFICATION_FOCUS_EXIT* = 44'i64
NOTIFICATION_THEME_CHANGED* = 45'i64
NOTIFICATION_MODAL_CLOSE* = 46'i64
CURSOR_ARROW* = 0'i64
CURSOR_IBEAM* = 1'i64
CURSOR_POINTING_HAND* = 2'i64
CURSOR_CROSS* = 3'i64
CURSOR_WAIT* = 4'i64
CURSOR_BUSY* = 5'i64
CURSOR_DRAG* = 6'i64
CURSOR_CAN_DROP* = 7'i64
CURSOR_FORBIDDEN* = 8'i64
CURSOR_VSIZE* = 9'i64
CURSOR_HSIZE* = 10'i64
CURSOR_BDIAGSIZE* = 11'i64
CURSOR_FDIAGSIZE* = 12'i64
CURSOR_MOVE* = 13'i64
CURSOR_VSPLIT* = 14'i64
CURSOR_HSPLIT* = 15'i64
CURSOR_HELP* = 16'i64
SIZE_EXPAND* = 2'i64
SIZE_FILL* = 1'i64
SIZE_EXPAND_FILL* = 3'i64
SIZE_SHRINK_CENTER* = 4'i64
SIZE_SHRINK_END* = 8'i64
MOUSE_FILTER_STOP* = 0'i64
MOUSE_FILTER_PASS* = 1'i64
MOUSE_FILTER_IGNORE* = 2'i64
GROW_DIRECTION_BEGIN* = 0'i64
GROW_DIRECTION_END* = 1'i64

Procs

proc anchorLeft*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `anchorLeft =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc anchorTop*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `anchorTop =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc anchorRight*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `anchorRight =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc anchorBottom*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `anchorBottom =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc marginLeft*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `marginLeft =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc marginTop*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `marginTop =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc marginRight*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `marginRight =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc marginBottom*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `marginBottom =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc growHorizontal*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `growHorizontal =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc growVertical*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `growVertical =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc rectPosition*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc `rectPosition =`*(self: Control; val: Vector2) {.
gcsafe, locks: 0
.}
proc rectSize*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc `rectSize =`*(self: Control; val: Vector2) {.
gcsafe, locks: 0
.}
proc rectMinSize*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc `rectMinSize =`*(self: Control; val: Vector2) {.
gcsafe, locks: 0
.}
proc rectRotation*(self: Control): float64 {.
gcsafe, locks: 0
.}
proc `rectRotation =`*(self: Control; val: float64) {.
gcsafe, locks: 0
.}
proc rectScale*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc `rectScale =`*(self: Control; val: Vector2) {.
gcsafe, locks: 0
.}
proc rectPivotOffset*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc `rectPivotOffset =`*(self: Control; val: Vector2) {.
gcsafe, locks: 0
.}
proc rectClipContent*(self: Control): bool {.
gcsafe, locks: 0
.}
proc `rectClipContent =`*(self: Control; val: bool) {.
gcsafe, locks: 0
.}
proc hintTooltip*(self: Control): string {.
gcsafe, locks: 0
.}
proc `hintTooltip =`*(self: Control; val: string) {.
gcsafe, locks: 0
.}
proc focusNeighbourLeft*(self: Control): NodePath {.
gcsafe, locks: 0
.}
proc `focusNeighbourLeft =`*(self: Control; val: NodePath) {.
gcsafe, locks: 0
.}
proc focusNeighbourTop*(self: Control): NodePath {.
gcsafe, locks: 0
.}
proc `focusNeighbourTop =`*(self: Control; val: NodePath) {.
gcsafe, locks: 0
.}
proc focusNeighbourRight*(self: Control): NodePath {.
gcsafe, locks: 0
.}
proc `focusNeighbourRight =`*(self: Control; val: NodePath) {.
gcsafe, locks: 0
.}
proc focusNeighbourBottom*(self: Control): NodePath {.
gcsafe, locks: 0
.}
proc `focusNeighbourBottom =`*(self: Control; val: NodePath) {.
gcsafe, locks: 0
.}
proc mouseFilter*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `mouseFilter =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc sizeFlagsHorizontal*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `sizeFlagsHorizontal =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc sizeFlagsVertical*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc `sizeFlagsVertical =`*(self: Control; val: int64) {.
gcsafe, locks: 0
.}
proc sizeFlagsStretchRatio*(self: Control): float64 {.
gcsafe, locks: 0
.}
proc `sizeFlagsStretchRatio =`*(self: Control; val: float64) {.
gcsafe, locks: 0
.}
proc theme*(self: Control): Theme {.
gcsafe, locks: 0
.}
proc `theme =`*(self: Control; val: Theme) {.
gcsafe, locks: 0
.}
proc acceptEvent*(self: Control) {.
gcsafe, locks: 0
.}
proc getMinimumSizeImpl*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc getCombinedMinimumSize*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc setAnchorImpl*(self: Control; margin: int64; anchorMode: int64;
                   keepMargin: bool = false) {.
gcsafe, locks: 0
.}
proc setAnchorAndMargin*(self: Control; margin: int64; anchorMode: int64;
                        offset: float64) {.
gcsafe, locks: 0
.}
proc setBegin*(self: Control; pos: Vector2) {.
gcsafe, locks: 0
.}
proc setEnd*(self: Control; pos: Vector2) {.
gcsafe, locks: 0
.}
proc setGlobalPosition*(self: Control; pos: Vector2) {.
gcsafe, locks: 0
.}
proc setRotation*(self: Control; radians: float64) {.
gcsafe, locks: 0
.}
proc getBegin*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc getEnd*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc getRotation*(self: Control): float64 {.
gcsafe, locks: 0
.}
proc getParentAreaSize*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc getGlobalPosition*(self: Control): Vector2 {.
gcsafe, locks: 0
.}
proc getRect*(self: Control): Rect2 {.
gcsafe, locks: 0
.}
proc getGlobalRect*(self: Control): Rect2 {.
gcsafe, locks: 0
.}
proc setAreaAsParentRect*(self: Control; margin: int64 = 0'i64) {.
gcsafe, locks: 0
.}
proc showModal*(self: Control; exclusive: bool = false) {.
gcsafe, locks: 0
.}
proc setFocusMode*(self: Control; mode: int64) {.
gcsafe, locks: 0
.}
proc getFocusMode*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc hasFocus*(self: Control): bool {.
gcsafe, locks: 0
.}
proc grabFocus*(self: Control) {.
gcsafe, locks: 0
.}
proc releaseFocus*(self: Control) {.
gcsafe, locks: 0
.}
proc getFocusOwner*(self: Control): Control {.
gcsafe, locks: 0
.}
proc addIconOverride*(self: Control; name: string; texture: Texture) {.
gcsafe, locks: 0
.}
proc addShaderOverride*(self: Control; name: string; shader: Shader) {.
gcsafe, locks: 0
.}
proc addStyleOverride*(self: Control; name: string; stylebox: StyleBox) {.
gcsafe, locks: 0
.}
proc addFontOverride*(self: Control; name: string; font: Font) {.
gcsafe, locks: 0
.}
proc addColorOverride*(self: Control; name: string; color: Color) {.
gcsafe, locks: 0
.}
proc addConstantOverride*(self: Control; name: string; constant: int64) {.
gcsafe, locks: 0
.}
proc getIcon*(self: Control; name: string; typee: string = ""): Texture {.
gcsafe, locks: 0
.}
proc getStylebox*(self: Control; name: string; typee: string = ""): StyleBox {.
gcsafe, locks: 0
.}
proc getFont*(self: Control; name: string; typee: string = ""): Font {.
gcsafe, locks: 0
.}
proc getColor*(self: Control; name: string; typee: string = ""): Color {.
gcsafe, locks: 0
.}
proc getConstant*(self: Control; name: string; typee: string = ""): int64 {.
gcsafe, locks: 0
.}
proc hasIconOverride*(self: Control; name: string): bool {.
gcsafe, locks: 0
.}
proc hasStyleboxOverride*(self: Control; name: string): bool {.
gcsafe, locks: 0
.}
proc hasFontOverride*(self: Control; name: string): bool {.
gcsafe, locks: 0
.}
proc hasColorOverride*(self: Control; name: string): bool {.
gcsafe, locks: 0
.}
proc hasConstantOverride*(self: Control; name: string): bool {.
gcsafe, locks: 0
.}
proc hasIcon*(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0
.}
proc hasStylebox*(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0
.}
proc hasFont*(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0
.}
proc hasColor*(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0
.}
proc hasConstant*(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0
.}
proc getParentControl*(self: Control): Control {.
gcsafe, locks: 0
.}
proc getTooltipImpl*(self: Control; atpos: Vector2 = vec2(0.0, 0.0)): string {.
gcsafe, locks: 0
.}
proc setDefaultCursorShape*(self: Control; shape: int64) {.
gcsafe, locks: 0
.}
proc getDefaultCursorShape*(self: Control): int64 {.
gcsafe, locks: 0
.}
proc getCursorShape*(self: Control; pos: Vector2 = vec2(0.0, 0.0)): int64 {.
gcsafe, locks: 0
.}
proc forceDrag*(self: Control; data: Variant; preview: Control) {.
gcsafe, locks: 0
.}
proc grabClickFocus*(self: Control) {.
gcsafe, locks: 0
.}
proc setDragForwarding*(self: Control; target: Control) {.
gcsafe, locks: 0
.}
proc setDragPreview*(self: Control; control: Control) {.
gcsafe, locks: 0
.}
proc warpMouse*(self: Control; toPos: Vector2) {.
gcsafe, locks: 0
.}
proc minimumSizeChanged*(self: Control) {.
gcsafe, locks: 0
.}

Methods

method guiInput*(self: Control; event: InputEvent) {.
gcsafe, locks: 0, base
.}
method getMinimumSize*(self: Control): Vector2 {.
gcsafe, locks: 0, base
.}
method getDragData*(self: Control; pos: Vector2): Object {.
gcsafe, locks: 0, base
.}
method canDropData*(self: Control; pos: Vector2; data: Variant): bool {.
gcsafe, locks: 0, base
.}
method dropData*(self: Control; pos: Vector2; data: Variant) {.
gcsafe, locks: 0, base
.}
method hasPoint*(self: Control; point: Vector2): bool {.
gcsafe, locks: 0, base
.}
method sizeChanged*(self: Control) {.
gcsafe, locks: 0, base
.}
method updateMinimumSize*(self: Control) {.
gcsafe, locks: 0, base
.}
method setRotationDeg*(self: Control; degrees: float64) {.
gcsafe, locks: 0, base
.}
method getRotationDeg*(self: Control): float64 {.
gcsafe, locks: 0, base
.}
method themeChanged*(self: Control) {.
gcsafe, locks: 0, base
.}
method fontChanged*(self: Control) {.
gcsafe, locks: 0, base
.}