Orientable


Object Hierarchy:

Gtk.Orientable Gtk.Orientable Gtk.Orientable GLib.Object GLib.Object GLib.Object->Gtk.Orientable

Description:

[ CCode ( type_id = "gtk_orientable_get_type ()" ) ]
public interface Orientable : Object

The `GtkOrientable` interface is implemented by all 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 [property@Gtk.Orientable:orientation] property.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Methods:

Inherited Members: