XmiPane Widget Functions

:Associate with "XmiPane widget functions" More...

Defines

#define XmiCIgnoreNonVisible   "IgnoreNonVisible"
#define XmiCSizeAlign   "SizeAlign"
#define XmiCSpacing   "Spacing"
#define XmiNignoreNonVisible   "ignoreNonVisible"
#define XmiNsizeAlign   "sizeAlign"
#define XmiNspacing   "spacing"
#define XmiPANE_ORIENTATION_HORIZONTAL   0
#define XmiPANE_ORIENTATION_HORIZONTAL_LTOR   2
#define XmiPANE_ORIENTATION_HORIZONTAL_RTOL   3
#define XmiPANE_ORIENTATION_VERTICAL   1
#define XmiPANE_SIZEALIGN_AlignBottom   0x0080
#define XmiPANE_SIZEALIGN_AlignLeft   0x0010
#define XmiPANE_SIZEALIGN_AlignRight   0x0020
#define XmiPANE_SIZEALIGN_AlignTop   0x0040
#define XmiPANE_SIZEALIGN_Center   0x00F0
#define XmiPANE_SIZEALIGN_CenterHorz   0x0030
#define XmiPANE_SIZEALIGN_CenterVert   0x00C0
#define XmiPANE_SIZEALIGN_Expand   0x0000
#define XmiPANE_SIZEALIGN_FixedHeight   0x0004
#define XmiPANE_SIZEALIGN_FixedSize   0x0005
#define XmiPANE_SIZEALIGN_FixedWidth   0x0001

Functions

Boolean XmiIsPane (Widget w)
void XmiPaneAddSpaceExpanding (Widget PaneWidget)
void XmiPaneAddSpaceFixed (Widget PaneWidget, int size)
Widget XmiPaneCreate (Widget parent, char *name, ArgList arglist, Cardinal argcount)
Widget XmiPaneCreateDialog (Widget parent, char *name, ArgList arglist, Cardinal argcount)

Variables

WidgetClass xmiPaneWidgetClass

Detailed Description

:Associate with "XmiPane widget functions"


Define Documentation

#define XmiCIgnoreNonVisible   "IgnoreNonVisible"
 

Definition at line 198 of file xmipane.h.

#define XmiCSizeAlign   "SizeAlign"
 

Definition at line 200 of file xmipane.h.

#define XmiCSpacing   "Spacing"
 

Definition at line 196 of file xmipane.h.

#define XmiNignoreNonVisible   "ignoreNonVisible"
 

Definition at line 197 of file xmipane.h.

#define XmiNsizeAlign   "sizeAlign"
 

Definition at line 199 of file xmipane.h.

#define XmiNspacing   "spacing"
 

Definition at line 195 of file xmipane.h.

#define XmiPANE_ORIENTATION_HORIZONTAL   0
 

Horizontal layout based on locale.

These values must remain equal to the corresponsing MGUI::LAYOUT_ORIENTATION values in <mgui/layout.h>

Definition at line 173 of file xmipane.h.

#define XmiPANE_ORIENTATION_HORIZONTAL_LTOR   2
 

Horizontal layout left to right.

Definition at line 175 of file xmipane.h.

#define XmiPANE_ORIENTATION_HORIZONTAL_RTOL   3
 

Horizontal layout right to left.

Definition at line 176 of file xmipane.h.

#define XmiPANE_ORIENTATION_VERTICAL   1
 

Vertical layout top to bottom.

Definition at line 174 of file xmipane.h.

#define XmiPANE_SIZEALIGN_AlignBottom   0x0080
 

Align with bottom edge of available space.

Definition at line 189 of file xmipane.h.

#define XmiPANE_SIZEALIGN_AlignLeft   0x0010
 

Align with left edge of available space.

Definition at line 186 of file xmipane.h.

#define XmiPANE_SIZEALIGN_AlignRight   0x0020
 

Align with right edge of available space.

Definition at line 187 of file xmipane.h.

#define XmiPANE_SIZEALIGN_AlignTop   0x0040
 

Align with top edge of available space.

Definition at line 188 of file xmipane.h.

#define XmiPANE_SIZEALIGN_Center   0x00F0
 

Center both horizontal and vertically.

Definition at line 192 of file xmipane.h.

#define XmiPANE_SIZEALIGN_CenterHorz   0x0030
 

Center horizontally in available space.

Definition at line 190 of file xmipane.h.

#define XmiPANE_SIZEALIGN_CenterVert   0x00C0
 

Center vertically in available space.

Definition at line 191 of file xmipane.h.

#define XmiPANE_SIZEALIGN_Expand   0x0000
 

Expand both width and height to fill space.

These values must remain equal to the corresponding MGUI::LAYOUT_SIZEALIGN values in <mgui/layout.h>

Definition at line 180 of file xmipane.h.

#define XmiPANE_SIZEALIGN_FixedHeight   0x0004
 

Height fixed, width can change.

Definition at line 183 of file xmipane.h.

#define XmiPANE_SIZEALIGN_FixedSize   0x0005
 

Both horizontal and vertical size fixed.

Definition at line 185 of file xmipane.h.

#define XmiPANE_SIZEALIGN_FixedWidth   0x0001
 

Width fixed, height can change.

Definition at line 181 of file xmipane.h.


Function Documentation

Boolean XmiIsPane Widget  w  )  [inline]
 

Determine if widget is an XmiPane or subclass thereof.

Definition at line 165 of file xmipane.h.

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.

Widget XmiPaneCreate Widget  parent,
char *  name,
ArgList  arglist,
Cardinal  argcount
 

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

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).

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.

Widget XmiPaneCreateDialog Widget  parent,
char *  name,
ArgList  arglist,
Cardinal  argcount
 

Create Dialog and XmiPane widget.


Variable Documentation

WidgetClass xmiPaneWidgetClass
 


Generated on Wed May 31 15:29:28 2006 for TNTsdk by  doxygen 1.3.8-20040913