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.ShortcutTooltip
Description
No description available in the introspection data.
Synopsis
- newtype ShortcutTooltip = ShortcutTooltip (ManagedPtr ShortcutTooltip)
- class (GObject o, IsDescendantOf ShortcutTooltip o) => IsShortcutTooltip o
- toShortcutTooltip :: (MonadIO m, IsShortcutTooltip o) => o -> m ShortcutTooltip
- shortcutTooltipGetAccel :: (HasCallStack, MonadIO m, IsShortcutTooltip a) => a -> m (Maybe Text)
- shortcutTooltipGetCommandId :: (HasCallStack, MonadIO m, IsShortcutTooltip a) => a -> m (Maybe Text)
- shortcutTooltipGetTitle :: (HasCallStack, MonadIO m, IsShortcutTooltip a) => a -> m (Maybe Text)
- shortcutTooltipGetWidget :: (HasCallStack, MonadIO m, IsShortcutTooltip a) => a -> m (Maybe Widget)
- shortcutTooltipNew :: (HasCallStack, MonadIO m) => m ShortcutTooltip
- shortcutTooltipSetAccel :: (HasCallStack, MonadIO m, IsShortcutTooltip a) => a -> Maybe Text -> m ()
- shortcutTooltipSetCommandId :: (HasCallStack, MonadIO m, IsShortcutTooltip a) => a -> Text -> m ()
- shortcutTooltipSetTitle :: (HasCallStack, MonadIO m, IsShortcutTooltip a) => a -> Maybe Text -> m ()
- shortcutTooltipSetWidget :: (HasCallStack, MonadIO m, IsShortcutTooltip a, IsWidget b) => a -> Maybe b -> m ()
- clearShortcutTooltipAccel :: (MonadIO m, IsShortcutTooltip o) => o -> m ()
- constructShortcutTooltipAccel :: (IsShortcutTooltip o, MonadIO m) => Text -> m (GValueConstruct o)
- getShortcutTooltipAccel :: (MonadIO m, IsShortcutTooltip o) => o -> m (Maybe Text)
- setShortcutTooltipAccel :: (MonadIO m, IsShortcutTooltip o) => o -> Text -> m ()
- constructShortcutTooltipCommandId :: (IsShortcutTooltip o, MonadIO m) => Text -> m (GValueConstruct o)
- getShortcutTooltipCommandId :: (MonadIO m, IsShortcutTooltip o) => o -> m (Maybe Text)
- setShortcutTooltipCommandId :: (MonadIO m, IsShortcutTooltip o) => o -> Text -> m ()
- clearShortcutTooltipTitle :: (MonadIO m, IsShortcutTooltip o) => o -> m ()
- constructShortcutTooltipTitle :: (IsShortcutTooltip o, MonadIO m) => Text -> m (GValueConstruct o)
- getShortcutTooltipTitle :: (MonadIO m, IsShortcutTooltip o) => o -> m (Maybe Text)
- setShortcutTooltipTitle :: (MonadIO m, IsShortcutTooltip o) => o -> Text -> m ()
- clearShortcutTooltipWidget :: (MonadIO m, IsShortcutTooltip o) => o -> m ()
- constructShortcutTooltipWidget :: (IsShortcutTooltip o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o)
- getShortcutTooltipWidget :: (MonadIO m, IsShortcutTooltip o) => o -> m (Maybe Widget)
- setShortcutTooltipWidget :: (MonadIO m, IsShortcutTooltip o, IsWidget a) => o -> a -> m ()
Exported types
newtype ShortcutTooltip Source #
Memory-managed wrapper type.
Constructors
ShortcutTooltip (ManagedPtr ShortcutTooltip) |
Instances
class (GObject o, IsDescendantOf ShortcutTooltip o) => IsShortcutTooltip o Source #
Type class for types which can be safely cast to ShortcutTooltip
, for instance with toShortcutTooltip
.
Instances
(GObject o, IsDescendantOf ShortcutTooltip o) => IsShortcutTooltip o Source # | |
Defined in GI.Dazzle.Objects.ShortcutTooltip |
toShortcutTooltip :: (MonadIO m, IsShortcutTooltip o) => o -> m ShortcutTooltip Source #
Cast to ShortcutTooltip
, 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
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAccel, getCommandId, getData, getProperty, getQdata, getTitle, getWidget.
Setters
setAccel, setCommandId, setData, setDataFull, setProperty, setTitle, setWidget.
getAccel
shortcutTooltipGetAccel Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutTooltip a) | |
=> a |
|
-> m (Maybe Text) | Returns: an override accel, or |
Gets the ShortcutTooltip:accel property, which can be used to override the commands accel.
Since: 3.32
getCommandId
shortcutTooltipGetCommandId Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutTooltip a) | |
=> a |
|
-> m (Maybe Text) | Returns: a string containing the command id |
Gets the ShortcutTooltip:commandId property.
Since: 3.32
getTitle
shortcutTooltipGetTitle Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutTooltip a) | |
=> a | |
-> m (Maybe Text) | Returns: a string containing the title, or |
Gets the ShortcutTooltip:title property, if set.
Since: 3.32
getWidget
shortcutTooltipGetWidget Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutTooltip a) | |
=> a | |
-> m (Maybe Widget) |
Gets the Widget
that the shortcut-tooltip is wrapping.
Since: 3.32
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m ShortcutTooltip | Returns: a newly created |
Create a new ShortcutTooltip
.
Since: 3.32
setAccel
shortcutTooltipSetAccel Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutTooltip a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Allows overriding the accel that is used.
Since: 3.32
setCommandId
shortcutTooltipSetCommandId Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutTooltip a) | |
=> a |
|
-> Text |
|
-> m () |
This sets the ShortcutTooltip:commandId property which denotes which shortcut registered with libdazzle to display when a tooltip request is received.
Since: 3.32
setTitle
shortcutTooltipSetTitle Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutTooltip a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Sets the ShortcutTooltip:title property, which can be used to override the default title for the tooltip as discovered from the shortcut manager.
Since: 3.32
setWidget
shortcutTooltipSetWidget Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutTooltip a, IsWidget b) | |
=> a |
|
-> Maybe b | |
-> m () |
Sets the widget to connect to the Widget::queryTooltip signal.
If configured, the widget will be displayed with an appropriate tooltip message matching the shortcut from ShortcutTooltip:commandId.
Since: 3.32
Properties
accel
No description available in the introspection data.
clearShortcutTooltipAccel :: (MonadIO m, IsShortcutTooltip o) => o -> m () Source #
Set the value of the “accel
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#accel
constructShortcutTooltipAccel :: (IsShortcutTooltip o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “accel
” property. This is rarely needed directly, but it is used by new
.
getShortcutTooltipAccel :: (MonadIO m, IsShortcutTooltip o) => o -> m (Maybe Text) Source #
Get the value of the “accel
” property.
When overloading is enabled, this is equivalent to
get
shortcutTooltip #accel
setShortcutTooltipAccel :: (MonadIO m, IsShortcutTooltip o) => o -> Text -> m () Source #
Set the value of the “accel
” property.
When overloading is enabled, this is equivalent to
set
shortcutTooltip [ #accel:=
value ]
commandId
No description available in the introspection data.
constructShortcutTooltipCommandId :: (IsShortcutTooltip o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “command-id
” property. This is rarely needed directly, but it is used by new
.
getShortcutTooltipCommandId :: (MonadIO m, IsShortcutTooltip o) => o -> m (Maybe Text) Source #
Get the value of the “command-id
” property.
When overloading is enabled, this is equivalent to
get
shortcutTooltip #commandId
setShortcutTooltipCommandId :: (MonadIO m, IsShortcutTooltip o) => o -> Text -> m () Source #
Set the value of the “command-id
” property.
When overloading is enabled, this is equivalent to
set
shortcutTooltip [ #commandId:=
value ]
title
The "title" property contains an alternate title for the tooltip instead of discovering the title from the shortcut manager.
Since: 3.32
clearShortcutTooltipTitle :: (MonadIO m, IsShortcutTooltip o) => o -> m () Source #
Set the value of the “title
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#title
constructShortcutTooltipTitle :: (IsShortcutTooltip o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “title
” property. This is rarely needed directly, but it is used by new
.
getShortcutTooltipTitle :: (MonadIO m, IsShortcutTooltip o) => o -> m (Maybe Text) Source #
Get the value of the “title
” property.
When overloading is enabled, this is equivalent to
get
shortcutTooltip #title
setShortcutTooltipTitle :: (MonadIO m, IsShortcutTooltip o) => o -> Text -> m () Source #
Set the value of the “title
” property.
When overloading is enabled, this is equivalent to
set
shortcutTooltip [ #title:=
value ]
widget
No description available in the introspection data.
clearShortcutTooltipWidget :: (MonadIO m, IsShortcutTooltip o) => o -> m () Source #
Set the value of the “widget
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#widget
constructShortcutTooltipWidget :: (IsShortcutTooltip o, MonadIO m, IsWidget a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “widget
” property. This is rarely needed directly, but it is used by new
.
getShortcutTooltipWidget :: (MonadIO m, IsShortcutTooltip o) => o -> m (Maybe Widget) Source #
Get the value of the “widget
” property.
When overloading is enabled, this is equivalent to
get
shortcutTooltip #widget
setShortcutTooltipWidget :: (MonadIO m, IsShortcutTooltip o, IsWidget a) => o -> a -> m () Source #
Set the value of the “widget
” property.
When overloading is enabled, this is equivalent to
set
shortcutTooltip [ #widget:=
value ]