module Gtk::Orientable
Overview
An interface for 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”.
CSS nodes
Gtk::Widget
types implementing the Gtk::Orientable
interface will
automatically acquire the horizontal
or vertical
CSS class depending on
the value of the Gtk::Orientable#orientation
property.
Direct including types
- Adw::Carousel
- Adw::CarouselIndicatorDots
- Adw::CarouselIndicatorLines
- Adw::Clamp
- Adw::ClampLayout
- Adw::ClampScrollable
- Adw::Flap
- Adw::InlineViewSwitcher
- Adw::Leaflet
- Adw::Squeezer
- Adw::SwipeTracker
- Adw::ToggleGroup
- Adw::WrapBox
- Adw::WrapLayout
- Gtk::Box
- Gtk::BoxLayout
- Gtk::CellAreaBox
- Gtk::CellRendererProgress
- Gtk::CellView
- Gtk::CenterBox
- Gtk::FlowBox
- Gtk::Grid
- Gtk::GridView
- Gtk::LevelBar
- Gtk::ListBase
- Gtk::ListView
- Gtk::Paned
- Gtk::ProgressBar
- Gtk::Range
- Gtk::Scale
- Gtk::ScaleButton
- Gtk::Scrollbar
- Gtk::Separator
- Gtk::ShortcutsGroup
- Gtk::ShortcutsSection
- Gtk::SpinButton
- Gtk::StackSwitcher
- Gtk::VolumeButton
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/orientable.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.