Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.Gtk.Objects.ButtonBox
Description
No description available in the introspection data.
Synopsis
- newtype ButtonBox = ButtonBox (ManagedPtr ButtonBox)
- class (GObject o, IsDescendantOf ButtonBox o) => IsButtonBox o
- toButtonBox :: (MonadIO m, IsButtonBox o) => o -> m ButtonBox
- type family ResolveButtonBoxMethod (t :: Symbol) o where ...
- 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, MonadIO m) => ButtonBoxStyle -> m (GValueConstruct o)
- getButtonBoxLayoutStyle :: (MonadIO m, IsButtonBox o) => o -> m ButtonBoxStyle
- setButtonBoxLayoutStyle :: (MonadIO m, IsButtonBox o) => o -> ButtonBoxStyle -> m ()
Exported types
Memory-managed wrapper type.
Constructors
ButtonBox (ManagedPtr ButtonBox) |
Instances
class (GObject o, IsDescendantOf ButtonBox o) => IsButtonBox o Source #
Type class for types which can be safely cast to ButtonBox
, for instance with toButtonBox
.
Instances
(GObject o, IsDescendantOf ButtonBox o) => IsButtonBox o Source # | |
Defined in GI.Gtk.Objects.ButtonBox |
toButtonBox :: (MonadIO m, IsButtonBox o) => o -> m ButtonBox Source #
Methods
Click to display all available methods, including inherited ones
Methods
activate, add, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, checkResize, childFocus, childGetProperty, childNotify, childNotifyByPspec, childSetProperty, childType, classPath, computeExpand, constructChild, createPangoContext, createPangoLayout, customFinished, customTagEnd, customTagStart, destroy, destroyed, deviceIsShadowed, dragBegin, dragBeginWithCoordinates, dragCheckThreshold, dragDestAddImageTargets, dragDestAddTextTargets, dragDestAddUriTargets, dragDestFindTarget, dragDestGetTargetList, dragDestGetTrackMotion, dragDestSet, dragDestSetProxy, dragDestSetTargetList, dragDestSetTrackMotion, dragDestUnset, dragGetData, dragHighlight, dragSourceAddImageTargets, dragSourceAddTextTargets, dragSourceAddUriTargets, dragSourceGetTargetList, dragSourceSet, dragSourceSetIconGicon, dragSourceSetIconName, dragSourceSetIconPixbuf, dragSourceSetIconStock, dragSourceSetTargetList, dragSourceUnset, dragUnhighlight, draw, ensureStyle, errorBell, event, forall, forceFloating, foreach, freezeChildNotify, freezeNotify, getv, grabAdd, grabDefault, grabFocus, grabRemove, hasDefault, hasFocus, hasGrab, hasRcStyle, hasScreen, hasVisibleFocus, hide, hideOnDelete, inDestruction, initTemplate, inputShapeCombineRegion, insertActionGroup, intersect, isAncestor, isComposited, isDrawable, isFloating, isFocus, isSensitive, isToplevel, isVisible, keynavFailed, listAccelClosures, listActionPrefixes, listMnemonicLabels, map, mnemonicActivate, modifyBase, modifyBg, modifyCursor, modifyFg, modifyFont, modifyStyle, modifyText, notify, notifyByPspec, overrideBackgroundColor, overrideColor, overrideCursor, overrideFont, overrideSymbolicColor, packEnd, packStart, parserFinished, path, propagateDraw, queryChildPacking, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reorderChild, reparent, resetRcStyles, resetStyle, resizeChildren, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetFocusChain, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getBaselinePosition, getBorderWidth, getCanDefault, getCanFocus, getCenterWidget, getChildNonHomogeneous, getChildRequisition, getChildSecondary, getChildVisible, getChildren, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEvents, getFocusChain, getFocusChild, getFocusHadjustment, getFocusOnClick, getFocusVadjustment, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getHomogeneous, getInternalChild, getLayout, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getOrientation, getPangoContext, getParent, getParentWindow, getPath, getPathForChild, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRequisition, getResizeMode, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getSpacing, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBaselinePosition, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setCenterWidget, setChildNonHomogeneous, setChildPacking, setChildSecondary, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setHomogeneous, setLayout, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setOrientation, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setSpacing, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
type family ResolveButtonBoxMethod (t :: Symbol) o where ... Source #
Equations
getChildNonHomogeneous
data ButtonBoxGetChildNonHomogeneousMethodInfo Source #
Instances
(signature ~ (b -> m Bool), MonadIO m, IsButtonBox a, IsWidget b) => OverloadedMethod ButtonBoxGetChildNonHomogeneousMethodInfo a signature Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ButtonBoxGetChildNonHomogeneousMethodInfo (a :: Type) Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods |
buttonBoxGetChildNonHomogeneous Source #
Arguments
:: (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 #
Instances
(signature ~ (b -> m Bool), MonadIO m, IsButtonBox a, IsWidget b) => OverloadedMethod ButtonBoxGetChildSecondaryMethodInfo a signature Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ButtonBoxGetChildSecondaryMethodInfo (a :: Type) Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods |
buttonBoxGetChildSecondary Source #
Arguments
:: (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 #
Instances
(signature ~ m ButtonBoxStyle, MonadIO m, IsButtonBox a) => OverloadedMethod ButtonBoxGetLayoutMethodInfo a signature Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ButtonBoxGetLayoutMethodInfo (a :: Type) Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods |
Arguments
:: (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
Arguments
:: (HasCallStack, MonadIO m) | |
=> Orientation |
|
-> m ButtonBox | Returns: a new |
Creates a new ButtonBox
.
Since: 3.0
setChildNonHomogeneous
data ButtonBoxSetChildNonHomogeneousMethodInfo Source #
Instances
(signature ~ (b -> Bool -> m ()), MonadIO m, IsButtonBox a, IsWidget b) => OverloadedMethod ButtonBoxSetChildNonHomogeneousMethodInfo a signature Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ButtonBoxSetChildNonHomogeneousMethodInfo (a :: Type) Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods |
buttonBoxSetChildNonHomogeneous Source #
Arguments
:: (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 #
Instances
(signature ~ (b -> Bool -> m ()), MonadIO m, IsButtonBox a, IsWidget b) => OverloadedMethod ButtonBoxSetChildSecondaryMethodInfo a signature Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ButtonBoxSetChildSecondaryMethodInfo (a :: Type) Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods |
buttonBoxSetChildSecondary Source #
Arguments
:: (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 #
Instances
(signature ~ (ButtonBoxStyle -> m ()), MonadIO m, IsButtonBox a) => OverloadedMethod ButtonBoxSetLayoutMethodInfo a signature Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo ButtonBoxSetLayoutMethodInfo (a :: Type) Source # | |
Defined in GI.Gtk.Objects.ButtonBox Methods |
Arguments
:: (HasCallStack, MonadIO m, IsButtonBox a) | |
=> a |
|
-> ButtonBoxStyle |
|
-> m () |
Changes the way buttons are arranged in their container.
Properties
layoutStyle
No description available in the introspection data.
data ButtonBoxLayoutStylePropertyInfo Source #
Instances
buttonBoxLayoutStyle :: AttrLabelProxy "layoutStyle" Source #
constructButtonBoxLayoutStyle :: (IsButtonBox o, MonadIO m) => ButtonBoxStyle -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “layout-style
” property. This is rarely needed directly, but it is used by new
.
getButtonBoxLayoutStyle :: (MonadIO m, IsButtonBox o) => o -> m ButtonBoxStyle Source #
Get the value of the “layout-style
” property.
When overloading is enabled, this is equivalent to
get
buttonBox #layoutStyle
setButtonBoxLayoutStyle :: (MonadIO m, IsButtonBox o) => o -> ButtonBoxStyle -> m () Source #
Set the value of the “layout-style
” property.
When overloading is enabled, this is equivalent to
set
buttonBox [ #layoutStyle:=
value ]