PtSeparator

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

# `PtSeparator`

`PtSeparator` -- A line that separates menu items.

## Synopsis

    class PtSeparator PtBasic
    {
        sep_flags;    // flag  (Pt_ARG_SEP_FLAGS)
        sep_type;     // unsigned short  (Pt_ARG_SEP_TYPE)
    }

## Base Classes

`PtWidget` <-- `PtBasic` <-- `PtSeparator`

## Description

This widget is a separator line for menu items. It has several styles.

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

## Instance Variables

sep_flags

  This instance variable determines the orientation of the widget.

  Constant | Description
  --- | ---
  `Pt_SEP_ORIENTATION` | Set to the value of `Pt_SEP_VERTICAL` or `Pt_SEP_HORIZONTAL`.
  `Pt_SEP_VERTICAL` | Makes the separator vertical.
  `Pt_SEP_HORIZONTAL` | Makes the separator horizontal.

sep_type

  This instance variable specifies the type of line, and may have one of the following values:

  Constant | Description
  --- | ---
  `Pt_SINGLE_LINE` | Single Line
  `Pt_DOUBLE_LINE` | Double Line
  `Pt_SINGLE_DASH_LINE` | Single Dash Line
  `Pt_DOUBLE_DASH_LINE` | Double Dash Line
  `Pt_ETCHED_IN` | Etched In
  `Pt_ETCHED_OUT` | Etched Out
  `Pt_NOLINE` | No Line

Prev | Home | Next
`PtScrollbar` | Up | `PtSlider`

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