gtksource.completion_item

Module for [CompletionItem] class

Types 3

Methods
GType _gType() @property
CompletionItem self()Returns `this`, for use in `with` statements.
CompletionItemGidBuilder builder()Get builder for [gtksource.completion_item.CompletionItem] Returns: New builder object
gio.icon.Icon gicon() @propertyGet `gicon` property. Returns: The #GIcon for the icon to be shown for this proposal.
void gicon(gio.icon.Icon propval) @propertySet `gicon` property. Params: propval = The #GIcon for the icon to be shown for this proposal.
gdkpixbuf.pixbuf.Pixbuf icon() @propertyGet `icon` property. Returns: The #GdkPixbuf for the icon to be shown for this proposal.
void icon(gdkpixbuf.pixbuf.Pixbuf propval) @propertySet `icon` property. Params: propval = The #GdkPixbuf for the icon to be shown for this proposal.
string iconName() @propertyGet `iconName` property. Returns: The icon name for the icon to be shown for this proposal.
void iconName(string propval) @propertySet `iconName` property. Params: propval = The icon name for the icon to be shown for this proposal.
string info() @propertyGet `info` property. Returns: Optional extra information to be shown for this proposal.
void info(string propval) @propertySet `info` property. Params: propval = Optional extra information to be shown for this proposal.
string label() @propertyGet `label` property. Returns: Label to be shown for this proposal.
void label(string propval) @propertySet `label` property. Params: propval = Label to be shown for this proposal.
string markup() @propertyGet `markup` property. Returns: Label with markup to be shown for this proposal.
void markup(string propval) @propertySet `markup` property. Params: propval = Label with markup to be shown for this proposal.
string text() @propertyGet `text` property. Returns: Proposal text.
void text(string propval) @propertySet `text` property. Params: propval = Proposal text.
void setGicon(gio.icon.Icon gicon = null)
void setIconName(string iconName = null)
void setInfo(string info = null)
void setLabel(string label = null)
void setMarkup(string markup = null)
void setText(string text = null)
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GtkSourceCompletionItem. The desired properties need to be set afterwards. Returns: a new #GtkSourceCompletionItem.
Methods
T gicon(gio.icon.Icon propval)Set `gicon` property. Params: propval = The #GIcon for the icon to be shown for this proposal. Returns: Builder instance for fluent chaining
T icon(gdkpixbuf.pixbuf.Pixbuf propval)Set `icon` property. Params: propval = The #GdkPixbuf for the icon to be shown for this proposal. Returns: Builder instance for fluent chaining
T iconName(string propval)Set `iconName` property. Params: propval = The icon name for the icon to be shown for this proposal. Returns: Builder instance for fluent chaining
T info(string propval)Set `info` property. Params: propval = Optional extra information to be shown for this proposal. Returns: Builder instance for fluent chaining
T label(string propval)Set `label` property. Params: propval = Label to be shown for this proposal. Returns: Builder instance for fluent chaining
T markup(string propval)Set `markup` property. Params: propval = Label with markup to be shown for this proposal. Returns: Builder instance for fluent chaining
T text(string propval)Set `text` property. Params: propval = Proposal text. Returns: Builder instance for fluent chaining

Fluent builder for [gtksource.completion_item.CompletionItem]