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 ToolShell = ToolShell (ManagedPtr ToolShell)
- noToolShell :: Maybe ToolShell
- class GObject o => IsToolShell o
- toToolShell :: IsToolShell o => o -> IO ToolShell
- data ToolShellGetEllipsizeModeMethodInfo
- toolShellGetEllipsizeMode :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m EllipsizeMode
- data ToolShellGetIconSizeMethodInfo
- toolShellGetIconSize :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m Int32
- data ToolShellGetOrientationMethodInfo
- toolShellGetOrientation :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m Orientation
- data ToolShellGetReliefStyleMethodInfo
- toolShellGetReliefStyle :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m ReliefStyle
- data ToolShellGetStyleMethodInfo
- toolShellGetStyle :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m ToolbarStyle
- data ToolShellGetTextAlignmentMethodInfo
- toolShellGetTextAlignment :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m Float
- data ToolShellGetTextOrientationMethodInfo
- toolShellGetTextOrientation :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m Orientation
- data ToolShellGetTextSizeGroupMethodInfo
- toolShellGetTextSizeGroup :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m SizeGroup
- data ToolShellRebuildMenuMethodInfo
- toolShellRebuildMenu :: (HasCallStack, MonadIO m, IsToolShell a) => a -> m ()
Exported types
GObject ToolShell Source # | |
IsObject ToolShell Source # | |
IsWidget ToolShell Source # | |
IsToolShell ToolShell Source # | |
((~) * info (ResolveToolShellMethod t ToolShell), MethodInfo * info ToolShell p) => IsLabel t (ToolShell -> p) Source # | |
((~) * info (ResolveToolShellMethod t ToolShell), MethodInfo * info ToolShell p) => IsLabelProxy t (ToolShell -> p) Source # | |
HasAttributeList * ToolShell Source # | |
type AttributeList ToolShell Source # | |
type SignalList ToolShell Source # | |
class GObject o => IsToolShell o Source #
toToolShell :: IsToolShell o => o -> IO ToolShell Source #
Methods
getEllipsizeMode
data ToolShellGetEllipsizeModeMethodInfo Source #
((~) * signature (m EllipsizeMode), MonadIO m, IsToolShell a) => MethodInfo * ToolShellGetEllipsizeModeMethodInfo a signature Source # | |
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
data ToolShellGetIconSizeMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsToolShell a) => MethodInfo * ToolShellGetIconSizeMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsToolShell a) | |
=> a |
|
-> m Int32 | Returns: the current size ( |
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
data ToolShellGetOrientationMethodInfo Source #
((~) * signature (m Orientation), MonadIO m, IsToolShell a) => MethodInfo * ToolShellGetOrientationMethodInfo a signature Source # | |
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
data ToolShellGetReliefStyleMethodInfo Source #
((~) * signature (m ReliefStyle), MonadIO m, IsToolShell a) => MethodInfo * ToolShellGetReliefStyleMethodInfo a signature Source # | |
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
data ToolShellGetStyleMethodInfo Source #
((~) * signature (m ToolbarStyle), MonadIO m, IsToolShell a) => MethodInfo * ToolShellGetStyleMethodInfo a signature Source # | |
:: (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
data ToolShellGetTextAlignmentMethodInfo Source #
((~) * signature (m Float), MonadIO m, IsToolShell a) => MethodInfo * ToolShellGetTextAlignmentMethodInfo a signature Source # | |
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
data ToolShellGetTextOrientationMethodInfo Source #
((~) * signature (m Orientation), MonadIO m, IsToolShell a) => MethodInfo * ToolShellGetTextOrientationMethodInfo a signature Source # | |
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
data ToolShellGetTextSizeGroupMethodInfo Source #
((~) * signature (m SizeGroup), MonadIO m, IsToolShell a) => MethodInfo * ToolShellGetTextSizeGroupMethodInfo a signature Source # | |
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
data ToolShellRebuildMenuMethodInfo Source #
((~) * signature (m ()), MonadIO m, IsToolShell a) => MethodInfo * ToolShellRebuildMenuMethodInfo a signature Source # | |
:: (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