class PtUpDown PtContainer { updown_arm_data_bottom; // PhImage (Pt_ARG_UPDOWN_ARM_DATA_BOTTOM) updown_arm_data_left; // PhImage (Pt_ARG_UPDOWN_ARM_DATA_LEFT) updown_arm_data_right; // PhImage (Pt_ARG_UPDOWN_ARM_DATA_RIGHT) updown_arm_data_top; // PhImage (Pt_ARG_UPDOWN_ARM_DATA_TOP) updown_bottom_border_color; // color (Pt_ARG_UPDOWN_BOTTOM_BORDER_COLOR) updown_data_bottom; // PhImage (Pt_ARG_UPDOWN_DATA_BOTTOM) updown_data_left; // PhImage (Pt_ARG_UPDOWN_DATA_LEFT) updown_data_right; // PhImage (Pt_ARG_UPDOWN_DATA_RIGHT) updown_data_top; // PhImage (Pt_ARG_UPDOWN_DATA_TOP) updown_fill_color; // color (Pt_ARG_UPDOWN_FILL_COLOR) updown_flags; // flag (Pt_ARG_UPDOWN_FLAGS) updown_highlight_round; // unsigned short (Pt_ARG_UPDOWN_HIGHLIGHT_ROUND) updown_margin_height; // unsigned short (Pt_ARG_UPDOWN_MARGIN_HEIGHT) updown_margin_width; // unsigned short (Pt_ARG_UPDOWN_MARGIN_WIDTH) updown_orientation; // integer (Pt_ARG_UPDOWN_ORIENTATION) updown_spacing; // unsigned integer (Pt_ARG_UPDOWN_SPACING) updown_top_border_color; // color (Pt_ARG_UPDOWN_TOP_BORDER_COLOR) }
This widget is a pair of horizontal or vertical buttons that are used to increment and decrement values. The button appearance and images can be modified in a variety of ways.
![]() | For detailed information, please refer to PtUpDown in the Photon documentation. |
| Constant | Description |
|---|---|
| Pt_HIGHLIGHTED | Gives the widget a beveled or etched border highlight (usually beveled). |
| Pt_ETCH_HIGHLIGHT | Gives the widget an etched border highlight. |
| Pt_CLIP_HIGHLIGHT | Cuts off the corners of the highlight rectangle. |
| Pt_BLOCKED | Blocks interaction with Photon events for widget and non-window children. |
| Pt_MENUABLE | Enables menu callbacks for right-button mouse clicks. |
| Pt_GETS_FOCUS | Permits focusing on widget, as appropriate. |
| Constant | Description |
|---|---|
| Pt_VERTICAL | The arrows point vertically (the default). |
| Pt_HORIZONTAL | The arrows point horizontally. |
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.