ScrollInfo
Object Hierarchy:
Description:
[ CCode ( ref_function = "gtk_scroll_info_ref" , type_id = "gtk_scroll_info_get_type ()" , unref_function = "gtk_scroll_info_unref" ) ]
[ Compact ]
[ Version ( since = "4.12" ) ]
public class ScrollInfo
The `GtkScrollInfo` can be used to provide more accurate data on how a scroll operation should be performed.
Scrolling functions usually allow passing a null scroll info which will cause the default values to be
used and just scroll the element into view.
Content:
Creation methods:
Methods:
- public unowned ScrollInfo @ref ()
Increases the reference count of a `GtkScrollInfo` by one.
- public bool get_enable_horizontal ()
Checks if horizontal scrolling is enabled.
- public bool get_enable_vertical ()
Checks if vertical scrolling is enabled.
- public void set_enable_horizontal (bool horizontal)
Turns horizontal scrolling on or off.
- public void set_enable_vertical (bool vertical)
Turns vertical scrolling on or off.
- public void unref ()
Decreases the reference count of a `GtkScrollInfo` by one.