Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
Graphics.UI.Gtk.SourceView.SourceCompletionItem
Contents
Description
- data SourceCompletionItem
- class GObjectClass o => SourceCompletionItemClass o
- sourceCompletionItemNew :: GlibString string => string -> string -> Maybe Pixbuf -> string -> IO SourceCompletionItem
- sourceCompletionItemNewWithMarkup :: GlibString string => string -> string -> Maybe Pixbuf -> string -> IO SourceCompletionItem
- sourceCompletionItemNewFromStock :: GlibString string => Maybe string -> string -> string -> string -> IO SourceCompletionItem
- sourceCompletionItemIcon :: SourceCompletionItemClass item => Attr item Pixbuf
- sourceCompletionItemInfo :: (SourceCompletionItemClass item, GlibString string) => Attr item string
- sourceCompletionItemLabel :: (SourceCompletionItemClass item, GlibString string) => Attr item string
- sourceCompletionItemMarkup :: (SourceCompletionItemClass item, GlibString string) => Attr item string
- sourceCompletionItemText :: (SourceCompletionItemClass item, GlibString string) => Attr item string
Types
data SourceCompletionItem #
class GObjectClass o => SourceCompletionItemClass o #
Instances
Methods
Arguments
:: GlibString string | |
=> 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 :: GlibString string => 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
:: GlibString string | |
=> 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, GlibString string) => Attr item string #
Optional extra information to be shown for this proposal.
Default value: ""
sourceCompletionItemLabel :: (SourceCompletionItemClass item, GlibString string) => Attr item string #
Optional extra labelrmation to be shown for this proposal.
Default value: ""
sourceCompletionItemMarkup :: (SourceCompletionItemClass item, GlibString string) => Attr item string #
Optional extra markuprmation to be shown for this proposal.
Default value: ""
sourceCompletionItemText :: (SourceCompletionItemClass item, GlibString string) => Attr item string #
Optional extra textrmation to be shown for this proposal.
Default value: ""