Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.737 xmhscrollbar

xmhscrollbar(parent, max, slidersize, dpage, callback [, drag])

[motif package] Creates a horizontal scroll bar widget in the parent widget and returns its id. The position of the scroll bar slider in its widget is counted from zero to (positive) max. The size of the slider is set by slidersize, which should be between zero and max. For scrolling by pages, dpage indicates the scroll size that corresponds to one page. drag indicates that a callback must be generated only when the scrollbar is released after being dragged (if drag is equal to zero or not specified), or also when the scrollbar is being dragged (if drag is unequal to zero). callback is the callback string that gets executed.