| 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
Synopsis
- 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 #
Instances
| Eq SourceCompletionItem # | |
Defined in Graphics.UI.Gtk.SourceView.Types Methods (==) :: SourceCompletionItem -> SourceCompletionItem -> Bool # (/=) :: SourceCompletionItem -> SourceCompletionItem -> Bool # | |
| Ord SourceCompletionItem # | |
Defined in Graphics.UI.Gtk.SourceView.Types Methods compare :: SourceCompletionItem -> SourceCompletionItem -> Ordering # (<) :: SourceCompletionItem -> SourceCompletionItem -> Bool # (<=) :: SourceCompletionItem -> SourceCompletionItem -> Bool # (>) :: SourceCompletionItem -> SourceCompletionItem -> Bool # (>=) :: SourceCompletionItem -> SourceCompletionItem -> Bool # max :: SourceCompletionItem -> SourceCompletionItem -> SourceCompletionItem # min :: SourceCompletionItem -> SourceCompletionItem -> SourceCompletionItem # | |
| GObjectClass SourceCompletionItem # | |
Defined in Graphics.UI.Gtk.SourceView.Types Methods | |
| SourceCompletionItemClass SourceCompletionItem # | |
Defined in Graphics.UI.Gtk.SourceView.Types | |
class GObjectClass o => SourceCompletionItemClass o #
Instances
| SourceCompletionItemClass SourceCompletionItem # | |
Defined in Graphics.UI.Gtk.SourceView.Types | |
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: ""