gi-gtk-3.0.24: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Interfaces.Orientable

Contents

Description

The Orientable 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 'GI.Gtk.Objects.Box.Box'\/'GI.Gtk.Objects.HBox.HBox'\/'GI.Gtk.Objects.VBox.VBox' or 'GI.Gtk.Objects.Scale.Scale'\/'GI.Gtk.Objects.HScale.HScale'\/'GI.Gtk.Objects.VScale.VScale'). Orientable is more flexible in that it allows the orientation to be changed at runtime, allowing the widgets to “flip”.

Orientable was introduced in GTK+ 2.16.

Synopsis

Exported types

newtype Orientable Source #

Memory-managed wrapper type.

class GObject o => IsOrientable o Source #

Type class for types which can be safely cast to Orientable, for instance with toOrientable.

Instances
(GObject a, (UnknownAncestorError Orientable a :: Constraint)) => IsOrientable a Source # 
Instance details

Defined in GI.Gtk.Interfaces.Orientable

IsOrientable Orientable Source # 
Instance details

Defined in GI.Gtk.Interfaces.Orientable

IsOrientable Box Source # 
Instance details

Defined in GI.Gtk.Objects.Box

IsOrientable ButtonBox Source # 
Instance details

Defined in GI.Gtk.Objects.ButtonBox

IsOrientable CellAreaBox Source # 
Instance details

Defined in GI.Gtk.Objects.CellAreaBox

IsOrientable CellRendererProgress Source # 
Instance details

Defined in GI.Gtk.Objects.CellRendererProgress

IsOrientable FlowBox Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBox

IsOrientable Paned Source # 
Instance details

Defined in GI.Gtk.Objects.Paned

IsOrientable Range Source # 
Instance details

Defined in GI.Gtk.Objects.Range

IsOrientable Scale Source # 
Instance details

Defined in GI.Gtk.Objects.Scale

IsOrientable ScaleButton Source # 
Instance details

Defined in GI.Gtk.Objects.ScaleButton

IsOrientable Scrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.Scrollbar

IsOrientable Separator Source # 
Instance details

Defined in GI.Gtk.Objects.Separator

IsOrientable SpinButton Source # 
Instance details

Defined in GI.Gtk.Objects.SpinButton

IsOrientable VolumeButton Source # 
Instance details

Defined in GI.Gtk.Objects.VolumeButton

IsOrientable VSeparator Source # 
Instance details

Defined in GI.Gtk.Objects.VSeparator

IsOrientable VScrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.VScrollbar

IsOrientable VScale Source # 
Instance details

Defined in GI.Gtk.Objects.VScale

IsOrientable VPaned Source # 
Instance details

Defined in GI.Gtk.Objects.VPaned

IsOrientable VButtonBox Source # 
Instance details

Defined in GI.Gtk.Objects.VButtonBox

IsOrientable VBox Source # 
Instance details

Defined in GI.Gtk.Objects.VBox

IsOrientable Toolbar Source # 
Instance details

Defined in GI.Gtk.Objects.Toolbar

IsOrientable Statusbar Source # 
Instance details

Defined in GI.Gtk.Objects.Statusbar

IsOrientable StackSwitcher Source # 
Instance details

Defined in GI.Gtk.Objects.StackSwitcher

IsOrientable ShortcutsShortcut Source # 
Instance details

Defined in GI.Gtk.Objects.ShortcutsShortcut

IsOrientable ShortcutsSection Source # 
Instance details

Defined in GI.Gtk.Objects.ShortcutsSection

IsOrientable ShortcutsGroup Source # 
Instance details

Defined in GI.Gtk.Objects.ShortcutsGroup

IsOrientable ShortcutLabel Source # 
Instance details

Defined in GI.Gtk.Objects.ShortcutLabel

IsOrientable RecentChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.RecentChooserWidget

IsOrientable ProgressBar Source # 
Instance details

Defined in GI.Gtk.Objects.ProgressBar

IsOrientable LevelBar Source # 
Instance details

Defined in GI.Gtk.Objects.LevelBar

IsOrientable InfoBar Source # 
Instance details

Defined in GI.Gtk.Objects.InfoBar

IsOrientable HSeparator Source # 
Instance details

Defined in GI.Gtk.Objects.HSeparator

IsOrientable HScrollbar Source # 
Instance details

Defined in GI.Gtk.Objects.HScrollbar

IsOrientable HScale Source # 
Instance details

Defined in GI.Gtk.Objects.HScale

IsOrientable HPaned Source # 
Instance details

Defined in GI.Gtk.Objects.HPaned

IsOrientable HButtonBox Source # 
Instance details

Defined in GI.Gtk.Objects.HButtonBox

IsOrientable HBox Source # 
Instance details

Defined in GI.Gtk.Objects.HBox

IsOrientable Grid Source # 
Instance details

Defined in GI.Gtk.Objects.Grid

IsOrientable FontSelection Source # 
Instance details

Defined in GI.Gtk.Objects.FontSelection

IsOrientable FontChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.FontChooserWidget

IsOrientable FileChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.FileChooserWidget

IsOrientable FileChooserButton Source # 
Instance details

Defined in GI.Gtk.Objects.FileChooserButton

IsOrientable ColorSelection Source # 
Instance details

Defined in GI.Gtk.Objects.ColorSelection

IsOrientable ColorChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserWidget

IsOrientable AppChooserWidget Source # 
Instance details

Defined in GI.Gtk.Objects.AppChooserWidget

IsOrientable ToolPalette Source # 
Instance details

Defined in GI.Gtk.Objects.ToolPalette

IsOrientable CellView Source # 
Instance details

Defined in GI.Gtk.Objects.CellView

toOrientable :: (MonadIO m, IsOrientable o) => o -> m Orientable Source #

Cast to Orientable, for types for which this is known to be safe. For general casts, use castTo.

Methods

getOrientation

orientableGetOrientation Source #

Arguments

:: (HasCallStack, MonadIO m, IsOrientable a) 
=> a

orientable: a Orientable

-> m Orientation

Returns: the orientation of the orientable.

Retrieves the orientation of the orientable.

Since: 2.16

setOrientation

orientableSetOrientation Source #

Arguments

:: (HasCallStack, MonadIO m, IsOrientable a) 
=> a

orientable: a Orientable

-> Orientation

orientation: the orientable’s new orientation.

-> m () 

Sets the orientation of the orientable.

Since: 2.16

Properties

orientation

The orientation of the orientable.

Since: 2.16

constructOrientableOrientation :: IsOrientable o => Orientation -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “orientation” property. This is rarely needed directly, but it is used by new.

getOrientableOrientation :: (MonadIO m, IsOrientable o) => o -> m Orientation Source #

Get the value of the “orientation” property. When overloading is enabled, this is equivalent to

get orientable #orientation

setOrientableOrientation :: (MonadIO m, IsOrientable o) => o -> Orientation -> m () Source #

Set the value of the “orientation” property. When overloading is enabled, this is equivalent to

set orientable [ #orientation := value ]