GtkList::scroll_horizontal

GtkList::scroll_horizontal

void scroll_horizontal( GtkScrollType scroll_type , double position);

This method needs set_focus_hadjustment() to be called on the appropriate scrollbar from the GtkList in order for it to work. It scrolls the list horizontally to a predetermined position according to the GtkScrollType.

The position parameter is only used where the enumerated value is GTK_SCROLL_JUMP, when 0.0 sets the scroll to the (default) leftmost point and 1.0 to the rightmost. Values between 0.0 and 1.0 describe the percentage of the distance scrolled, i.e. 0.5 would set the beginning of the scroll slider halfway across the area.

Where any other GtkScrollType is set, the position is required but is then ignored.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.