PtMenuBar

PtMenuBar — holds and manages menu buttons.

Synopsis

class PtMenuBar PtGroup
{
    menubar_flags;    // flag  (Pt_ARG_MENUBAR_FLAGS)    
}
		

Base Classes

PtWidget <-- PtBasic <-- PtContainer <-- PtGroup <-- PtMenuBar

Description

This widget is a menu bar that holds menu buttons. It anchors itself to the top and sides of a window, and automatically aligns its children, which can only be PtMenuButtons.

[Note]

For detailed information, please refer to PtMenuBar in the Photon documentation.

Instance Variables

menubar_flags

This instance variable controls the widget's behavior, and may be a combination of zero or more of the following flags:

ConstantDescription
Pt_MENUBAR_LAST_R_ALIGNEDLast Right Aligned.
Pt_MENUBAR_MENU_OPENInternal informational bit.