[Previous] [Contents] [Index] [Next]

PtMenuBar

A container for managing menu buttons

Class hierarchy:

PtWidget --> PtBasic --> PtContainer --> PtGroup --> PtMenuBar

For more information, see the diagram of the widget hierarchy.

PhAB icon:

PtMenuBar button in PhAB

Public header:

<photon/PtMenuBar.h>

Description:

The PtMenuBar class provides alignment of menu buttons and cursor key navigation through menus.


PtMenuBar


A PtMenuBar that contains several menu buttons.


This widget is a container that provides automatic anchoring to the top and sides of its parent, along with alignment of the children (PtMenuButton).


Note: PtMenuButton widgets are the only type of children PtMenuBar widgets can have.

Inherited resources:

If the widget modifies an inherited resource, the "Default override" column indicates the new value. This modification affects any subclasses of the widget.

Resource Inherited from Default override
Pt_ARG_ANCHOR_FLAGS PtContainer Pt_LEFT_ANCHORED_LEFT |
Pt_RIGHT_ANCHORED_RIGHT |
Pt_TOP_ANCHORED_TOP |
Pt_ANCHORS_LOCKED
Pt_ARG_ANCHOR_OFFSETS PtContainer
Pt_ARG_AREA PtWidget height = 29
Pt_ARG_BANDWIDTH_THRESHOLD PtBasic Not used by this class.
Pt_ARG_BITMAP_CURSOR PtWidget
Pt_ARG_BORDER_WIDTH PtWidget 2
Pt_ARG_BOT_BORDER_COLOR PtBasic
Pt_ARG_COLOR PtBasic
Pt_ARG_CONTAINER_FLAGS PtContainer
Pt_ARG_CURSOR_COLOR PtWidget
Pt_ARG_CURSOR_TYPE PtWidget
Pt_ARG_DATA PtWidget
Pt_ARG_DIM PtWidget
Pt_ARG_EFLAGS PtWidget Pt_CONSUME_EVENTS
Pt_ARG_FILL_COLOR PtBasic
Pt_ARG_FILL_PATTERN PtBasic
Pt_ARG_FLAGS PtWidget |= Pt_HIGHLIGHTED
Pt_ARG_GROUP_FLAGS PtGroup
Pt_ARG_GROUP_HORZ_ALIGN PtGroup Pt_GROUP_HORZ_LEFT
Pt_ARG_GROUP_ORIENTATION PtGroup Pt_GROUP_HORIZONTAL
Pt_ARG_GROUP_ROWS_COLS PtGroup
Pt_ARG_GROUP_SPACING PtGroup 10
Pt_ARG_GROUP_SPACING_X PtGroup Not used by this class.
Pt_ARG_GROUP_SPACING_Y PtGroup Not used by this class.
Pt_ARG_GROUP_VERT_ALIGN PtGroup Pt_GROUP_VERT_TOP
Pt_ARG_HELP_TOPIC PtWidget
Pt_ARG_HIGHLIGHT_ROUNDNESS PtBasic
Pt_ARG_MARGIN_HEIGHT PtBasic 2
Pt_ARG_MARGIN_WIDTH PtBasic 2
Pt_ARG_POS PtWidget
Pt_ARG_RESIZE_FLAGS PtWidget
Pt_ARG_TOP_BORDER_COLOR PtBasic
Pt_ARG_TRANS_PATTERN PtBasic
Pt_ARG_USER_DATA PtWidget
Pt_CB_ACTIVATE PtBasic
Pt_CB_ARM PtBasic
Pt_CB_BALLOONS PtContainer
Pt_CB_BLOCKED PtWidget
Pt_CB_DESTROYED PtWidget
Pt_CB_DISARM PtBasic
Pt_CB_FILTER PtContainer
Pt_CB_GOT_FOCUS PtBasic
Pt_CB_HOTKEY PtWidget
Pt_CB_LOST_FOCUS PtBasic
Pt_CB_MENU PtBasic
Pt_CB_RAW PtWidget
Pt_CB_REALIZED PtWidget
Pt_CB_REPEAT PtBasic
Pt_CB_RESIZE PtContainer
Pt_CB_UNREALIZED PtWidget

[Previous] [Contents] [Index] [Next]