Gtk.ScrollInfo¶
record (struct)
Provides detailed information 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.
Constructors¶
new¶
Creates a new scroll info for scrolling an element into view.
Methods¶
get_enable_horizontal¶
Checks if horizontal scrolling is enabled.
get_enable_vertical¶
Checks if vertical scrolling is enabled.
ref¶
Increases the reference count of a GtkScrollInfo by one.
set_enable_horizontal¶
Turns horizontal scrolling on or off.
Parameters:
horizontal— if scrolling in the horizontal direction should happen
set_enable_vertical¶
Turns vertical scrolling on or off.
Parameters:
vertical— if scrolling in the vertical direction should happen
unref¶
Decreases the reference count of a GtkScrollInfo by one.
If the resulting reference count is zero, frees the self.