module Gtk::Orientable

Overview

The Gtk::Orientable interface is implemented by all widgets that can be oriented horizontally or vertically.

Gtk::Orientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to “flip”.

Direct including types

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/orientable.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.cast(obj : GObject::Object) : self #

Cast a GObject::Object to self, throws a TypeCastError if the cast can't be made.


[View source]

Class Method Detail

def self.cast?(obj : GObject::Object) : self | Nil #

[View source]
def self.g_type : UInt64 #

[View source]

Instance Method Detail

def orientation : Gtk::Orientation #

[View source]
def orientation=(orientation : Gtk::Orientation) : Nil #

[View source]
abstract def to_unsafe #

[View source]