Gtk.ScrollInfo¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Gtk.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
None
scroll info which will cause the default values to be used and just scroll the element into view.New in version 4.12.
- classmethod new()[source]¶
- Returns:
A new scroll info
- Return type:
Creates a new scroll info for scrolling an element into view.
New in version 4.12.
- ref()[source]¶
- Returns:
the passed in
GtkScrollInfo
.- Return type:
Increases the reference count of a
GtkScrollInfo
by one.New in version 4.12.
- set_enable_horizontal(horizontal)[source]¶
- Parameters:
horizontal (
bool
) – if scrolling in the horizontal direction should happen
Turns horizontal scrolling on or off.
New in version 4.12.