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.ButtonBox

Contents

Description

 

Synopsis

Exported types

Methods

getChildNonHomogeneous

buttonBoxGetChildNonHomogeneous Source #

Arguments

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

widget: a ButtonBox

-> b

child: a child of widget

-> m Bool

Returns: True if the child is not subject to homogenous sizing

Returns whether the child is exempted from homogenous sizing.

Since: 3.2

getChildSecondary

buttonBoxGetChildSecondary Source #

Arguments

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

widget: a ButtonBox

-> b

child: a child of widget

-> m Bool

Returns: whether child should appear in a secondary group of children.

Returns whether child should appear in a secondary group of children.

Since: 2.4

getLayout

buttonBoxGetLayout Source #

Arguments

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

widget: a ButtonBox

-> m ButtonBoxStyle

Returns: the method used to lay out buttons in widget.

Retrieves the method being used to arrange the buttons in a button box.

new

buttonBoxNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Orientation

orientation: the box's orientation.

-> m ButtonBox

Returns: a new ButtonBox.

Creates a new ButtonBox.

Since: 3.0

setChildNonHomogeneous

buttonBoxSetChildNonHomogeneous Source #

Arguments

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

widget: a ButtonBox

-> b

child: a child of widget

-> Bool

nonHomogeneous: the new value

-> m () 

Sets whether the child is exempted from homogeous sizing.

Since: 3.2

setChildSecondary

buttonBoxSetChildSecondary Source #

Arguments

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

widget: a ButtonBox

-> b

child: a child of widget

-> Bool

isSecondary: if True, the child appears in a secondary group of the button box.

-> m () 

Sets whether child should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog.

This group appears after the other children if the style is ButtonBoxStyleStart, ButtonBoxStyleSpread or ButtonBoxStyleEdge, and before the other children if the style is ButtonBoxStyleEnd. For horizontal button boxes, the definition of before/after depends on direction of the widget (see widgetSetDirection). If the style is ButtonBoxStyleStart or ButtonBoxStyleEnd, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children.

setLayout

buttonBoxSetLayout Source #

Arguments

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

widget: a ButtonBox

-> ButtonBoxStyle

layoutStyle: the new layout style

-> m () 

Changes the way buttons are arranged in their container.

Properties

layoutStyle

data ButtonBoxLayoutStylePropertyInfo Source #

Instances

AttrInfo ButtonBoxLayoutStylePropertyInfo Source # 
type AttrOrigin ButtonBoxLayoutStylePropertyInfo Source # 
type AttrLabel ButtonBoxLayoutStylePropertyInfo Source # 
type AttrGetType ButtonBoxLayoutStylePropertyInfo Source # 
type AttrBaseTypeConstraint ButtonBoxLayoutStylePropertyInfo Source # 
type AttrSetTypeConstraint ButtonBoxLayoutStylePropertyInfo Source # 
type AttrAllowedOps ButtonBoxLayoutStylePropertyInfo Source #