:Associate with "XmiPane widget functions" More...
:Associate with "XmiPane widget functions"
| #define XmiCIgnoreNonVisible "IgnoreNonVisible" |
| #define XmiCProportional "Proportional" |
| #define XmiCSizeAlign "SizeAlign" |
| #define XmiCSpacing "Spacing" |
| #define XmiNignoreNonVisible "ignoreNonVisible" |
| #define XmiNproportional "proportional" |
| #define XmiNsizeAlign "sizeAlign" |
| #define XmiNspacing "spacing" |
| #define XmiPANE_ORIENTATION_HORIZONTAL 0 |
Pane child placement orientation.
Horizontal layout based on locale
| #define XmiPANE_ORIENTATION_HORIZONTAL_LTOR 2 |
Horizontal layout left to right.
| #define XmiPANE_ORIENTATION_HORIZONTAL_RTOL 3 |
Horizontal layout right to left.
| #define XmiPANE_ORIENTATION_VERTICAL 1 |
Vertical layout top to bottom.
| #define XmiPANE_SIZEALIGN_AlignBottom 0x0080 |
Align with bottom edge of available space.
| #define XmiPANE_SIZEALIGN_AlignLeft 0x0010 |
Align with left edge of available space.
| #define XmiPANE_SIZEALIGN_AlignRight 0x0020 |
Align with right edge of available space.
| #define XmiPANE_SIZEALIGN_AlignTop 0x0040 |
Align with top edge of available space.
| #define XmiPANE_SIZEALIGN_Center 0x00F0 |
Center both horizontal and vertically.
| #define XmiPANE_SIZEALIGN_CenterHorz 0x0030 |
Center horizontally in available space.
| #define XmiPANE_SIZEALIGN_CenterVert 0x00C0 |
Center vertically in available space.
| #define XmiPANE_SIZEALIGN_ExcludeFromLayout 0x0100 |
Exclude from layout, will be placed at top/left unless other Align/Center values are set.
| #define XmiPANE_SIZEALIGN_Expand 0x0000 |
Child sizing/alignment constraint values, can be |'d together.
Expand both width and height to fill space
| #define XmiPANE_SIZEALIGN_FixedHeight 0x0004 |
Height fixed, width can change.
| #define XmiPANE_SIZEALIGN_FixedSize 0x0005 |
Both horizontal and vertical size fixed.
| #define XmiPANE_SIZEALIGN_FixedWidth 0x0001 |
Width fixed, height can change.
| #define XmiPANE_SIZEALIGN_Ignore 0x0200 |
Ignore completely if exclude from layout, will never be resized or moved by pane.
| Boolean XmiIsPane | ( | Widget | w | ) | [inline] |
Determine if widget is an XmiPane or subclass thereof.
| void XmiPaneAddSpaceExpanding | ( | Widget | PaneWidget | ) |
Add expanding space to pane.
Space will be inserted after the most recently added child, or if no children have yet been added, before the first child.
| void XmiPaneAddSpaceFixed | ( | Widget | PaneWidget, | |
| int | size | |||
| ) |
Add fixed space to pane.
Space will be inserted after the most recently added child, or if no children have yet been added, before the first child.
Create unmanaged XmiPane widget.
An XmiPane is a composite container widget which places its children in either a horizontal or vertical "pane". Children are arranged in the order in which they are added, with optional fixed and expanding space between each child and before the first child.
XmiPane inherits behavior from XmBulletinBoard. The class pointer is xmiPaneWidgetClass.
The following resources are available for XmiPane: Name Default Access Class Type XmNmarginHeight 0 CSG XmCMarginHeight Dimension (Inherited from BulletinBoard) XmNmarginWidth 0 CSG XmCMarginWidth Dimension (Inherited from BulletinBoard) XtNorientation XmiPANE_ORIENTATION_HORIZONTAL CG XtCOrientation unsigned char XmiNspacing 4 CSG XmiCSpacing Dimension XmiNignoreNonVisible False CSG XmiCIgnoreNonVisible Boolean XmiNproportional False CSG XmiCProportional Boolean
XtNorientation Determines whether children are horizontally or vertically. Possible values are: XmiPANE_ORIENTATION_HORIZONTAL Order horizontally based on locale XmiPANE_ORIENTATION_HORIZONTAL_LTOR Order horizontally left to right XmiPANE_ORIENTATION_HORIZONTAL_RTOL Order horizontally right to left XmiPANE_ORIENTATION_VERTICAL Order vertically top to bottom Values are equal to the corresponding MGUI::LAYOUT_ORIENTATION enum values in <mgui/layout.h>.
XmiNspacing Determines spacing between children in the pane orientation. This spacing is not added between the children and pane edges, use XmNmarginWidth and XmNmarginHeight in that case.
XmiNignoreNonVisible Determines whether space for nonvisible (unmanaged) children is retained in the layout or not. The default of False will retain space, thus retaining all managed child positions. Setting this resource to True will cause the Pane to adjust the positions of remaining visible children to fill the space left by the unmanaged child(ren).
XmiNproportional Determines whether children are resized proportional to previous size. The default of False will add space to all resizable children equal. Setting this resource to True will maintain current proportions of resizable children, subject to minimum size constraints. This is primarily used when a sash control is added to the pane.
The following constraint resources are available to children of XmiPane: Name Default Access Class Type XmiNsizeAlign XmiPANE_SIZEALIGN_FixedSize CG XmiCSizeAlign unsigned short XtNminHeight [none] CSG XtCMinHeight Dimension XtNminWidth [none] CSG XtCMinWidth Dimension
XmiNsizeAlign Determines how a child is sized and aligned with other children in the parent XmiPane. The values for this resource may be bitwise-or'd (|) together. In addition, these values exactly correspond to the MGUI::LAYOUT_SIZEALIGN enum values defined in <mgui/layout.h>
XmiPANE_SIZEALIGN_Expand Expand both width and height to fill space XmiPANE_SIZEALIGN_FixedWidth Width fixed, height can change XmiPANE_SIZEALIGN_FixedHeight Height fixed, width can change XmiPANE_SIZEALIGN_FixedSize Both horizontal and vertical size fixed XmiPANE_SIZEALIGN_AlignLeft Align with left edge of available space XmiPANE_SIZEALIGN_AlignRight Align with right edge of available space XmiPANE_SIZEALIGN_AlignTop Align with top edge of available space XmiPANE_SIZEALIGN_AlignBottom Align with bottom edge of available space XmiPANE_SIZEALIGN_CenterHorz Center horizontally in available space XmiPANE_SIZEALIGN_CenterVert Center vertically in available space XmiPANE_SIZEALIGN_Center Center both horizontal and vertically
XtNminHeight Minimum height of child in pixels. If not specified will default to the initial child height.
XtNminWidth Minimum width of child in pixels. If not specified will default to the initial child width.
Create Dialog and XmiPane widget.
| WidgetClass xmiPaneWidgetClass |
1.6.1