PtMenuBar

Gamma/Photon: Using Gamma™ with the Photon microGUIŽ, Version 4.0
Prev |  | Next

# `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`.

| 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:

  Constant | Description
  --- | ---
  `Pt_MENUBAR_LAST_R_ALIGNED` | Last Right Aligned.
  `Pt_MENUBAR_MENU_OPEN` | Internal informational bit.

Prev | Home | Next
`PtMenu` | Up | `PtMenuButton`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.