GTK::V3::Gtk::GtkOrientable
unit class GTK::V3::Gtk::GtkOrientable;
also is GTK::V3::Glib::GInterface;

Synopsis

my GTK::V3::Gtk::GtkLevelBar $level-bar .= new(:empty);
my GTK::V3::Gtk::GtkOrientable $o .= new(:widget($level-bar));
$o.set-orientation(GTK_ORIENTATION_VERTICAL);

Methods

new

Create an orientable object.

multi submethod BUILD ( :$widget )

Create an orientable object using a native object from elsewhere. See also Gtk::V3::Glib::GObject.

[gtk_orientable_] set_orientation

method gtk_orientable_get_orientation ( GtkOrientation )

Sets the orientation of the orientable.

[gtk_orientable_] get_orientation

method gtk_orientable_get_orientation ( --> GtkOrientation $orientation )

Set the orientation of the orientable.

Types

GtkOrientation

The orientation of the orientable.