Module option_button

Procs

proc selected*(self: OptionButton): int64 {.
gcsafe, locks: 0
.}
proc `selected =`*(self: OptionButton; val: int64) {.
gcsafe, locks: 0
.}
proc items*(self: OptionButton): Array {.
gcsafe, locks: 0
.}
proc `items =`*(self: OptionButton; val: Array) {.
gcsafe, locks: 0
.}
proc addItem*(self: OptionButton; label: string; id: int64 = - 1'i64) {.
gcsafe, locks: 0
.}
proc addIconItem*(self: OptionButton; texture: Texture; label: string; id: int64) {.
gcsafe, locks: 0
.}
proc setItemText*(self: OptionButton; idx: int64; text: string) {.
gcsafe, locks: 0
.}
proc setItemIcon*(self: OptionButton; idx: int64; texture: Texture) {.
gcsafe, locks: 0
.}
proc setItemDisabled*(self: OptionButton; idx: int64; disabled: bool) {.
gcsafe, locks: 0
.}
proc setItemId*(self: OptionButton; idx: int64; id: int64) {.
gcsafe, locks: 0
.}
proc setItemMetadata*(self: OptionButton; idx: int64; metadata: Variant) {.
gcsafe, locks: 0
.}
proc getItemText*(self: OptionButton; idx: int64): string {.
gcsafe, locks: 0
.}
proc getItemIcon*(self: OptionButton; idx: int64): Texture {.
gcsafe, locks: 0
.}
proc getItemId*(self: OptionButton; idx: int64): int64 {.
gcsafe, locks: 0
.}
proc getItemMetadata*(self: OptionButton; idx: int64): Variant {.
gcsafe, locks: 0
.}
proc isItemDisabled*(self: OptionButton; idx: int64): bool {.
gcsafe, locks: 0
.}
proc getItemCount*(self: OptionButton): int64 {.
gcsafe, locks: 0
.}
proc addSeparator*(self: OptionButton) {.
gcsafe, locks: 0
.}
proc clear*(self: OptionButton) {.
gcsafe, locks: 0
.}
proc select*(self: OptionButton; idx: int64) {.
gcsafe, locks: 0
.}
proc getSelectedId*(self: OptionButton): int64 {.
gcsafe, locks: 0
.}
proc getSelectedMetadata*(self: OptionButton): Variant {.
gcsafe, locks: 0
.}
proc removeItem*(self: OptionButton; idx: int64) {.
gcsafe, locks: 0
.}

Methods

method selected*(self: OptionButton; arg0: int64) {.
gcsafe, locks: 0, base
.}