Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The Column
widget limits the size of the widget it contains to a given
maximum width. The expansion of the child from its minimum to its maximum
size is eased out for a smooth transition.
If the child requires more than the requested maximum width, it will be allocated the minimum width it can fit in instead.
Synopsis
- newtype Column = Column (ManagedPtr Column)
- class (GObject o, IsDescendantOf Column o) => IsColumn o
- toColumn :: (MonadIO m, IsColumn o) => o -> m Column
- columnGetLinearGrowthWidth :: (HasCallStack, MonadIO m, IsColumn a) => a -> m Int32
- columnGetMaximumWidth :: (HasCallStack, MonadIO m, IsColumn a) => a -> m Int32
- columnNew :: (HasCallStack, MonadIO m) => m Column
- columnSetLinearGrowthWidth :: (HasCallStack, MonadIO m, IsColumn a) => a -> Int32 -> m ()
- columnSetMaximumWidth :: (HasCallStack, MonadIO m, IsColumn a) => a -> Int32 -> m ()
- constructColumnLinearGrowthWidth :: (IsColumn o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getColumnLinearGrowthWidth :: (MonadIO m, IsColumn o) => o -> m Int32
- setColumnLinearGrowthWidth :: (MonadIO m, IsColumn o) => o -> Int32 -> m ()
- constructColumnMaximumWidth :: (IsColumn o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getColumnMaximumWidth :: (MonadIO m, IsColumn o) => o -> m Int32
- setColumnMaximumWidth :: (MonadIO m, IsColumn o) => o -> Int32 -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Column Source # | |
GObject Column Source # | |
Defined in GI.Handy.Objects.Column | |
ManagedPtrNewtype Column Source # | |
Defined in GI.Handy.Objects.Column toManagedPtr :: Column -> ManagedPtr Column | |
TypedObject Column Source # | |
Defined in GI.Handy.Objects.Column | |
HasParentTypes Column Source # | |
Defined in GI.Handy.Objects.Column | |
IsGValue (Maybe Column) Source # | Convert |
Defined in GI.Handy.Objects.Column gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Column -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Column) | |
type ParentTypes Column Source # | |
Defined in GI.Handy.Objects.Column |
class (GObject o, IsDescendantOf Column o) => IsColumn o Source #
Instances
(GObject o, IsDescendantOf Column o) => IsColumn o Source # | |
Defined in GI.Handy.Objects.Column |
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, parserFinished, path, propagateDraw, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, ref, refSink, regionIntersect, registerWindow, remove, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, 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, getBorderWidth, getCanDefault, getCanFocus, getChild, getChildRequisition, 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, getInternalChild, getLinearGrowthWidth, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getMaximumWidth, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, 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, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBorderWidth, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusChain, setFocusChild, setFocusHadjustment, setFocusOnClick, setFocusVadjustment, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setLinearGrowthWidth, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setMaximumWidth, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getLinearGrowthWidth
columnGetLinearGrowthWidth Source #
:: (HasCallStack, MonadIO m, IsColumn a) | |
=> a |
|
-> m Int32 | Returns: the width up to which the child will be allocated all the available width. |
Gets the width up to which the child will be allocated all the available width and starting from which it will be allocated a portion of the available width. In bith cases the allocated width won't exceed the declared maximum.
getMaximumWidth
columnGetMaximumWidth Source #
:: (HasCallStack, MonadIO m, IsColumn a) | |
=> a |
|
-> m Int32 | Returns: the maximum width to allocate to the contained child. |
Gets the maximum width to allocate to the contained child.
new
:: (HasCallStack, MonadIO m) | |
=> m Column | Returns: a new |
Creates a new Column
.
setLinearGrowthWidth
columnSetLinearGrowthWidth Source #
:: (HasCallStack, MonadIO m, IsColumn a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the width up to which the child will be allocated all the available width and starting from which it will be allocated a portion of the available width. In bith cases the allocated width won't exceed the declared maximum.
setMaximumWidth
columnSetMaximumWidth Source #
:: (HasCallStack, MonadIO m, IsColumn a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the maximum width to allocate to the contained child.
Properties
linearGrowthWidth
No description available in the introspection data.
constructColumnLinearGrowthWidth :: (IsColumn o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “linear-growth-width
” property. This is rarely needed directly, but it is used by new
.
getColumnLinearGrowthWidth :: (MonadIO m, IsColumn o) => o -> m Int32 Source #
Get the value of the “linear-growth-width
” property.
When overloading is enabled, this is equivalent to
get
column #linearGrowthWidth
setColumnLinearGrowthWidth :: (MonadIO m, IsColumn o) => o -> Int32 -> m () Source #
Set the value of the “linear-growth-width
” property.
When overloading is enabled, this is equivalent to
set
column [ #linearGrowthWidth:=
value ]
maximumWidth
No description available in the introspection data.
constructColumnMaximumWidth :: (IsColumn o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “maximum-width
” property. This is rarely needed directly, but it is used by new
.
getColumnMaximumWidth :: (MonadIO m, IsColumn o) => o -> m Int32 Source #
Get the value of the “maximum-width
” property.
When overloading is enabled, this is equivalent to
get
column #maximumWidth
setColumnMaximumWidth :: (MonadIO m, IsColumn o) => o -> Int32 -> m () Source #
Set the value of the “maximum-width
” property.
When overloading is enabled, this is equivalent to
set
column [ #maximumWidth:=
value ]