| Top |
CtkOrientable is implemented by CtkAppChooserWidget, CtkBox, CtkButtonBox, CtkCellAreaBox, CtkCellRendererProgress, CtkCellView, CtkColorChooserWidget, CtkColorSelection, CtkFileChooserButton, CtkFileChooserWidget, CtkFlowBox, CtkFontChooserWidget, CtkFontSelection, CtkGrid, CtkHBox, CtkHButtonBox, CtkHPaned, CtkHScale, CtkHScrollbar, CtkHSeparator, CtkInfoBar, CtkLevelBar, CtkPaned, CtkProgressBar, CtkRange, CtkRecentChooserWidget, CtkScale, CtkScaleButton, CtkScrollbar, CtkSeparator, CtkShortcutsGroup, CtkShortcutsSection, CtkShortcutsShortcut, CtkSpinButton, CtkStackSwitcher, CtkStatusbar, CtkToolPalette, CtkToolbar, CtkVBox, CtkVButtonBox, CtkVPaned, CtkVScale, CtkVScrollbar, CtkVSeparator and CtkVolumeButton.
The CtkOrientable interface is implemented by all widgets that can be oriented horizontally or vertically. Historically, such widgets have been realized as subclasses of a common base class (e.g CtkBox/CtkHBox/CtkVBox or CtkScale/CtkHScale/CtkVScale). CtkOrientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to “flip”.
CtkOrientable was introduced in CTK+ 2.16.
CtkOrientation
ctk_orientable_get_orientation (CtkOrientable *orientable);
Retrieves the orientation of the orientable
.
Since: 2.16
void ctk_orientable_set_orientation (CtkOrientable *orientable,CtkOrientation orientation);
Sets the orientation of the orientable
.
Since: 2.16
“orientation” property“orientation” CtkOrientation
The orientation of the orientable.
Owner: CtkOrientable
Flags: Read / Write
Default value: CTK_ORIENTATION_HORIZONTAL
Since: 2.16