Module option_button

Procs

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

Methods

method selected(self: OptionButton; arg0: int64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method focused(self: OptionButton; arg0: int64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}
method selectInt(self: OptionButton; arg0: int64) {.
gcsafe, locks: 0, base, raises: [], tags: []
.}