Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
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 # | |
IsGValue ToolShell Source # | Convert |
ManagedPtrNewtype ToolShell Source # | |
Defined in GI.Gtk.Interfaces.ToolShell | |
TypedObject ToolShell Source # | |
Defined in GI.Gtk.Interfaces.ToolShell | |
GObject ToolShell Source # | |
Defined in GI.Gtk.Interfaces.ToolShell | |
HasParentTypes ToolShell Source # | |
Defined in GI.Gtk.Interfaces.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
Overloaded methods
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