Module popup_menu

Procs

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

Methods

method guiInput*(self: PopupMenu; event: InputEvent) {.
gcsafe, locks: 0
.}