| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Dazzle.Objects.MultiPaned
Description
This widget is similar to Paned except that it allows adding more than
two children to the widget. For each additional child added to the
MultiPaned, an additional resize grip is added.
Synopsis
- newtype MultiPaned = MultiPaned (ManagedPtr MultiPaned)
- class (GObject o, IsDescendantOf MultiPaned o) => IsMultiPaned o
- toMultiPaned :: (MonadIO m, IsMultiPaned o) => o -> m MultiPaned
- multiPanedGetAtPoint :: (HasCallStack, MonadIO m, IsMultiPaned a) => a -> Int32 -> Int32 -> m (Maybe Widget)
- multiPanedGetNChildren :: (HasCallStack, MonadIO m, IsMultiPaned a) => a -> m Word32
- multiPanedGetNthChild :: (HasCallStack, MonadIO m, IsMultiPaned a) => a -> Word32 -> m Widget
- multiPanedNew :: (HasCallStack, MonadIO m) => m MultiPaned
- constructMultiPanedOrientation :: (IsMultiPaned o, MonadIO m) => Orientation -> m (GValueConstruct o)
- getMultiPanedOrientation :: (MonadIO m, IsMultiPaned o) => o -> m Orientation
- setMultiPanedOrientation :: (MonadIO m, IsMultiPaned o) => o -> Orientation -> m ()
- type MultiPanedResizeDragBeginCallback = Widget -> IO ()
- afterMultiPanedResizeDragBegin :: (IsMultiPaned a, MonadIO m) => a -> ((?self :: a) => MultiPanedResizeDragBeginCallback) -> m SignalHandlerId
- onMultiPanedResizeDragBegin :: (IsMultiPaned a, MonadIO m) => a -> ((?self :: a) => MultiPanedResizeDragBeginCallback) -> m SignalHandlerId
- type MultiPanedResizeDragEndCallback = Widget -> IO ()
- afterMultiPanedResizeDragEnd :: (IsMultiPaned a, MonadIO m) => a -> ((?self :: a) => MultiPanedResizeDragEndCallback) -> m SignalHandlerId
- onMultiPanedResizeDragEnd :: (IsMultiPaned a, MonadIO m) => a -> ((?self :: a) => MultiPanedResizeDragEndCallback) -> m SignalHandlerId
Exported types
newtype MultiPaned Source #
Memory-managed wrapper type.
Constructors
| MultiPaned (ManagedPtr MultiPaned) |
Instances
| Eq MultiPaned Source # | |
Defined in GI.Dazzle.Objects.MultiPaned | |
| GObject MultiPaned Source # | |
Defined in GI.Dazzle.Objects.MultiPaned | |
| ManagedPtrNewtype MultiPaned Source # | |
Defined in GI.Dazzle.Objects.MultiPaned Methods toManagedPtr :: MultiPaned -> ManagedPtr MultiPaned | |
| TypedObject MultiPaned Source # | |
Defined in GI.Dazzle.Objects.MultiPaned | |
| HasParentTypes MultiPaned Source # | |
Defined in GI.Dazzle.Objects.MultiPaned | |
| IsGValue (Maybe MultiPaned) Source # | Convert |
Defined in GI.Dazzle.Objects.MultiPaned Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe MultiPaned -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe MultiPaned) | |
| type ParentTypes MultiPaned Source # | |
Defined in GI.Dazzle.Objects.MultiPaned type ParentTypes MultiPaned = '[Container, Widget, Object, ImplementorIface, Buildable, Orientable] | |
class (GObject o, IsDescendantOf MultiPaned o) => IsMultiPaned o Source #
Type class for types which can be safely cast to MultiPaned, for instance with toMultiPaned.
Instances
| (GObject o, IsDescendantOf MultiPaned o) => IsMultiPaned o Source # | |
Defined in GI.Dazzle.Objects.MultiPaned | |
toMultiPaned :: (MonadIO m, IsMultiPaned o) => o -> m MultiPaned Source #
Cast to MultiPaned, for types for which this is known to be safe. For general casts, use castTo.
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, getAtPoint, getBorderWidth, getCanDefault, getCanFocus, 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, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getNChildren, getName, getNoShowAll, getNthChild, 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, 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, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setOrientation, setParent, setParentWindow, setProperty, setRealized, setReallocateRedraws, setReceivesDefault, setRedrawOnAllocate, setResizeMode, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getAtPoint
Arguments
| :: (HasCallStack, MonadIO m, IsMultiPaned a) | |
| => a |
|
| -> Int32 |
|
| -> Int32 |
|
| -> m (Maybe Widget) |
Locates the widget at position x,y within widget.
x and y should be relative to self.
Since: 3.28
getNChildren
multiPanedGetNChildren :: (HasCallStack, MonadIO m, IsMultiPaned a) => a -> m Word32 Source #
No description available in the introspection data.
getNthChild
multiPanedGetNthChild Source #
Arguments
| :: (HasCallStack, MonadIO m, IsMultiPaned a) | |
| => a |
|
| -> Word32 | |
| -> m Widget | Returns: A |
Gets the nth child of the MultiPaned.
It is an error to call this function with a value >= the result of
multiPanedGetNthChild.
The index starts from 0.
new
multiPanedNew :: (HasCallStack, MonadIO m) => m MultiPaned Source #
No description available in the introspection data.
Properties
orientation
No description available in the introspection data.
constructMultiPanedOrientation :: (IsMultiPaned o, MonadIO m) => Orientation -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “orientation” property. This is rarely needed directly, but it is used by new.
getMultiPanedOrientation :: (MonadIO m, IsMultiPaned o) => o -> m Orientation Source #
Get the value of the “orientation” property.
When overloading is enabled, this is equivalent to
get multiPaned #orientation
setMultiPanedOrientation :: (MonadIO m, IsMultiPaned o) => o -> Orientation -> m () Source #
Set the value of the “orientation” property.
When overloading is enabled, this is equivalent to
setmultiPaned [ #orientation:=value ]
Signals
resizeDragBegin
type MultiPanedResizeDragBeginCallback = Widget -> IO () Source #
No description available in the introspection data.
afterMultiPanedResizeDragBegin :: (IsMultiPaned a, MonadIO m) => a -> ((?self :: a) => MultiPanedResizeDragBeginCallback) -> m SignalHandlerId Source #
Connect a signal handler for the resizeDragBegin signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after multiPaned #resizeDragBegin callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self parameter.
Note that this requires activating the ImplicitParams GHC extension.
onMultiPanedResizeDragBegin :: (IsMultiPaned a, MonadIO m) => a -> ((?self :: a) => MultiPanedResizeDragBeginCallback) -> m SignalHandlerId Source #
Connect a signal handler for the resizeDragBegin signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on multiPaned #resizeDragBegin callback
resizeDragEnd
type MultiPanedResizeDragEndCallback = Widget -> IO () Source #
No description available in the introspection data.
afterMultiPanedResizeDragEnd :: (IsMultiPaned a, MonadIO m) => a -> ((?self :: a) => MultiPanedResizeDragEndCallback) -> m SignalHandlerId Source #
Connect a signal handler for the resizeDragEnd signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after multiPaned #resizeDragEnd callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self parameter.
Note that this requires activating the ImplicitParams GHC extension.
onMultiPanedResizeDragEnd :: (IsMultiPaned a, MonadIO m) => a -> ((?self :: a) => MultiPanedResizeDragEndCallback) -> m SignalHandlerId Source #
Connect a signal handler for the resizeDragEnd signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on multiPaned #resizeDragEnd callback