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
DwtMainSetAreas(3Dwt) DwtMainSetAreas(3Dwt) Name DwtMainSetAreas - Sets up or adds the menu bar, command window, work window, and scroll bar widgets to the main window widget of the appli- cation. Syntax void DwtMainSetAreas(widget, menu_bar, work_window, command_window, horizontal_scroll_bar, vertical_scroll_bar) Widget widget; Widget menu_bar; Widget work_window, command_window; Widget horizontal_scroll_bar, vertical_scroll_bar; Arguments widget Specifies the main window widget ID. menu_bar Specifies the widget ID for the menu bar to be associated with the main window widget. You can set this ID only after creating an instance of the main window widget. The attribute name associated with this argument is DwtNmenuBar. work_window Specifies the widget ID for the work window to be associated with the main window widget. You can set this ID only after creat- ing an instance of the main window widget. The attribute name associated with this argument is DwtNworkWindow. command_window Specifies the widget ID for the command window to be associated with the main window widget. You can set this ID only after cre- ating an instance of the main window widget. The attribute name associated with this argument is DwtNcommandWindow. horizontal_scroll_bar Specifies the scroll bar widget ID for the horizontal scroll bar to be associated with the main window widget. You can set this ID only after creating an instance of the main window widget. The attribute name associated with this argument is DwtNhorizon- talScrollBar. vertical_scroll_bar Specifies the scroll bar widget ID for the vertical scroll bar to be associated with the main window widget. You can set this ID only after creating an instance of the main window widget. The attribute name associated with this argument is DwtNverti- calScrollBar. Description The DwtMainSetAreas function sets up or adds the menu bar, work window, command window, and scroll bar widgets to the application's main window widget. You must set these areas up before the main window widget is realized, that is, before calling the X intrinsics function XtRealizeWidget. Each area is optional; therefore, you can pass NULL to one or more of these arguments. The title bar is provided by the window manager. See Also Guide to the XUI Toolkit: C Language Binding Guide to the XUI Toolkit Intrinsics: C Language Binding DwtMainSetAreas(3Dwt)