gi-gtk-3.0.27: 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.Bin

Contents

Description

The Bin widget is a container with just one child. It is not very useful itself, but it is useful for deriving subclasses, since it provides common code needed for handling a single child widget.

Many GTK+ widgets are subclasses of Bin, including Window, Button, Frame, HandleBox or ScrolledWindow.

Synopsis

Exported types

newtype Bin Source #

Memory-managed wrapper type.

Constructors

Bin (ManagedPtr Bin) 
Instances
GObject Bin Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

Methods

gobjectType :: Bin -> IO GType #

IsImplementorIface Bin Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

IsObject Bin Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

IsBuildable Bin Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

IsBin Bin Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

IsContainer Bin Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

IsWidget Bin Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

class GObject o => IsBin o Source #

Type class for types which can be safely cast to Bin, for instance with toBin.

Instances
(GObject a, (UnknownAncestorError Bin a :: Constraint)) => IsBin a Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

IsBin Bin Source # 
Instance details

Defined in GI.Gtk.Objects.Bin

IsBin Button Source # 
Instance details

Defined in GI.Gtk.Objects.Button

IsBin CheckButton Source # 
Instance details

Defined in GI.Gtk.Objects.CheckButton

IsBin CheckMenuItem Source # 
Instance details

Defined in GI.Gtk.Objects.CheckMenuItem

IsBin ComboBox Source # 
Instance details

Defined in GI.Gtk.Objects.ComboBox

IsBin Dialog Source # 
Instance details

Defined in GI.Gtk.Objects.Dialog

IsBin FlowBoxChild Source # 
Instance details

Defined in GI.Gtk.Objects.FlowBoxChild

IsBin Frame Source # 
Instance details

Defined in GI.Gtk.Objects.Frame

IsBin ListBoxRow Source # 
Instance details

Defined in GI.Gtk.Objects.ListBoxRow

IsBin MenuItem Source # 
Instance details

Defined in GI.Gtk.Objects.MenuItem

IsBin Popover Source # 
Instance details

Defined in GI.Gtk.Objects.Popover

IsBin RadioButton Source # 
Instance details

Defined in GI.Gtk.Objects.RadioButton

IsBin ScaleButton Source # 
Instance details

Defined in GI.Gtk.Objects.ScaleButton

IsBin ScrolledWindow Source # 
Instance details

Defined in GI.Gtk.Objects.ScrolledWindow

IsBin ShortcutsWindow Source # 
Instance details

Defined in GI.Gtk.Objects.ShortcutsWindow

IsBin ToggleButton Source # 
Instance details

Defined in GI.Gtk.Objects.ToggleButton

IsBin ToggleToolButton Source # 
Instance details

Defined in GI.Gtk.Objects.ToggleToolButton

IsBin ToolButton Source # 
Instance details

Defined in GI.Gtk.Objects.ToolButton

IsBin ToolItem Source # 
Instance details

Defined in GI.Gtk.Objects.ToolItem

IsBin VolumeButton Source # 
Instance details

Defined in GI.Gtk.Objects.VolumeButton

IsBin Viewport Source # 
Instance details

Defined in GI.Gtk.Objects.Viewport

IsBin TearoffMenuItem Source # 
Instance details

Defined in GI.Gtk.Objects.TearoffMenuItem

IsBin StackSidebar Source # 
Instance details

Defined in GI.Gtk.Objects.StackSidebar

IsBin SeparatorToolItem Source # 
Instance details

Defined in GI.Gtk.Objects.SeparatorToolItem

IsBin SeparatorMenuItem Source # 
Instance details

Defined in GI.Gtk.Objects.SeparatorMenuItem

IsBin SearchBar Source # 
Instance details

Defined in GI.Gtk.Objects.SearchBar

IsBin Revealer Source # 
Instance details

Defined in GI.Gtk.Objects.Revealer

IsBin RadioToolButton Source # 
Instance details

