XMCOLUMN(3)
πΈ NAME πΈ
XmColumn β the XmColumn widget class, bestie. That's the whole name section. Short, sweet, iconic.
(also, for the record, this is the page for XmColumn(library call) π)
β¨ SYNOPSIS β¨
#include <Xm/Column.h>
π¦ DESCRIPTION π¦
okay so real talk: XmColumn takes all of its children and stacks them in a column, and every single child can have an optional label tagging along with it. π
The labels go in one column, the children go in another β two columns, side by side, like you and your bestie walking into a party. It's giving labeled data-entry fields, honestly. That's literally the vibe it was built for.
And if vertical isn't your moment? It can also display all the label-child pairs in a horizontal orientation instead. Versatile. Slay. π₯
This widget comes with a whole bunch of constraint resources so you can dictate the characteristics of the label β displaying text or a pixmap, alignment of the text, which font to use, all of that good stuff. It also offers several resources for setting defaults for children that specify no specific values of their own. So when a child is like "idk, you choose", XmColumn chooses. Main character energy. π
π Classes π
XmColumn inherits behavior and resources from Core, Composite, Constraint, XmManager, and XmBulletinBoard. Family tree, periodt.
- The class pointer is
xmColumnWidgetClass. - The class name is
XmColumn.
π New Resources π
The list below is the set of widget resources the programmer uses to specify data. You can also set the resource values for the inherited classes to set attributes for this widget. To reference a resource by name or by class in a .Xdefaults file, drop the XmN or XmC prefix and use the remaining letters (lowercase or uppercase, doesn't matter, but keep any underscores between words).
The codes in the access column flag whether the given resource can be set at creation time (C), or is not applicable (N/A).
π XmColumn Resource Set π
XmNdefaultEntryLabelAlignmentβ Class:XmCAlignmentΒ· Type:unsigned charΒ· Default:XmALIGNMENT_BEGINNINGΒ· Access:CSG- Specifies the default
XmNentryLabelAlignmentto use when a child specifies no significant value. Resources that specify Alignment have values ofXmALIGNMENT_BEGINNING,XmALIGNMENT_CENTER,XmALIGNMENT_END, andXmALIGNMENT_UNSPECIFIED. Valid string values that can be used in a resources file are:alignment_unspecified,unspecified,alignment_beginning,beginning,alignment_center,center,alignment_end,end.
- Specifies the default
XmNdefaultEntryLabelFontListβ Class:XmCFontListΒ· Type:XmRFontListΒ· Default:dynamicΒ· Access:CGS- Specifies the default
XmNentryLabelFontListto use when a child specifies no significant value. If unspecified, usesXmNlabelFontListresource of theXmBulletinBoard.
- Specifies the default
XmNdefaultEntryLabelRenderTableβ Class:XmCRendertableΒ· Type:XmRFontListΒ· Default:dynamicΒ· Access:CGS- ngl, the original page only lists this one in the table and never spells out a description for it. No invented tea here β that's all the info it gives. π
XmNdefaultFillStyleβ Class:XmCFillStyleΒ· Type:unsigned charΒ· Default:XmFILL_RAGGEDΒ· Access:CGS- Specifies the default
XmNfillStyleto use when a child specifies no significant value.
- Specifies the default
XmNdistributionβ Class:XmCDistributionΒ· Type:unsigned charΒ· Default:XmDISTRIBUTE_TIGHTΒ· Access:CGS- Specifies whether the spacing between each pair of rows should be increased equally (
XmDISTRIBUTE_SPREAD) or remain constant (XmDISTRIBUTE_TIGHT) when the column is resized vertically to be larger than its natural size. This resource has no effect if any child has itsXmNstretchableresource set toTrue. This resource is valid only when the orientation is vertical.
- Specifies whether the spacing between each pair of rows should be increased equally (
XmNitemSpacingβ Class:XmCItemSpacingΒ· Type:DimensionΒ· Default:2Β· Access:CSG- Specifies the spacing between each pair of rows (in vertical orientation) or between pairs of labels and children (in horizontal orientation).
XmNlabelSpacingβ Class:XmCLabelSpacingΒ· Type:DimentsionΒ· Default:10Β· Access:CSG- Specifies the spacing between the column containing the labels and the column containing the
XmColumn's children. - > π not me pointing out that the type is spelled
Dimentsionin the original β copying it character for character because that's the rule, but girl, that typo is right there.
- Specifies the spacing between the column containing the labels and the column containing the
XmNorientationβ Class:XmCOrientationΒ· Type:unsigned charΒ· Default:XmVERTICALΒ· Access:CSG- Specifies the layout direction of the
XmColumn. WhenXmVERTICAL, the widgets and their associated labels are laid out in two vertical columns. WhenXmHORIZONTAL, the widgets and their associated labels are laid out in a single row.
- Specifies the layout direction of the
The visual appearance of columns is affected by setting constraint resources on the children of the XmColumn. These resources are derived from those supported by XmLabel; see the manual page for XmLabel for valid values and usage. π«Ά
π XmColumn Constraint Resource Set π
okay bestie, this is the whole constraint resource table, and no I did not skip a single row, every one is right here π
XmNentryLabelAlignmentβ classXmCAlignment, typeunsigned char, defaultXmALIGNMENT_UNSPECIFIED, accessCSGXmNentryLabelFontListβ classXmCFontList, typeXmFontList, defaultdynamic, accessCSGXmNentryLabelRenderTableβ classXmCRenderTable, typeXmRenderTable, defaultdynamic, accessCSGXmNentryLabelPixmapβ classXmCLabelPixmap, typePixmap, defaultXmUNPECIFIED_PIXMAP, accessCSGXmNentryLabelStringβ classXmCLabelString, typeXmString, defaultNULL, accessCSGXmNentryLabelTypeβ classXmCLabelType, typeunsigned char, defaultXmSTRING, accessCSGXmNfillStyleβ classXmCFillStyle, typeunsigned char, defaultXmFILL_UNSPECIFIED, accessCSGXmNshowEntryLabelβ classXmCShowLabel, typeBoolean, defaultTrue, accessCSGXmNstretchableβ classXmCStretchable, typeBoolean, defaultFalse, accessCG
the "Access" column is literally just saying which of the three access modes (get / set / get-set) each one supports, iykyk β¨
πΈ the resources, explained πΈ
XmNentryLabelAlignment
Specifies justification of text within the child's associated label. Valid values are the same as those for XmNdefaultEntryLabelAlignment. π«Ά
XmNentryLabelFontList
Specifies fontList used to render the text within the child's associated label. (and yes, the source really does spell it mNentryLabelFontList in this spot, we're keeping it 100% verbatim, no editing bestie π
)
XmNentryLabelPixmap
Specifies the pixmap used in the child's associated label. πΌοΈ
XmNentryLabelString
Specifies the text used in the child's associated label. βοΈ
XmNentryLabelType
Specifies whether to display a string (XmSTRING) or a pixmap (XmPIXMAP) in the child's associated label. it's giving "pick your fighter" π
XmNfillStyle
Specifies whether the child should be displayed at its natural size (XmFILL_RAGGED) or stretched to fill the entire width of the column it is displayed within (XmFILL_FLUSH). XmFILL_UNSPECIFIED uses the value of the XmColumn's XmNdefaultFillStyle. β¨
XmNshowEntryLabel
Specifies whether or not to display the child's associated label. π
XmNstretchable
Specifies whether the child should expand in size proportionately when the XmColumn is resized vertically to be larger than its natural size. π
π RELATED π
the whole friend group, no cap:
Composite(3)Core(3)XmBulletinBoard(3)XmCreateColumn(3)XmManager(3)XmVaCreateColumn(3)XmVaCreateManagedColumn(3)
β VERSION β
This manual page documents the XmColumn widget shipped in Motif version 2.2. periodt π
and that's the whole page bestie π«Ά this one lives in the library call section as XmColumn, documenting the Motif 2.2 widget β go forth and column responsibly ππ
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms