Module control

Search:
Group by:

Consts

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
NOTIFICATION_SCROLL_BEGIN = 47'i64
NOTIFICATION_SCROLL_END = 48'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
PRESET_TOP_LEFT = 0'i64
PRESET_TOP_RIGHT = 1'i64
PRESET_BOTTOM_LEFT = 2'i64
PRESET_BOTTOM_RIGHT = 3'i64
PRESET_CENTER_LEFT = 4'i64
PRESET_CENTER_TOP = 5'i64
PRESET_CENTER_RIGHT = 6'i64
PRESET_CENTER_BOTTOM = 7'i64
PRESET_CENTER = 8'i64
PRESET_LEFT_WIDE = 9'i64
PRESET_TOP_WIDE = 10'i64
PRESET_RIGHT_WIDE = 11'i64
PRESET_BOTTOM_WIDE = 12'i64
PRESET_VCENTER_WIDE = 13'i64
PRESET_HCENTER_WIDE = 14'i64
PRESET_WIDE = 15'i64
PRESET_MODE_MINSIZE = 0'i64
PRESET_MODE_KEEP_WIDTH = 1'i64
PRESET_MODE_KEEP_HEIGHT = 2'i64
PRESET_MODE_KEEP_SIZE = 3'i64
SIZE_FILL = 1'i64
SIZE_EXPAND = 2'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
GROW_DIRECTION_BOTH = 2'i64
ANCHOR_BEGIN = 0'i64
ANCHOR_END = 1'i64

Procs

proc anchorLeft(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorLeft=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorTop(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorTop=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorRight(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorRight=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorBottom(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc anchorBottom=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc marginLeft(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc marginLeft=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc marginTop(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc marginTop=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc marginRight(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc marginRight=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc marginBottom(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc marginBottom=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc growHorizontal(self: Control): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc growHorizontal=(self: Control; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc growVertical(self: Control): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc growVertical=(self: Control; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectPosition(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectPosition=(self: Control; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectGlobalPosition(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectGlobalPosition=(self: Control; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectSize(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectSize=(self: Control; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectMinSize(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectMinSize=(self: Control; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectRotation(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectRotation=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectScale(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectScale=(self: Control; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectPivotOffset(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectPivotOffset=(self: Control; val: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectClipContent(self: Control): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc rectClipContent=(self: Control; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hintTooltip(self: Control): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hintTooltip=(self: Control; val: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNeighbourLeft(self: Control): NodePath {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNeighbourLeft=(self: Control; val: NodePath) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNeighbourTop(self: Control): NodePath {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNeighbourTop=(self: Control; val: NodePath) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNeighbourRight(self: Control): NodePath {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNeighbourRight=(self: Control; val: NodePath) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNeighbourBottom(self: Control): NodePath {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNeighbourBottom=(self: Control; val: NodePath) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNext(self: Control): NodePath {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusNext=(self: Control; val: NodePath) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusPrevious(self: Control): NodePath {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusPrevious=(self: Control; val: NodePath) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusMode(self: Control): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc focusMode=(self: Control; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc mouseFilter(self: Control): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc mouseFilter=(self: Control; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc mouseDefaultCursorShape(self: Control): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc mouseDefaultCursorShape=(self: Control; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sizeFlagsHorizontal(self: Control): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sizeFlagsHorizontal=(self: Control; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sizeFlagsVertical(self: Control): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sizeFlagsVertical=(self: Control; val: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sizeFlagsStretchRatio(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc sizeFlagsStretchRatio=(self: Control; val: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc theme(self: Control): Theme {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc theme=(self: Control; val: Theme) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc acceptEvent(self: Control) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getMinimumSizeImpl(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCombinedMinimumSize(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setAnchorsPreset(self: Control; preset: int64; keepMargin: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setMarginsPreset(self: Control; preset: int64; resizeMode: int64 = 0'i64;
                     margin: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setAnchorsAndMarginsPreset(self: Control; preset: int64;
                               resizeMode: int64 = 0'i64; margin: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setAnchorImpl(self: Control; margin: int64; anchor: float64;
                  keepMargin: bool = false; pushOppositeAnchor: bool = true) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setAnchorAndMargin(self: Control; margin: int64; anchor: float64; offset: float64;
                       pushOppositeAnchor: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setBegin(self: Control; position: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setEnd(self: Control; position: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setRotation(self: Control; radians: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBegin(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getEnd(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getRotation(self: Control): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getParentAreaSize(self: Control): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getRect(self: Control): Rect2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getGlobalRect(self: Control): Rect2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc showModal(self: Control; exclusive: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasFocus(self: Control): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc grabFocus(self: Control) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc releaseFocus(self: Control) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getFocusOwner(self: Control): Control {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc addIconOverride(self: Control; name: string; texture: Texture) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addShaderOverride(self: Control; name: string; shader: Shader) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addStyleboxOverride(self: Control; name: string; stylebox: StyleBox) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addFontOverride(self: Control; name: string; font: Font) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addColorOverride(self: Control; name: string; color: Color) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addConstantOverride(self: Control; name: string; constant: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getIcon(self: Control; name: string; typee: string = ""): Texture {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getStylebox(self: Control; name: string; typee: string = ""): StyleBox {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getFont(self: Control; name: string; typee: string = ""): Font {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getColor(self: Control; name: string; typee: string = ""): Color {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConstant(self: Control; name: string; typee: string = ""): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasIconOverride(self: Control; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasShaderOverride(self: Control; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasStyleboxOverride(self: Control; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasFontOverride(self: Control; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasColorOverride(self: Control; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasConstantOverride(self: Control; name: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasIcon(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasStylebox(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasFont(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasColor(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hasConstant(self: Control; name: string; typee: string = ""): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getParentControl(self: Control): Control {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getTooltipImpl(self: Control; atPosition: Vector2 = vec2(0.0, 0.0)): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCursorShape(self: Control; position: Vector2 = vec2(0.0, 0.0)): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc forceDrag(self: Control; data: Variant; preview: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc grabClickFocus(self: Control) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setDragForwarding(self: Control; target: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setDragPreview(self: Control; control: Object) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc warpMouse(self: Control; toPosition: Vector2) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc minimumSizeChanged(self: Control) {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method guiInput(self: Control; event: InputEvent) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method getMinimumSize(self: Control): Vector2 {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method getDragData(self: Control; position: Vector2): Object {.
gcsafe, locks: 0, base, raises: [Exception], tags: [RootEffect]
.}
method canDropData(self: Control; position: Vector2; data: Variant): bool {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method dropData(self: Control; position: Vector2; data: Variant) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method hasPoint(self: Control; point: Vector2): bool {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method sizeChanged(self: Control) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method updateMinimumSize(self: Control) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method themeChanged(self: Control) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method fontChanged(self: Control) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}