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.Objects.ActionBar

Contents

Description

GtkActionBar is designed to present contextual actions. It is expected to be displayed below the content and expand horizontally to fill the area.

It allows placing children at the start or the end. In addition, it contains an internal centered box which is centered with respect to the full width of the box, even if the children at either side take up different amounts of space.

CSS nodes

GtkActionBar has a single CSS node with name actionbar.

Synopsis

Exported types

newtype ActionBar Source #

Memory-managed wrapper type.

Instances
GObject ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsImplementorIface ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsObject ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsBuildable ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsBin ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsContainer ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsWidget ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsActionBar ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

class GObject o => IsActionBar o Source #

Type class for types which can be safely cast to ActionBar, for instance with toActionBar.

Instances
(GObject a, (UnknownAncestorError ActionBar a :: Constraint)) => IsActionBar a Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsActionBar ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

toActionBar :: (MonadIO m, IsActionBar o) => o -> m ActionBar Source #

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

noActionBar :: Maybe ActionBar Source #

A convenience alias for Nothing :: Maybe ActionBar.

Methods

getCenterWidget

actionBarGetCenterWidget Source #

Arguments

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

actionBar: a ActionBar

-> m (Maybe Widget)

Returns: the center Widget or Nothing.

Retrieves the center bar widget of the bar.

Since: 3.12

new

actionBarNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m ActionBar

Returns: a new ActionBar

Creates a new ActionBar widget.

Since: 3.12

packEnd

actionBarPackEnd Source #

Arguments

:: (HasCallStack, MonadIO m, IsActionBar a, IsWidget b) 
=> a

actionBar: A ActionBar

-> b

child: the Widget to be added to actionBar

-> m () 

Adds child to actionBar, packed with reference to the end of the actionBar.

Since: 3.12

packStart

actionBarPackStart Source #

Arguments

:: (HasCallStack, MonadIO m, IsActionBar a, IsWidget b) 
=> a

actionBar: A ActionBar

-> b

child: the Widget to be added to actionBar

-> m () 

Adds child to actionBar, packed with reference to the start of the actionBar.

Since: 3.12

setCenterWidget

actionBarSetCenterWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsActionBar a, IsWidget b) 
=> a

actionBar: a ActionBar

-> Maybe b

centerWidget: a widget to use for the center

-> m () 

Sets the center widget for the ActionBar.

Since: 3.12