GEMLIB  0.44.0
Data Fields
_menu Struct Reference

#include <mt_gem.h>

Data Fields

OBJECTmn_tree
 
short mn_menu
 
short mn_item
 
short mn_scroll
 
short mn_keystate
 

Detailed Description

MENU structure, used by mt_menu_attach() and mt_menu_popup()

Field Documentation

short _menu::mn_item

Is the starting menu item

short _menu::mn_keystate

key state

short _menu::mn_menu

Is an index to the parent object of the menu items.

short _menu::mn_scroll

contains one of the following values:

  • SCROLL_NO , the menu will not scroll.
  • SCROLL_YES , if the number of menu items exceed the menu scroll height, arrows will appear which allow the user to scroll selections.
  • SCROLL_LISTBOX to display a drop-down list instead of a popup menu, see mt_menu_popup()
OBJECT* _menu::mn_tree

Points to the OBJECT tree of the sub-menu


The documentation for this struct was generated from the following file: