gtksourceview2-0.13.3.0: Binding to the GtkSourceView library.

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

Graphics.UI.Gtk.SourceView.SourceCompletionItem

Contents

Description

 

Synopsis

Types

Methods

sourceCompletionItemNew Source #

Arguments

:: GlibString string 
=> 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 :: GlibString string => string -> string -> Maybe Pixbuf -> string -> IO SourceCompletionItem Source #

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 Source #

Arguments

:: GlibString string 
=> 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 Source #

Icon to be shown for this proposal.

sourceCompletionItemInfo :: (SourceCompletionItemClass item, GlibString string) => Attr item string Source #

Optional extra information to be shown for this proposal.

Default value: ""

sourceCompletionItemLabel :: (SourceCompletionItemClass item, GlibString string) => Attr item string Source #

Optional extra labelrmation to be shown for this proposal.

Default value: ""

sourceCompletionItemMarkup :: (SourceCompletionItemClass item, GlibString string) => Attr item string Source #

Optional extra markuprmation to be shown for this proposal.

Default value: ""

sourceCompletionItemText :: (SourceCompletionItemClass item, GlibString string) => Attr item string Source #

Optional extra textrmation to be shown for this proposal.

Default value: ""