class PtMenuButton PtContainer { accel_font; // string (Pt_ARG_ACCEL_FONT) accel_text; // string (Pt_ARG_ACCEL_TEXT) button_type; // unsigned short (Pt_ARG_BUTTON_TYPE) offset; // unsigned short (Pt_ARG_OFFSET) }
This widget is a button located on a menu bar or on a menu itself, which is used to access menus. It functions like a PtButton, but it looks like a PtLabel and is only used on menu bars or menus.
![]() | For detailed information, please refer to PtMenuButton in the Photon documentation. |
| Constant | Description |
|---|---|
| Pt_MENU_TEXT | If an 'accelerator' hot key is defined, its text string is displayed. |
| Pt_MENU_BAR | Bar. |
| Pt_MENU_RIGHT | The submenu is displayed to the right of the button. |
| Pt_MENU_DOWN | The submenu is displayed under the button. |
| Pt_MENU_UP | Up |
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.