Module popup_menu

Procs

proc items(self: PopupMenu): Array {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc items=(self: PopupMenu; val: Array) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideOnItemSelection(self: PopupMenu): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideOnItemSelection=(self: PopupMenu; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideOnCheckableItemSelection(self: PopupMenu): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideOnCheckableItemSelection=(self: PopupMenu; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideOnStateItemSelection(self: PopupMenu): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc hideOnStateItemSelection=(self: PopupMenu; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addIconItem(self: PopupMenu; texture: Texture; label: string; id: int64 = -1'i64;
                accel: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addItem(self: PopupMenu; label: string; id: int64 = -1'i64; accel: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addIconCheckItem(self: PopupMenu; texture: Texture; label: string;
                     id: int64 = -1'i64; accel: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addCheckItem(self: PopupMenu; label: string; id: int64 = -1'i64;
                 accel: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addRadioCheckItem(self: PopupMenu; label: string; id: int64 = -1'i64;
                      accel: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addSubmenuItem(self: PopupMenu; label: string; submenu: string;
                   id: int64 = -1'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addIconShortcut(self: PopupMenu; texture: Texture; shortcut: ShortCut;
                    id: int64 = -1'i64; global: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addShortcut(self: PopupMenu; shortcut: ShortCut; id: int64 = -1'i64;
                global: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addIconCheckShortcut(self: PopupMenu; texture: Texture; shortcut: ShortCut;
                         id: int64 = -1'i64; global: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addCheckShortcut(self: PopupMenu; shortcut: ShortCut; id: int64 = -1'i64;
                     global: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addRadioCheckShortcut(self: PopupMenu; shortcut: ShortCut; id: int64 = -1'i64;
                          global: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemText(self: PopupMenu; idx: int64; text: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemIcon(self: PopupMenu; idx: int64; icon: Texture) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemChecked(self: PopupMenu; idx: int64; checked: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemId(self: PopupMenu; idx: int64; id: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemAccelerator(self: PopupMenu; idx: int64; accel: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemMetadata(self: PopupMenu; idx: int64; metadata: Variant) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemDisabled(self: PopupMenu; idx: int64; disabled: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemSubmenu(self: PopupMenu; idx: int64; submenu: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemAsSeparator(self: PopupMenu; idx: int64; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemAsCheckable(self: PopupMenu; idx: int64; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemAsRadioCheckable(self: PopupMenu; idx: int64; enable: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemTooltip(self: PopupMenu; idx: int64; tooltip: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemShortcut(self: PopupMenu; idx: int64; shortcut: ShortCut;
                    global: bool = false) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setItemMultistate(self: PopupMenu; idx: int64; state: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc toggleItemChecked(self: PopupMenu; idx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc toggleItemMultistate(self: PopupMenu; idx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemText(self: PopupMenu; idx: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemIcon(self: PopupMenu; idx: int64): Texture {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc isItemChecked(self: PopupMenu; idx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemId(self: PopupMenu; idx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemIndex(self: PopupMenu; id: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemAccelerator(self: PopupMenu; idx: int64): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemMetadata(self: PopupMenu; idx: int64): Variant {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isItemDisabled(self: PopupMenu; idx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemSubmenu(self: PopupMenu; idx: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isItemSeparator(self: PopupMenu; idx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isItemCheckable(self: PopupMenu; idx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isItemRadioCheckable(self: PopupMenu; idx: int64): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemTooltip(self: PopupMenu; idx: int64): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getItemShortcut(self: PopupMenu; idx: int64): ShortCut {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getItemCount(self: PopupMenu): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc removeItem(self: PopupMenu; idx: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc addSeparator(self: PopupMenu) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc clear(self: PopupMenu) {.
gcsafe, locks: 0, raises: [], tags: []
.}

Methods

method guiInput(self: PopupMenu; event: InputEvent) {.
gcsafe, locks: 0, raises: [], tags: []
.}