Package org.gnome.gtk
Interface Orientable
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
Box
,BoxLayout
,Carousel
,CarouselIndicatorDots
,CarouselIndicatorLines
,CellAreaBox
,CellRendererProgress
,CellView
,CenterBox
,Clamp
,ClampLayout
,ClampScrollable
,Flap
,FlowBox
,Grid
,GridView
,Leaflet
,LevelBar
,ListBase
,ListBase.ListBaseImpl
,ListView
,Orientable.OrientableImpl
,Paned
,ProgressBar
,Range
,Scale
,ScaleButton
,Scrollbar
,Separator
,ShortcutsGroup
,ShortcutsSection
,SpinButton
,Squeezer
,StackSwitcher
,SwipeTracker
,VolumeButton
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 Gtk.Orientable:orientation
property.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Orientable.Builder<B extends Builder<B>>
static class
static class
The OrientableImpl type represents a native instance of the Orientable interface. -
Method Summary
Modifier and TypeMethodDescriptiondefault Orientation
Retrieves the orientation of the this Orientable.static Type
getType()
Get the GType of the Orientable classdefault void
setOrientation
(Orientation orientation) Sets the orientation of the this Orientable.
-
Method Details
-
getType
-
getOrientation
Retrieves the orientation of the this Orientable.- Returns:
- the orientation of the this Orientable
-
setOrientation
Sets the orientation of the this Orientable.- Parameters:
orientation
- the orientable’s new orientation
-