class PtMenu PtGroup { menu_flags; // flag (Pt_ARG_MENU_FLAGS) menu_spacing; // short (Pt_ARG_MENU_SPACING) menu_text_font; // string (Pt_ARG_MENU_TEXT_FONT) menu_title; // string (Pt_ARG_MENU_TITLE) menu_title_font; // string (Pt_ARG_MENU_TITLE_FONT) }
This widget forms the basis of a menu. Building menus in Gamma is significantly different than in PhAB, however the detailed documentation has not yet been prepared.
![]() | For more information, please refer to PtMenu in the Photon documentation. |
This instance variable controls menu behavior, and may be a combination of zero or more of the following flags:
A number specifying how many pixels to separate each menu item. The default is the same value as border_width.
A string specifying the font for the menu text.
A string comprising the menu title.
A string specifying the font for the menu title. Default is "helv12b".