SourceCompletionItem
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_source_completion_item_get_type ()" ) ]
[
GIR ( name =
"CompletionItem" ) ]
public class SourceCompletionItem :
Object,
SourceCompletionProposal
Content:
Properties:
- public Icon gicon { owned get; set; }
The Icon for the
icon to be shown for this proposal.
- public Pixbuf icon { owned get; set; }
The Pixbuf for
the icon to be shown for this proposal.
- public string icon_name { owned get; set; }
The icon name for the icon to be shown for this proposal.
- public string info { owned get; set; }
Optional extra information to be shown for this proposal.
- public string label { owned get; set; }
Label to be shown for this proposal.
- public string markup { owned get; set; }
Label with markup to be shown for this proposal.
- public string text { owned get; set; }
Proposal text.
Static methods:
Creation methods:
- public SourceCompletionItem (string label, string text, Pixbuf? icon, string? info)
Create a new SourceCompletionItem with label
label
, icon icon
and extra information info
.
- public SourceCompletionItem.from_stock (string? label, string text, string stock, string? info)
Creates a new SourceCompletionItem from a stock
item.
- public SourceCompletionItem.with_markup (string markup, string text, Pixbuf? icon, string? info)
Create a new SourceCompletionItem with markup
label markup
, icon icon
and extra information info
.
Methods:
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.SourceCompletionProposal