gi-gtk-3.0.11: 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 #

Constructors

Bin (ManagedPtr Bin) 

Instances

GObject Bin Source # 

Methods

gobjectType :: Bin -> IO GType #

IsImplementorIface Bin Source # 
IsObject Bin Source # 
IsWidget Bin Source # 
IsContainer Bin Source # 
IsBin Bin Source # 
IsBuildable Bin Source # 
((~) * info (ResolveBinMethod t Bin), MethodInfo * info Bin p) => IsLabel t (Bin -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Bin -> p #

((~) * info (ResolveBinMethod t Bin), MethodInfo * info Bin p) => IsLabelProxy t (Bin -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Bin -> p #

HasAttributeList * Bin Source # 
type AttributeList Bin Source # 
type SignalList Bin Source # 

class GObject o => IsBin o Source #

Instances

(GObject a, UnknownAncestorError Constraint Bin a) => IsBin a Source # 
IsBin Window Source # 
IsBin ToolItem Source # 
IsBin ToolButton Source # 
IsBin ToggleToolButton Source # 
IsBin ToggleButton Source # 
IsBin ShortcutsWindow Source # 
IsBin ScrolledWindow Source # 
IsBin ScaleButton Source # 
IsBin RadioButton Source # 
IsBin Popover Source # 
IsBin MenuItem Source # 
IsBin ListBoxRow Source # 
IsBin Frame Source # 
IsBin FlowBoxChild Source # 
IsBin Dialog Source # 
IsBin ComboBox Source # 
IsBin CheckMenuItem Source # 
IsBin CheckButton Source # 
IsBin Button Source # 
IsBin Bin Source # 
IsBin ActionBar Source # 
IsBin Alignment Source # 
IsBin ApplicationWindow Source # 
IsBin AspectFrame Source # 
IsBin ColorChooserDialog Source # 
IsBin ColorSelectionDialog Source # 
IsBin ComboBoxText Source # 
IsBin EventBox Source # 
IsBin Expander Source # 
IsBin FileChooserDialog Source # 
IsBin FontChooserDialog Source # 
IsBin FontSelectionDialog Source # 
IsBin OffscreenWindow Source # 
IsBin Overlay Source # 
IsBin Plug Source # 
IsBin PopoverMenu Source # 
IsBin RecentChooserDialog Source # 
IsBin SearchBar Source # 
IsBin StackSidebar Source # 
IsBin AppChooserButton Source # 
IsBin SeparatorToolItem Source # 
IsBin ColorButton Source # 
IsBin FontButton Source # 
IsBin ImageMenuItem Source # 
IsBin LinkButton Source # 
IsBin LockButton Source # 
IsBin MenuToolButton Source # 
IsBin RadioMenuItem Source # 
IsBin RadioToolButton Source # 
IsBin SeparatorMenuItem Source # 
IsBin TearoffMenuItem Source # 
IsBin VolumeButton Source # 
IsBin AppChooserDialog Source # 
IsBin PlacesSidebar Source # 
IsBin AboutDialog Source # 
IsBin HandleBox Source # 
IsBin MenuButton Source # 
IsBin MessageDialog Source # 
IsBin ModelButton Source # 
IsBin Revealer Source # 
IsBin Viewport Source # 
IsBin Assistant Source # 

toBin :: IsBin o => o -> IO Bin Source #

Methods

getChild

data BinGetChildMethodInfo Source #

Instances

((~) * signature (m Widget), MonadIO m, IsBin a) => MethodInfo * BinGetChildMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy BinGetChildMethodInfo a -> signature -> s #

binGetChild Source #

Arguments

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

bin: a Bin

-> m Widget

Returns: pointer to child of the Bin

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.