Gtk.Orientable¶
- Implementations:
Gtk.Box,Gtk.CellAreaBox,Gtk.CellRendererProgress,Gtk.CellView,Gtk.FlowBox,Gtk.Grid,Gtk.LevelBar,Gtk.Paned,Gtk.ProgressBar,Gtk.Range,Gtk.ScaleButton,Gtk.Separator,Gtk.SpinButton,Gtk.ToolPalette,Gtk.Toolbar
Methods¶
|
Virtual Methods¶
None
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
The orientation of the orientable |
Signals¶
None
Fields¶
None
Class Details¶
- class Gtk.Orientable¶
- Bases:
- Structure:
The
Gtk.Orientableinterface 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.gGtk.Box/Gtk.HBox/Gtk.VBoxorGtk.Scale/Gtk.HScale/Gtk.VScale).Gtk.Orientableis more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to “flip”.Gtk.Orientablewas introduced in GTK+ 2.16.- get_orientation()[source]¶
- Returns:
the orientation of the self.
- Return type:
Retrieves the orientation of the self.
New in version 2.16.
- set_orientation(orientation)[source]¶
- Parameters:
orientation (
Gtk.Orientation) – the orientable’s new orientation.
Sets the orientation of the self.
New in version 2.16.
Property Details¶
- Gtk.Orientable.props.orientation¶
- Name:
orientation- Type:
- Default Value:
- Flags:
The orientation of the orientable.
New in version 2.16.