gtksource.completion_item

Module for [CompletionItem] class

Types 3

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

Fluent builder implementation template for gtksource.completion_item.CompletionItem

Methods
T gicon(gio.icon.Icon propval) nothrowSet `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) nothrowSet `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) nothrowSet `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) nothrowSet `info` property. Params: propval = Optional extra information to be shown for this proposal. Returns: Builder instance for fluent chaining
T label(string propval) nothrowSet `label` property. Params: propval = Label to be shown for this proposal. Returns: Builder instance for fluent chaining
T markup(string propval) nothrowSet `markup` property. Params: propval = Label with markup to be shown for this proposal. Returns: Builder instance for fluent chaining
T text(string propval) nothrowSet `text` property. Params: propval = Proposal text. Returns: Builder instance for fluent chaining
Methods
CompletionItem build() nothrowCreate object from builder. Returns: New object