|
DXmSvnSetComponentHidden(3X)
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:
---------------------------------------------------------
Value Description
---------------------------------------------------------
DXmSvnKdisplayNone Display in all modes (hidden in
none).
DXmSvnKdisplayOutline Do not display in outline mode.
DXmSvnKdisplayTree Do not display in tree mode.
DXmSvnKdisplayAllModes Do not display in outline,
tree, or column mode.
DXmSvnKdisplayColumns Do 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.
DXmSvnSetComponentHidden(3X)
[ Back ] |