XmHierarchy - Online Linux Manual PageSection : library call
NAMEXmHierarchy — The Hierarchy widget class .iX "XmHierarchy" .iX "Hierarchy" "hierarchy"
SYNOPSIS#include <Xm/Hierarchy.h>
DESCRIPTIONThe Hierarchy widget is not intended to be instantiated itself, but rather should be used as the base class for any widget that would like to present a hierarchy of information to the user that is different for the actual widget instance hierarchy of the application. This base class is currently used for two widgets in the Motif widget set, Tree and Outline, giving those two widgets a very similar API. Note: The Hierarchy widget assumes that it will be totally responsible for mapping and unmapping its children. Therefore no child of this widget should ever modify its mappedWhenManaged resource. If a child does modify this resource the behavior is undefined.
ClassesHierarchy inherits behaviour, resources, and traits from Core, Composite, Composite, Constraint, and XmManager classes. The class pointer is xmHierarchyWidgetClass. The class name is XmHierarchy.
New ResourcesXmHierarchy Resource Set NameClassTypeDefaultAccess XmNautoCloseXmCAutoCloseBooleanTrueCSG XmNcloseFolderPixmapXmCPixmapPixmapXmUNSPECIFIED_PIXMAPCSG XmNhorizontalMarginXmCDimensionDimension2CSG XmNnodeStateCallbackXmCNodeStateCallbackXtCallbackListNULLC XmNopenFolderPixmapXmCPixmapPixmapXmUNSPECIFIED_PIXMAPCSG XmNrefigureModeXmCBooleanBooleanTrueCSG XmNverticalMarginXmCDimensionDimension2CSG XmNautoClose This resource determines if the hierarchy should automatically restore a parent node's children when the parent node is reopened. If autoClose is False, and the hierarchy is fully expanded when the root node is closed, then the entire hierarchy will be displayed as expanded when the root node is reopened. If autoClose is True, then the root node's children are closed when the root node is reopened. XmNcloseFolderPixmap This resource defines a pixmap for the closed representation of the folder pixmap to be used throughout the tree. It can be a color pixmap or bitmap. If the user does not specify a pixmap the default bitmap will be used. XmNhorizontalMargin XmNverticalMargin The exact definition of these resources are left to the subclass of the hierarchy widget that does the geometry layout. They are intended to be used as the amount of space between the object and the edges of the window it is displayed in. They are included here for consistency. XmNopenFolderPixmap This resource defines a pixmap for the open representation of the folder pixmap to be used throughout the tree . It can be a color pixmap or bitmap. If the user does not specify a pixmap the default opened folder bitmap. XmNnodeStateCallback The list of callback routines called when a folder button is clicked. See "Callback Routine" for more details. XmNrefigureMode This resource determines whether the Hierarchy should adjust the sizes of the children after a geometry or resize request, or simply ignore the request. This resource is very useful in improving the performance of an application that is making a large number of geometry changes all at once. XmHierarchy Constraint Resource Set NameClassTypeDefaultAccess XmNinsertBeforeXmCInsertbeforeWidgetNULLCSG XmNnodeStateXmCNodeStateXMHierarchyNodeStateXmOpenCSG XmNparentNodeXmCParentNodeWidgetNULLCSG XmNinsertBefore Specifies another node that has the same parentNode. This node will then be placed immediately before that node in the hierarchy. If this value is NULL then the node will be inserted at the end of the list. This resource allows the hierarchy's children to be reordered. XmNnodeState The state of this node. Acceptable values are: XmOpen, XmClosed, XmAlwaysOpen, and XmHidden. A type converter has been registered that can convert the following strings: "open", "close", "alwaysOpen", and "hidden". XmNparentNode The hierarchy parent of this node. The parent node MUST be a widget sibling of the current node.
Inherited ResourcesHierarchy inherits behavior and resources from the superclasses described in the following tables. For a complete description of each resource, refer to the reference page for that superclass. XmManager Resource Set NameClassTypeDefaultAccess XmNbottomShadowColorXmCBottomShadowColorPixeldynamicCSG XmNbottomShadowPixmapXmCBottomShadowPixmapPixmapXmUNSPECIFIED_PIXMAPCSG XmNforegroundXmCForegroundPixeldynamicCSG XmNhelpCallbackXmCCallbackXtCallbackListNULLC XmNhighlightColorXmCHighlightColorPixeldynamicCSG XmNhighlightPixmapXmCHighlightPixmapPixmapdynamicCSG XmNinitialFocusXmCInitialFocusWidgetdynamicCSG XmNlayoutDirectionXmCLayoutDirectionXmDirectiondynamicCG XmNnavigationTypeXmCNavigationTypeXmNavigationTypeXmTAB_GROUPCSG XmNpopupHandlerCallbackXmCCallbackXtCallbackListNULLC XmNshadowThicknessXmCShadowThicknessDimensiondynamicCSG XmNstringDirectionXmCStringDirectionXmStringDirectiondynamicCG XmNtopShadowColorXmCTopShadowColorPixeldynamicCSG XmNtopShadowPixmapXmCTopShadowPixmapPixmapdynamicCSG XmNtraversalOnXmCTraversalOnBooleanTrueCSG XmNunitTypeXmCUnitTypeunsigned chardynamicCSG XmNuserDataXmCUserDataXtPointerNULLCSG Composite Resource Set NameClassTypeDefaultAccess XmNchildrenXmCReadOnlyWidgetListNULLG XmNinsertPositionXmCInsertPositionXtOrderProcNULLCSG XmNnumChildrenXmCReadOnlyCardinal0G Core Resource Set NameClassTypeDefaultAccess XmNacceleratorsXmCAcceleratorsXtAcceleratorsdynamicN/A XmNancestorSensitiveXmCSensitiveBooleandynamicG XmNbackgroundXmCBackgroundPixeldynamicCSG XmNbackgroundPixmapXmCPixmapPixmapXmUNSPECIFIED_PIXMAPCSG XmNborderColorXmCBorderColorPixelXtDefaultForegroundCSG XmNborderPixmapXmCPixmapPixmapXmUNSPECIFIED_PIXMAPCSG XmNborderWidthXmCBorderWidthDimension0CSG XmNcolormapXmCColormapColormapdynamicCG XmNdepthXmCDepthintdynamicCG XmNdestroyCallbackXmCCallbackXtCallbackListNULLC XmNheightXmCHeightDimensiondynamicCSG XmNinitialResourcesPersistentXmCInitialResourcesPersistentBooleanTrueC XmNmappedWhenManagedXmCMappedWhenManagedBooleanTrueCSG XmNscreenXmCScreenScreen *dynamicCG XmNsensitiveXmCSensitiveBooleanTrueCSG XmNtranslationsXmCTranslationsXtTranslationsdynamicCSG XmNwidthXmCWidthDimensiondynamicCSG XmNxXmCPositionPosition0CSG XmNyXmCPositionPosition0CSG
Callback InformationWhen a folder is clicked, the routines registered on the XmNnodeStateCallback list are passed a pointer to the following structure as client data: typedef struct _XmHierarchyNodeStateData {
Widget widget;
XmHierarchyNodeState state;
} XmHierarchyNodeStateData;
widget the child node of Hierarchy being opened or closed.
state the current XmNnodeState (after the click) of the
node. Legal values are XmOpen, XmClosed, XmAlwaysOpen,
and XmHidden.
Children
The hierarchy maintains IconButtons for each node in the hierarchy. Setting openFolderPixmap or closeFolderPixmap is done through XtSetValues. IconButtons may only be manipulated by the Hierarchy.
RELATEDComposite(3), Constraint(3), Core(3), XmCreateHierarchy(3), XmHierarchyGetChildNodes(3), XmHierarchyOpenAllAncestors(3), XmManager(3). 0
Johanes Gumabo
Data Size : 58,212 byte
man-XmHierarchy.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 201,412
Visitor ID : :
Visitor IP : 3.139.80.194 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|XmHierarchy.3|4|iX|.iX "XmHierarchy"
) (parse_manual_page_|249|XmHierarchy.3|5|iX|.iX "Hierarchy" "hierarchy"
)