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 |
A [ifacecompletionProvider
] for the completion of snippets.
The GtkSourceCompletionSnippets
is an example of an implementation of
the [ifacecompletionProvider
] interface. The proposals are snippets
registered with the [classsnippetManager
].
Synopsis
- newtype CompletionSnippets = CompletionSnippets (ManagedPtr CompletionSnippets)
- class (GObject o, IsDescendantOf CompletionSnippets o) => IsCompletionSnippets o
- toCompletionSnippets :: (MonadIO m, IsCompletionSnippets o) => o -> m CompletionSnippets
- completionSnippetsNew :: (HasCallStack, MonadIO m) => m CompletionSnippets
- constructCompletionSnippetsPriority :: (IsCompletionSnippets o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getCompletionSnippetsPriority :: (MonadIO m, IsCompletionSnippets o) => o -> m Int32
- setCompletionSnippetsPriority :: (MonadIO m, IsCompletionSnippets o) => o -> Int32 -> m ()
- clearCompletionSnippetsTitle :: (MonadIO m, IsCompletionSnippets o) => o -> m ()
- constructCompletionSnippetsTitle :: (IsCompletionSnippets o, MonadIO m) => Text -> m (GValueConstruct o)
- getCompletionSnippetsTitle :: (MonadIO m, IsCompletionSnippets o) => o -> m (Maybe Text)
- setCompletionSnippetsTitle :: (MonadIO m, IsCompletionSnippets o) => o -> Text -> m ()
Exported types
newtype CompletionSnippets Source #
Memory-managed wrapper type.
CompletionSnippets (ManagedPtr CompletionSnippets) |
Instances
class (GObject o, IsDescendantOf CompletionSnippets o) => IsCompletionSnippets o Source #
Type class for types which can be safely cast to CompletionSnippets
, for instance with toCompletionSnippets
.
Instances
(GObject o, IsDescendantOf CompletionSnippets o) => IsCompletionSnippets o Source # | |
Defined in GI.GtkSource.Objects.CompletionSnippets |
toCompletionSnippets :: (MonadIO m, IsCompletionSnippets o) => o -> m CompletionSnippets Source #
Cast to CompletionSnippets
, 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
activate, bindProperty, bindPropertyFull, display, forceFloating, freezeNotify, getv, isFloating, isTrigger, keyActivates, listAlternates, notify, notifyByPspec, populateAsync, populateFinish, ref, refSink, refilter, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getPriority, getProperty, getQdata, getTitle.
Setters
new
completionSnippetsNew :: (HasCallStack, MonadIO m) => m CompletionSnippets Source #
No description available in the introspection data.
Properties
priority
No description available in the introspection data.
constructCompletionSnippetsPriority :: (IsCompletionSnippets o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “priority
” property. This is rarely needed directly, but it is used by new
.
getCompletionSnippetsPriority :: (MonadIO m, IsCompletionSnippets o) => o -> m Int32 Source #
Get the value of the “priority
” property.
When overloading is enabled, this is equivalent to
get
completionSnippets #priority
setCompletionSnippetsPriority :: (MonadIO m, IsCompletionSnippets o) => o -> Int32 -> m () Source #
Set the value of the “priority
” property.
When overloading is enabled, this is equivalent to
set
completionSnippets [ #priority:=
value ]
title
No description available in the introspection data.
clearCompletionSnippetsTitle :: (MonadIO m, IsCompletionSnippets o) => o -> m () Source #
Set the value of the “title
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#title
constructCompletionSnippetsTitle :: (IsCompletionSnippets 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
.
getCompletionSnippetsTitle :: (MonadIO m, IsCompletionSnippets o) => o -> m (Maybe Text) Source #
Get the value of the “title
” property.
When overloading is enabled, this is equivalent to
get
completionSnippets #title
setCompletionSnippetsTitle :: (MonadIO m, IsCompletionSnippets o) => o -> Text -> m () Source #
Set the value of the “title
” property.
When overloading is enabled, this is equivalent to
set
completionSnippets [ #title:=
value ]