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.

[Note]

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

Instance Variables

sep_flags

This instance variable determines the orientation of the widget.

ConstantDescription
Pt_SEP_ORIENTATIONSet to the value of Pt_SEP_VERTICAL or Pt_SEP_HORIZONTAL.
Pt_SEP_VERTICALMakes the separator vertical.
Pt_SEP_HORIZONTALMakes the separator horizontal.

sep_type

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

ConstantDescription
Pt_SINGLE_LINESingle Line
Pt_DOUBLE_LINEDouble Line
Pt_SINGLE_DASH_LINESingle Dash Line
Pt_DOUBLE_DASH_LINEDouble Dash Line
Pt_ETCHED_INEtched In
Pt_ETCHED_OUTEtched Out
Pt_NOLINENo Line