Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
Graphics.UI.Gtk.SourceView.SourceCompletionItem
Contents
Description
- 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
class GObjectClass o => SourceCompletionItemClass o
Methods
Arguments
:: String |
|
-> String |
|
-> Maybe Pixbuf |
|
-> String |
|
-> 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 |
|
-> String |
|
-> String |
|
-> String |
|
-> 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: ""