3.17 <GtkScrollInfo>

Structure: <GtkScrollInfo>

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.

Procedures

Method: scroll-info:get-enable-horizontal? self ⇒ %return
Method: get-enable-horizontal? self ⇒ %return

Checks if horizontal scrolling is enabled.

self

Passed: a <GtkScrollInfo>.

a <GtkScrollInfo>

%return

Returned: a boolean.

#t if horizontal scrolling is enabled.

Method: scroll-info:get-enable-vertical? self ⇒ %return
Method: get-enable-vertical? self ⇒ %return

Checks if vertical scrolling is enabled.

self

Passed: a <GtkScrollInfo>.

a <GtkScrollInfo>

%return

Returned: a boolean.

#t if vertical scrolling is enabled.

Procedure: scroll-info:new ⇒ %return

Creates a new scroll info for scrolling an element into view.

%return

Returned: a <GtkScrollInfo>.

A new scroll info

Method: scroll-info:ref self ⇒ %return
Method: ref self ⇒ %return

Increases the reference count of a <GtkScrollInfo> by one.

self

Passed: a <GtkScrollInfo>.

a <GtkScrollInfo>

%return

Returned: a <GtkScrollInfo>.

the passed in <GtkScrollInfo>.

Method: scroll-info:set-enable-horizontal self horizontal
Method: set-enable-horizontal self horizontal

Turns horizontal scrolling on or off.

self

Passed: a <GtkScrollInfo>.

a <GtkScrollInfo>

horizontal

Passed: a boolean.

if scrolling in the horizontal direction should happen

Method: scroll-info:set-enable-vertical self vertical
Method: set-enable-vertical self vertical

Turns vertical scrolling on or off.

self

Passed: a <GtkScrollInfo>.

a <GtkScrollInfo>

vertical

Passed: a boolean.

if scrolling in the vertical direction should happen

Method: scroll-info:unref self
Method: unref self

Decreases the reference count of a <GtkScrollInfo> by one.

If the resulting reference count is zero, frees the self.

self

Passed: a <GtkScrollInfo>.

a <GtkScrollInfo>