Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype ButtonBox = ButtonBox (ManagedPtr ButtonBox)
- class GObject o => IsButtonBox o
- toButtonBox :: IsButtonBox o => o -> IO ButtonBox
- noButtonBox :: Maybe ButtonBox
- data ButtonBoxGetChildNonHomogeneousMethodInfo
- buttonBoxGetChildNonHomogeneous :: (HasCallStack, MonadIO m, IsButtonBox a, IsWidget b) => a -> b -> m Bool
- data ButtonBoxGetChildSecondaryMethodInfo
- buttonBoxGetChildSecondary :: (HasCallStack, MonadIO m, IsButtonBox a, IsWidget b) => a -> b -> m Bool
- data ButtonBoxGetLayoutMethodInfo
- buttonBoxGetLayout :: (HasCallStack, MonadIO m, IsButtonBox a) => a -> m ButtonBoxStyle
- buttonBoxNew :: (HasCallStack, MonadIO m) => Orientation -> m ButtonBox
- data ButtonBoxSetChildNonHomogeneousMethodInfo
- buttonBoxSetChildNonHomogeneous :: (HasCallStack, MonadIO m, IsButtonBox a, IsWidget b) => a -> b -> Bool -> m ()
- data ButtonBoxSetChildSecondaryMethodInfo
- buttonBoxSetChildSecondary :: (HasCallStack, MonadIO m, IsButtonBox a, IsWidget b) => a -> b -> Bool -> m ()
- data ButtonBoxSetLayoutMethodInfo
- buttonBoxSetLayout :: (HasCallStack, MonadIO m, IsButtonBox a) => a -> ButtonBoxStyle -> m ()
- data ButtonBoxLayoutStylePropertyInfo
- buttonBoxLayoutStyle :: AttrLabelProxy "layoutStyle"
- constructButtonBoxLayoutStyle :: IsButtonBox o => ButtonBoxStyle -> IO (GValueConstruct o)
- getButtonBoxLayoutStyle :: (MonadIO m, IsButtonBox o) => o -> m ButtonBoxStyle
- setButtonBoxLayoutStyle :: (MonadIO m, IsButtonBox o) => o -> ButtonBoxStyle -> m ()
Exported types
GObject ButtonBox Source # | |
IsImplementorIface ButtonBox Source # | |
IsObject ButtonBox Source # | |
IsWidget ButtonBox Source # | |
IsContainer ButtonBox Source # | |
IsButtonBox ButtonBox Source # | |
IsBox ButtonBox Source # | |
IsOrientable ButtonBox Source # | |
IsBuildable ButtonBox Source # | |
((~) * info (ResolveButtonBoxMethod t ButtonBox), MethodInfo * info ButtonBox p) => IsLabel t (ButtonBox -> p) Source # | |
((~) * info (ResolveButtonBoxMethod t ButtonBox), MethodInfo * info ButtonBox p) => IsLabelProxy t (ButtonBox -> p) Source # | |
HasAttributeList * ButtonBox Source # | |
type AttributeList ButtonBox Source # | |
type SignalList ButtonBox Source # | |
class GObject o => IsButtonBox o Source #
toButtonBox :: IsButtonBox o => o -> IO ButtonBox Source #
Methods
getChildNonHomogeneous
data ButtonBoxGetChildNonHomogeneousMethodInfo Source #
((~) * signature (b -> m Bool), MonadIO m, IsButtonBox a, IsWidget b) => MethodInfo * ButtonBoxGetChildNonHomogeneousMethodInfo a signature Source # | |
buttonBoxGetChildNonHomogeneous Source #
:: (HasCallStack, MonadIO m, IsButtonBox a, IsWidget b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: |
Returns whether the child is exempted from homogenous sizing.
Since: 3.2
getChildSecondary
data ButtonBoxGetChildSecondaryMethodInfo Source #
((~) * signature (b -> m Bool), MonadIO m, IsButtonBox a, IsWidget b) => MethodInfo * ButtonBoxGetChildSecondaryMethodInfo a signature Source # | |
buttonBoxGetChildSecondary Source #
:: (HasCallStack, MonadIO m, IsButtonBox a, IsWidget b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: whether |
Returns whether child
should appear in a secondary group of children.
Since: 2.4
getLayout
data ButtonBoxGetLayoutMethodInfo Source #
((~) * signature (m ButtonBoxStyle), MonadIO m, IsButtonBox a) => MethodInfo * ButtonBoxGetLayoutMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsButtonBox a) | |
=> a |
|
-> m ButtonBoxStyle | Returns: the method used to lay out buttons in |
Retrieves the method being used to arrange the buttons in a button box.
new
:: (HasCallStack, MonadIO m) | |
=> Orientation |
|
-> m ButtonBox | Returns: a new |
Creates a new ButtonBox
.
Since: 3.0
setChildNonHomogeneous
data ButtonBoxSetChildNonHomogeneousMethodInfo Source #
((~) * signature (b -> Bool -> m ()), MonadIO m, IsButtonBox a, IsWidget b) => MethodInfo * ButtonBoxSetChildNonHomogeneousMethodInfo a signature Source # | |
buttonBoxSetChildNonHomogeneous Source #
:: (HasCallStack, MonadIO m, IsButtonBox a, IsWidget b) | |
=> a |
|
-> b |
|
-> Bool |
|
-> m () |
Sets whether the child is exempted from homogeous sizing.
Since: 3.2
setChildSecondary
data ButtonBoxSetChildSecondaryMethodInfo Source #
((~) * signature (b -> Bool -> m ()), MonadIO m, IsButtonBox a, IsWidget b) => MethodInfo * ButtonBoxSetChildSecondaryMethodInfo a signature Source # | |
buttonBoxSetChildSecondary Source #
:: (HasCallStack, MonadIO m, IsButtonBox a, IsWidget b) | |
=> a |
|
-> b |
|
-> Bool |
|
-> 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
data ButtonBoxSetLayoutMethodInfo Source #
((~) * signature (ButtonBoxStyle -> m ()), MonadIO m, IsButtonBox a) => MethodInfo * ButtonBoxSetLayoutMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsButtonBox a) | |
=> a |
|
-> ButtonBoxStyle |
|
-> m () |
Changes the way buttons are arranged in their container.
Properties
layoutStyle
data ButtonBoxLayoutStylePropertyInfo Source #
buttonBoxLayoutStyle :: AttrLabelProxy "layoutStyle" Source #
constructButtonBoxLayoutStyle :: IsButtonBox o => ButtonBoxStyle -> IO (GValueConstruct o) Source #
getButtonBoxLayoutStyle :: (MonadIO m, IsButtonBox o) => o -> m ButtonBoxStyle Source #
setButtonBoxLayoutStyle :: (MonadIO m, IsButtonBox o) => o -> ButtonBoxStyle -> m () Source #