Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwtscrollbarsetslider(3dwt) [ultrix man page]

DwtScrollBarSetSlider(3Dwt)											       DwtScrollBarSetSlider(3Dwt)

Name
       DwtScrollBarSetSlider - Sets or changes the current size/position parameters of the slider in the scroll bar widget.

Syntax
       void DwtScrollBarSetSlider(widget, value, shown, inc,
				  page_inc, notify)
	    Widget widget;
	    int value;
	    int shown;
	    int inc, page_inc;
	    Boolean notify;

Arguments
       widget	 Specifies the scroll bar widget ID.

       value	 Specifies the scroll bar's top thumb (slider) position between DwtNminValue and DwtNmaxValue.	The attribute name associated with
		 this argument is DwtNvalue.

       shown	 Specifies the size of the slider as a value between zero and the absolute value of DwtNmaxValue minus DwtNminValue.  The size	of
		 the  slider  varies,  depending  on how much of the slider scroll area it represents.	This argument sets the DwtNshown attribute
		 associated with DwtScrollBarCreate.

       inc	 Specifies the amount of button increment and decrement.  If this argument is nonzero, the scroll bar widget automatically adjusts
		 the  slider when an increment or decrement action occurs.  This argument sets the DwtNinc attribute associated with DwtScrollBar-
		 Create.

       page_inc  Specifies the amount of page increment and decrement.	If this argument is nonzero, the scroll bar widget  automatically  adjusts
		 the slider when an increment or decrement action occurs.  This argument sets the DwtNpageInc attribute associated with DwtScroll-
		 BarCreate.

       notify	 Specifies a boolean value that, when True, indicates a change in the scroll bar value and that the scroll  bar  widget  automati-
		 cally	activates the DwtNvalueChangedCallback with the recent change.	If False, no change in the scroll bar's value has occurred
		 and DwtNvalueChangedCallback is not activated.

Description
       The DwtScrollBarSetSlider function sets or changes the currently displayed scroll bar widget slider for the application.  The scroll region
       is overlaid with a slider bar that is adjusted in size and position using the main scroll bar or set slider function attributes.  The step-
       ping arrows and the slider are the scroll activator objects providing the user interface syntax ``feel.''

See Also
       DwtScrollBarGetSlider(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

														       DwtScrollBarSetSlider(3Dwt)

Check Out this Related Man Page

XmScrollBarSetValues(library call)										XmScrollBarSetValues(library call)

NAME
XmScrollBarSetValues -- A ScrollBar function that changes ScrollBar's increment values and the slider's size and position SYNOPSIS
#include <Xm/ScrollBar.h> void XmScrollBarSetValues (widget, value, slider_size, increment, page_increment, notify) Widget widget; int value; int slider_size; int increment; int page_increment; Boolean notify; (void) DESCRIPTION
XmSetScrollBarValues changes the ScrollBar's increment values and the slider's size and position. The scroll region is overlaid with a slider bar that is adjusted in size and position using the main ScrollBar or set slider function attributes. widget Specifies the ScrollBar widget ID. value Specifies the ScrollBar's slider position. Refer to the XmNvalue resource described on XmScrollBar(3). slider_size Specifies the size of the slider. Refer to the XmNsliderSize resource described on XmScrollBar(3). This argument sets that resource. Specify a value of 0 (zero) if you do not want to change the value. increment Specifies the amount of button increment and decrement. Refer to the XmNincrement resource described on XmScrollBar(3). This argument sets that resource. Specify a value of 0 (zero) if you do not want to change the value. page_increment Specifies the amount of page increment and decrement. Refer to the XmNpageIncrement resource described on XmScrollBar(3). This argument sets that resource. Specify a value of 0 (zero) if you do not want to change the value. notify Specifies a Boolean value that, when True, indicates a change in the ScrollBar value and also specifies that the ScrollBar widget automatically activates the XmNvalueChangedCallback with the recent change. If it is set to False, it specifies any change that has occurred in the ScrollBar's value, but does not activate XmNvalueChangedCallback. For a complete definition of ScrollBar and its associated resources, see XmScrollBar(3). RELATED
XmScrollBar(3). XmScrollBarSetValues(library call)
Man Page