2.11 <GtkOrientable>

Interface: <GtkOrientable>

An interface for widgets that can be oriented horizontally or vertically.

<GtkOrientable> is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to “flip”.

CSS nodes

<GtkWidget> types implementing the <GtkOrientable> interface will automatically acquire the horizontal or vertical CSS class depending on the value of the orientable:orientation property.

Properties

Property: orientable:orientation self

The orientation of the orientable.

Its value is a <GtkOrientation> (or, to set it, one of its symbols).

Set it with (set! (orientable:orientation self) value).

Procedures

Method: orientable:get-orientation self ⇒ %return
Method: get-orientation self ⇒ %return

Retrieves the orientation of the self.

self

Passed: a <GtkOrientable>.

a <GtkOrientable>

%return

Returned: a <GtkOrientation>.

the orientation of the self

Method: orientable:set-orientation self orientation
Method: set-orientation self orientation

Sets the orientation of the self.

self

Passed: a <GtkOrientable>.

a <GtkOrientable>

orientation

Passed: a <GtkOrientation>, or one of its symbols.

the orientable’s new orientation