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 |
Synopsis
- newtype ToolShell = ToolShell (ManagedPtr ToolShell)
- class (GObject o, IsDescendantOf ToolShell o) => IsToolShell o
- toToolShell :: (MonadIO m, IsToolShell o) => o -> m ToolShell
- toolShellGetEllipsizeMode :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m EllipsizeMode
- toolShellGetIconSize :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m Int32
- toolShellGetOrientation :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m Orientation
- toolShellGetReliefStyle :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m ReliefStyle
- toolShellGetStyle :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m ToolbarStyle
- toolShellGetTextAlignment :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m Float
- toolShellGetTextOrientation :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m Orientation
- toolShellGetTextSizeGroup :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m SizeGroup
- toolShellRebuildMenu :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq ToolShell Source # | |
GObject ToolShell Source # | |
Defined in GI.Gtk.Interfaces.ToolShell | |
ManagedPtrNewtype ToolShell Source # | |
Defined in GI.Gtk.Interfaces.ToolShell toManagedPtr :: ToolShell -> ManagedPtr ToolShell | |
TypedObject ToolShell Source # | |
Defined in GI.Gtk.Interfaces.ToolShell | |
HasParentTypes ToolShell Source # | |
Defined in GI.Gtk.Interfaces.ToolShell | |
IsGValue (Maybe ToolShell) Source # | Convert |
Defined in GI.Gtk.Interfaces.ToolShell gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ToolShell -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ToolShell) | |
type ParentTypes ToolShell Source # | |
Defined in GI.Gtk.Interfaces.ToolShell |
class (GObject o, IsDescendantOf ToolShell o) => IsToolShell o Source #
Type class for types which can be safely cast to ToolShell
, for instance with toToolShell
.
Instances
(GObject o, IsDescendantOf ToolShell o) => IsToolShell o Source # | |
Defined in GI.Gtk.Interfaces.ToolShell |
toToolShell :: (MonadIO m, IsToolShell o) => o -> m ToolShell Source #
Methods
Click to display all available methods, including inherited ones
Methods
activate, addAccelerator, addChild, addDeviceEvents, addEvents, addMnemonicLabel, addTickCallback, bindProperty, bindPropertyFull, canActivateAccel, childFocus, childNotify, 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, forceFloating, 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, queueAllocate, queueComputeExpand, queueDraw, queueDrawArea, queueDrawRegion, queueResize, queueResizeNoRedraw, realize, rebuildMenu, ref, refSink, regionIntersect, registerWindow, removeAccelerator, removeMnemonicLabel, removeTickCallback, renderIcon, renderIconPixbuf, reparent, resetRcStyles, resetStyle, runDispose, sendExpose, sendFocusChange, shapeCombineRegion, show, showAll, showNow, sizeAllocate, sizeAllocateWithBaseline, sizeRequest, stealData, stealQdata, styleAttach, styleGetProperty, thawChildNotify, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unregisterWindow, unsetStateFlags, watchClosure.
Getters
getAccessible, getActionGroup, getAllocatedBaseline, getAllocatedHeight, getAllocatedSize, getAllocatedWidth, getAllocation, getAncestor, getAppPaintable, getCanDefault, getCanFocus, getChildRequisition, getChildVisible, getClip, getClipboard, getCompositeName, getData, getDeviceEnabled, getDeviceEvents, getDirection, getDisplay, getDoubleBuffered, getEllipsizeMode, getEvents, getFocusOnClick, getFontMap, getFontOptions, getFrameClock, getHalign, getHasTooltip, getHasWindow, getHexpand, getHexpandSet, getIconSize, getInternalChild, getMapped, getMarginBottom, getMarginEnd, getMarginLeft, getMarginRight, getMarginStart, getMarginTop, getModifierMask, getModifierStyle, getName, getNoShowAll, getOpacity, getOrientation, getPangoContext, getParent, getParentWindow, getPath, getPointer, getPreferredHeight, getPreferredHeightAndBaselineForWidth, getPreferredHeightForWidth, getPreferredSize, getPreferredWidth, getPreferredWidthForHeight, getProperty, getQdata, getRealized, getReceivesDefault, getReliefStyle, getRequestMode, getRequisition, getRootWindow, getScaleFactor, getScreen, getSensitive, getSettings, getSizeRequest, getState, getStateFlags, getStyle, getStyleContext, getSupportMultidevice, getTemplateChild, getTextAlignment, getTextOrientation, getTextSizeGroup, getTooltipMarkup, getTooltipText, getTooltipWindow, getToplevel, getValign, getValignWithBaseline, getVexpand, getVexpandSet, getVisible, getVisual, getWindow.
Setters
setAccelPath, setAllocation, setAppPaintable, setBuildableProperty, setCanDefault, setCanFocus, setChildVisible, setClip, setCompositeName, setData, setDataFull, setDeviceEnabled, setDeviceEvents, setDirection, setDoubleBuffered, setEvents, setFocusOnClick, setFontMap, setFontOptions, setHalign, setHasTooltip, setHasWindow, setHexpand, setHexpandSet, setMapped, setMarginBottom, setMarginEnd, setMarginLeft, setMarginRight, setMarginStart, setMarginTop, setName, setNoShowAll, setOpacity, setParent, setParentWindow, setProperty, setRealized, setReceivesDefault, setRedrawOnAllocate, setSensitive, setSizeRequest, setState, setStateFlags, setStyle, setSupportMultidevice, setTooltipMarkup, setTooltipText, setTooltipWindow, setValign, setVexpand, setVexpandSet, setVisible, setVisual, setWindow.
getEllipsizeMode
toolShellGetEllipsizeMode Source #
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m EllipsizeMode | Returns: the current ellipsize mode of |
Retrieves the current ellipsize mode for the tool shell. Tool items must not
call this function directly, but rely on toolItemGetEllipsizeMode
instead.
Since: 2.20
getIconSize
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m Int32 | Returns: the current size (t |
Retrieves the icon size for the tool shell. Tool items must not call this
function directly, but rely on toolItemGetIconSize
instead.
Since: 2.14
getOrientation
toolShellGetOrientation Source #
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m Orientation | Returns: the current orientation of |
Retrieves the current orientation for the tool shell. Tool items must not
call this function directly, but rely on toolItemGetOrientation
instead.
Since: 2.14
getReliefStyle
toolShellGetReliefStyle Source #
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m ReliefStyle | Returns: The relief style of buttons on |
Returns the relief style of buttons on shell
. Tool items must not call this
function directly, but rely on toolItemGetReliefStyle
instead.
Since: 2.14
getStyle
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m ToolbarStyle | Returns: the current style of |
Retrieves whether the tool shell has text, icons, or both. Tool items must
not call this function directly, but rely on toolItemGetToolbarStyle
instead.
Since: 2.14
getTextAlignment
toolShellGetTextAlignment Source #
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m Float | Returns: the current text alignment of |
Retrieves the current text alignment for the tool shell. Tool items must not
call this function directly, but rely on toolItemGetTextAlignment
instead.
Since: 2.20
getTextOrientation
toolShellGetTextOrientation Source #
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m Orientation | Returns: the current text orientation of |
Retrieves the current text orientation for the tool shell. Tool items must not
call this function directly, but rely on toolItemGetTextOrientation
instead.
Since: 2.20
getTextSizeGroup
toolShellGetTextSizeGroup Source #
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m SizeGroup | Returns: the current text size group of |
Retrieves the current text size group for the tool shell. Tool items must not
call this function directly, but rely on toolItemGetTextSizeGroup
instead.
Since: 2.20
rebuildMenu
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m () |
Calling this function signals the tool shell that the overflow menu item for tool items have changed. If there is an overflow menu and if it is visible when this function it called, the menu will be rebuilt.
Tool items must not call this function directly, but rely on
toolItemRebuildMenu
instead.
Since: 2.14