| 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.WebKit2.Structs.InputMethodUnderline
Description
Range of text in an preedit string to be shown underlined.
Since: 2.28
Synopsis
- newtype InputMethodUnderline = InputMethodUnderline (ManagedPtr InputMethodUnderline)
- inputMethodUnderlineCopy :: (HasCallStack, MonadIO m) => InputMethodUnderline -> m InputMethodUnderline
- inputMethodUnderlineFree :: (HasCallStack, MonadIO m) => InputMethodUnderline -> m ()
- inputMethodUnderlineNew :: (HasCallStack, MonadIO m) => Word32 -> Word32 -> m InputMethodUnderline
- inputMethodUnderlineSetColor :: (HasCallStack, MonadIO m) => InputMethodUnderline -> Maybe RGBA -> m ()
Exported types
newtype InputMethodUnderline Source #
Memory-managed wrapper type.
Constructors
| InputMethodUnderline (ManagedPtr InputMethodUnderline) |
Instances
Methods
Click to display all available methods, including inherited ones
copy
inputMethodUnderlineCopy Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => InputMethodUnderline |
|
| -> m InputMethodUnderline | Returns: A copy of passed in |
Make a copy of the InputMethodUnderline.
Since: 2.28
free
inputMethodUnderlineFree Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => InputMethodUnderline |
|
| -> m () |
Free the InputMethodUnderline.
Since: 2.28
new
inputMethodUnderlineNew Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Word32 |
|
| -> Word32 |
|
| -> m InputMethodUnderline | Returns: A newly created |
Create a new InputMethodUnderline for the given range in preedit string
Since: 2.28
setColor
inputMethodUnderlineSetColor Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => InputMethodUnderline |
|
| -> Maybe RGBA | |
| -> m () |
Set the color of the underline.
If rgba is Nothing the foreground text color will be used
for the underline too.
Since: 2.28