gi-gtksource-5.0.0: GtkSource bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GtkSource.Objects.CompletionSnippets

Description

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

Exported types

newtype CompletionSnippets Source #

Memory-managed wrapper type.

Constructors

CompletionSnippets (ManagedPtr CompletionSnippets) 

Instances

Instances details
Eq CompletionSnippets Source # 
Instance details

Defined in GI.GtkSource.Objects.CompletionSnippets

GObject CompletionSnippets Source # 
Instance details

Defined in GI.GtkSource.Objects.CompletionSnippets

ManagedPtrNewtype CompletionSnippets Source # 
Instance details

Defined in GI.GtkSource.Objects.CompletionSnippets

TypedObject CompletionSnippets Source # 
Instance details

Defined in GI.GtkSource.Objects.CompletionSnippets

Methods

glibType :: IO GType

HasParentTypes CompletionSnippets Source # 
Instance details

Defined in GI.GtkSource.Objects.CompletionSnippets

IsGValue (Maybe CompletionSnippets) Source #

Convert CompletionSnippets to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.GtkSource.Objects.CompletionSnippets

type ParentTypes CompletionSnippets Source # 
Instance details

Defined in GI.GtkSource.Objects.CompletionSnippets

type ParentTypes CompletionSnippets = '[Object, CompletionProvider]

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

Instances details
(GObject o, IsDescendantOf CompletionSnippets o) => IsCompletionSnippets o Source # 
Instance details

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

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 ]