gtksourceview2-0.12.1: Binding to the GtkSourceView library.Source codeContentsIndex
Graphics.UI.Gtk.SourceView.SourceCompletionItem
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Contents
Types
Methods
Attributes
Description
Synopsis
data SourceCompletionItem
class GObjectClass o => SourceCompletionItemClass o
sourceCompletionItemNew :: String -> String -> Maybe Pixbuf -> String -> IO SourceCompletionItem
sourceCompletionItemNewWithMarkup :: String -> String -> Maybe Pixbuf -> String -> IO SourceCompletionItem
sourceCompletionItemNewFromStock :: Maybe String -> String -> String -> String -> IO SourceCompletionItem
sourceCompletionItemIcon :: SourceCompletionItemClass item => Attr item Pixbuf
sourceCompletionItemInfo :: SourceCompletionItemClass item => Attr item String
sourceCompletionItemLabel :: SourceCompletionItemClass item => Attr item String
sourceCompletionItemMarkup :: SourceCompletionItemClass item => Attr item String
sourceCompletionItemText :: SourceCompletionItemClass item => Attr item String
Types
data SourceCompletionItem Source
show/hide Instances
class GObjectClass o => SourceCompletionItemClass o Source
show/hide Instances
Methods
sourceCompletionItemNewSource
:: Stringlabel The item label
-> Stringtext The item text
-> Maybe Pixbuficon The item icon or Nothing
-> Stringinfo 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 SourceCompletionItemSource
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.
sourceCompletionItemNewFromStockSource
:: Maybe Stringlabel The item label or Nothing
-> Stringtext The item text
-> Stringstock The stock icon
-> Stringinfo 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 PixbufSource
Icon to be shown for this proposal.
sourceCompletionItemInfo :: SourceCompletionItemClass item => Attr item StringSource

Optional extra information to be shown for this proposal.

Default value: ""

sourceCompletionItemLabel :: SourceCompletionItemClass item => Attr item StringSource

Optional extra labelrmation to be shown for this proposal.

Default value: ""

sourceCompletionItemMarkup :: SourceCompletionItemClass item => Attr item StringSource

Optional extra markuprmation to be shown for this proposal.

Default value: ""

sourceCompletionItemText :: SourceCompletionItemClass item => Attr item StringSource

Optional extra textrmation to be shown for this proposal.

Default value: ""

Produced by Haddock version 2.6.1