A line for organizing menu items
PtWidget --> PtBasic --> PtSeparator
For more information, see the diagram of the widget hierarchy.
<photon/PtSeparator.h>
PtSeparator provides a separator line with various styles. You should find it handy when creating menus.
PtSeparator widgets are frequently used to organize the items in a menu.
Resource | C type | Pt type | Default |
---|---|---|---|
Pt_ARG_SEP_FLAGS | short | Flag | Pt_SEP_HORIZONTAL |
Pt_ARG_SEP_TYPE | unsigned short | Scalar | Pt_SINGLE_LINE |
C type | Pt type | Default |
---|---|---|
short | Flag | Pt_SEP_HORIZONTAL |
Flags that control the separator's appearance. Possible values:
C type | Pt type | Default |
---|---|---|
unsigned short | Scalar | Pt_SINGLE_LINE |
Possible values:
If the widget modifies an inherited resource, the "Default override" column indicates the new value. This modification affects any subclasses of the widget.