Defined in GI.Gtk.Objects.RadioToolButton

IsBin RadioMenuItem Source # 
Instance details

Defined in GI.Gtk.Objects.RadioMenuItem

IsBin PopoverMenu Source # 
Instance details

Defined in GI.Gtk.Objects.PopoverMenu

IsBin PlacesSidebar Source # 
Instance details

Defined in GI.Gtk.Objects.PlacesSidebar

IsBin Overlay Source # 
Instance details

Defined in GI.Gtk.Objects.Overlay

IsBin ModelButton Source # 
Instance details

Defined in GI.Gtk.Objects.ModelButton

IsBin MenuToolButton Source # 
Instance details

Defined in GI.Gtk.Objects.MenuToolButton

IsBin MenuButton Source # 
Instance details

Defined in GI.Gtk.Objects.MenuButton

IsBin LockButton Source # 
Instance details

Defined in GI.Gtk.Objects.LockButton

IsBin LinkButton Source # 
Instance details

Defined in GI.Gtk.Objects.LinkButton

IsBin ImageMenuItem Source # 
Instance details

Defined in GI.Gtk.Objects.ImageMenuItem

IsBin HandleBox Source # 
Instance details

Defined in GI.Gtk.Objects.HandleBox

IsBin FontButton Source # 
Instance details

Defined in GI.Gtk.Objects.FontButton

IsBin Expander Source # 
Instance details

Defined in GI.Gtk.Objects.Expander

IsBin EventBox Source # 
Instance details

Defined in GI.Gtk.Objects.EventBox

IsBin ComboBoxText Source # 
Instance details

Defined in GI.Gtk.Objects.ComboBoxText

IsBin ColorButton Source # 
Instance details

Defined in GI.Gtk.Objects.ColorButton

IsBin AspectFrame Source # 
Instance details

Defined in GI.Gtk.Objects.AspectFrame

IsBin AppChooserButton Source # 
Instance details

Defined in GI.Gtk.Objects.AppChooserButton

IsBin Alignment Source # 
Instance details

Defined in GI.Gtk.Objects.Alignment

IsBin ActionBar Source # 
Instance details

Defined in GI.Gtk.Objects.ActionBar

IsBin Window Source # 
Instance details

Defined in GI.Gtk.Objects.Window

IsBin RecentChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.RecentChooserDialog

IsBin Plug Source # 
Instance details

Defined in GI.Gtk.Objects.Plug

IsBin OffscreenWindow Source # 
Instance details

Defined in GI.Gtk.Objects.OffscreenWindow

IsBin MessageDialog Source # 
Instance details

Defined in GI.Gtk.Objects.MessageDialog

IsBin FontSelectionDialog Source # 
Instance details

Defined in GI.Gtk.Objects.FontSelectionDialog

IsBin FontChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.FontChooserDialog

IsBin FileChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.FileChooserDialog

IsBin ColorSelectionDialog Source # 
Instance details

Defined in GI.Gtk.Objects.ColorSelectionDialog

IsBin ColorChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.ColorChooserDialog

IsBin ApplicationWindow Source # 
Instance details

Defined in GI.Gtk.Objects.ApplicationWindow

IsBin AppChooserDialog Source # 
Instance details

Defined in GI.Gtk.Objects.AppChooserDialog

IsBin AboutDialog Source # 
Instance details

Defined in GI.Gtk.Objects.AboutDialog

IsBin Assistant Source # 
Instance details

Defined in GI.Gtk.Objects.Assistant

toBin :: (MonadIO m, IsBin o) => o -> m Bin Source #

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

noBin :: Maybe Bin Source #

A convenience alias for Nothing :: Maybe Bin.

Methods

getChild

binGetChild Source #

Arguments

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

bin: a Bin

-> m (Maybe Widget)

Returns: the child of bin, or Nothing if it does not have a child.

Gets the child of the Bin, or Nothing if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.