gi-gtksource-3.0.15: GtkSource bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Objects.CompletionItem

Contents

Description

 

Synopsis

Exported types

Methods

new

completionItemNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsPixbuf a) 
=> Text

label: The item label.

-> Text

text: The item text.

-> Maybe a

icon: The item icon.

-> Maybe Text

info: The item extra information.

-> m CompletionItem

Returns: a new CompletionItem.

Deprecated: (Since version 3.24)Use completionItemNew2 instead.

Create a new CompletionItem with label label, icon icon and extra information info. Both icon and info can be Nothing in which case there will be no icon shown and no extra information available.

new2

completionItemNew2 Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m CompletionItem

Returns: a new CompletionItem.

Creates a new CompletionItem. The desired properties need to be set afterwards.

Since: 3.24

newFromStock

completionItemNewFromStock Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Maybe Text

label: The item label.

-> Text

text: The item text.

-> Text

stock: The stock icon.

-> Maybe Text

info: The item extra information.

-> m CompletionItem

Returns: a new CompletionItem.

Deprecated: (Since version 3.10)Use completionItemNew2 instead.

Creates a new CompletionItem from a stock item. If label is Nothing, the stock label will be used.

newWithMarkup

completionItemNewWithMarkup Source #

Arguments

:: (HasCallStack, MonadIO m, IsPixbuf a) 
=> Text

markup: The item markup label.

-> Text

text: The item text.

-> Maybe a

icon: The item icon.

-> Maybe Text

info: The item extra information.

-> m CompletionItem

Returns: a new CompletionItem.

Deprecated: (Since version 3.24)Use completionItemNew2 instead.

Create a new CompletionItem with markup label markup, icon icon and extra information info. Both icon and info can be Nothing in which case there will be no icon shown and no extra information available.

setGicon

completionItemSetGicon Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionItem a, IsIcon b) 
=> a

item: a CompletionItem.

-> Maybe b

gicon: the Icon, or Nothing.

-> m () 

No description available in the introspection data.

Since: 3.24

setIcon

completionItemSetIcon Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionItem a, IsPixbuf b) 
=> a

item: a CompletionItem.

-> Maybe b

icon: the Pixbuf, or Nothing.

-> m () 

No description available in the introspection data.

Since: 3.24

setIconName

completionItemSetIconName Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionItem a) 
=> a

item: a CompletionItem.

-> Maybe Text

iconName: the icon name, or Nothing.

-> m () 

No description available in the introspection data.

Since: 3.24

setInfo

completionItemSetInfo Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionItem a) 
=> a

item: a CompletionItem.

-> Maybe Text

info: the info, or Nothing.

-> m () 

No description available in the introspection data.

Since: 3.24

setLabel

completionItemSetLabel Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionItem a) 
=> a

item: a CompletionItem.

-> Maybe Text

label: the label, or Nothing.

-> m () 

No description available in the introspection data.

Since: 3.24

setMarkup

completionItemSetMarkup Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionItem a) 
=> a

item: a CompletionItem.

-> Maybe Text

markup: the markup, or Nothing.

-> m () 

No description available in the introspection data.

Since: 3.24

setText

completionItemSetText Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionItem a) 
=> a

item: a CompletionItem.

-> Maybe Text

text: the text, or Nothing.

-> m () 

No description available in the introspection data.

Since: 3.24

Properties

gicon

icon

iconName

info

label

markup

text