|
|
DwtScrollWindowSetAreas(3Dwt) DwtScrollWindowSetAreas(3Dwt) Name DwtScrollWindowSetAreas - Sets up or adds the window region, and the horizontal or vertical scroll bar widgets to the scroll window widget. Syntax void DwtScrollWindowSetAreas(widget, horizontal_scroll_bar, vertical_scroll_bar, work_region) Widget widget; Widget horizontal_scroll_bar; Widget vertical_scroll_bar; Widget work_region; Arguments widget Specifies the scroll window widget ID. horizontal_scroll_bar Specifies the scroll bar widget ID for the horizontal scroll bar to be associated with the scroll window widget. You can set or specify this ID only after creating an instance of the main window widget. The attribute name associated with this argument is DwtNhorizontalScrollBar. vertical_scroll_bar Specifies the scroll bar widget ID for the vertical scroll bar to be associated with the scroll window widget. You can set or specify this ID only after creating an instance of the main window widget. The attribute name associated with this argument is DwtNverticalScrollBar. work_region Specifies the widget ID for the window to be associated with the scroll window work area. You can set or specify this ID only after you create an instance of the main window widget. Description The DwtScrollWindowSetAreas function adds or changes a window work region and a horizontal or vertical scroll bar widget to the scroll win- dow widget for the application. You must call this function before the scroll window widget is realized, that is, before calling the X intrinsics function XtRealizeWidget. Each widget is optional and may be passed as NULL. See Also DwtScrollWindow(3Dwt), DwtWindow(3Dwt), Guide to the XUI Toolkit: C Language Binding Guide to the XUI Toolkit Intrinsics: C Language Binding DwtScrollWindowSetAreas(3Dwt)