| 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 |
GI.GtkSource.Objects.Mark
Description
- newtype Mark = Mark (ManagedPtr Mark)
- class GObject o => IsMark o
- toMark :: (MonadIO m, IsMark o) => o -> m Mark
- noMark :: Maybe Mark
- markGetCategory :: (HasCallStack, MonadIO m, IsMark a) => a -> m Text
- markNew :: (HasCallStack, MonadIO m) => Text -> Text -> m Mark
- markNext :: (HasCallStack, MonadIO m, IsMark a) => a -> Maybe Text -> m (Maybe Mark)
- markPrev :: (HasCallStack, MonadIO m, IsMark a) => a -> Text -> m (Maybe Mark)
- constructMarkCategory :: IsMark o => Text -> IO (GValueConstruct o)
- getMarkCategory :: (MonadIO m, IsMark o) => o -> m Text
Exported types
Constructors
| Mark (ManagedPtr Mark) |
Methods
getCategory
Arguments
| :: (HasCallStack, MonadIO m, IsMark a) | |
| => a |
|
| -> m Text | Returns: the category of the |
Returns the mark category.
Since: 2.2
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Text |
|
| -> Text |
|
| -> m Mark | Returns: a new |
Creates a text mark. Add it to a buffer using textBufferAddMark.
If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved
by name using textBufferGetMark.
Normally marks are created using the utility function
bufferCreateSourceMark.
Since: 2.2
next
prev
Properties
category
constructMarkCategory :: IsMark o => Text -> IO (GValueConstruct o) Source #