Content-type: text/html Man page of DXmSvnSetComponentHidden


Section: Miscellaneous Library Functions (3X)
Index Return to Main Contents


DXmSvnSetComponentHidden - Controls which modes the SVN widget uses to display a particular component.  


void DXmSvnSetComponentHidden( Widget widget, int entry, int comp_number, int mode );


The identifier (widget ID) of the SVN widget. An integer that represents the number of the entry for which information is to be set or changed. An integer that represents the number of the component for which information is to be set or changed. This cannot be a component of the type Widget. The display mode in which this component should not be displayed, indicated by one of the following values:


DXmSvnKdisplayNone Display in all modes (hidden in none).
DXmSvnKdisplayOutlineDo not display in outline mode.
DXmSvnKdisplayTreeDo not display in tree mode.
DXmSvnKdisplayAllModes Do not display in outline, tree, or column mode.
DXmSvnKdisplayColumnsDo not display in column mode.



The DXmSvnSetComponentHidden routine enables an application to prevent a component (excluding subwidgets) from being displayed in a particular mode, thus making that component ``hidden''. By default, components are visible in all modes. However, you can use this routine to prevent a component from displaying in one mode (outline, tree, or column) or all modes.

Using this routine can reduce the amount of information displayed when the application is in tree mode, making the application less complex and easier to use. This routine is also useful if you want your application to display different icons in each of the two modes.

Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay.




This document was created by man2html, using the manual pages.
Time: 02:41:39 GMT, October 02, 2010