gtksourceview2-0.12.3: Binding to the GtkSourceView library.

Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net

Graphics.UI.Gtk.SourceView.SourceCompletionItem

Contents

Description

 

Synopsis

Types

Methods

sourceCompletionItemNew

Arguments

:: String

label The item label

-> String

text The item text

-> Maybe Pixbuf

icon The item icon or Nothing

-> String

info The item extra information

-> IO SourceCompletionItem 

Create a new SourceCompletionItem 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.

sourceCompletionItemNewWithMarkup :: String -> String -> Maybe Pixbuf -> String -> IO SourceCompletionItem

Create a new SourceCompletionItem 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.

sourceCompletionItemNewFromStock

Arguments

:: Maybe String

label The item label or Nothing

-> String

text The item text

-> String

stock The stock icon

-> String

info The item extra information

-> IO SourceCompletionItem 

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

Attributes

sourceCompletionItemIcon :: SourceCompletionItemClass item => Attr item Pixbuf

Icon to be shown for this proposal.

sourceCompletionItemInfo :: SourceCompletionItemClass item => Attr item String

Optional extra information to be shown for this proposal.

Default value: ""

sourceCompletionItemLabel :: SourceCompletionItemClass item => Attr item String

Optional extra labelrmation to be shown for this proposal.

Default value: ""

sourceCompletionItemMarkup :: SourceCompletionItemClass item => Attr item String

Optional extra markuprmation to be shown for this proposal.

Default value: ""

sourceCompletionItemText :: SourceCompletionItemClass item => Attr item String

Optional extra textrmation to be shown for this proposal.

Default value: ""