gtksource.completion_cell

Module for [CompletionCell] class

Types 3

Widget for single cell of completion proposal.

The gtksource.completion_cell.CompletionCell widget provides a container to display various types of information with the completion display.

Each proposal may consist of multiple cells depending on the complexity of the proposal. For example, programming language proposals may contain a cell for the "left-hand-side" of an operation along with the "typed-text" for a function name and "parameters". They may also optionally set an icon to signify the kind of result.

A gtksource.completion_provider.CompletionProvider should implement the vfunc@CompletionProvider.display virtual function to control how to convert data from their gtksource.completion_proposal.CompletionProposal to content for the gtksource.completion_cell.CompletionCell.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
CompletionCell self() nothrowReturns `this`, for use in `with` statements.
CompletionCellGidBuilder builder() static nothrowGet builder for [gtksource.completion_cell.CompletionCell] Returns: New builder object
string markup() @property nothrow
void markup(string propval) @property nothrow
void paintable(gdk.paintable.Paintable propval) @property nothrow
string text() @property nothrow
void text(string propval) @property nothrow
gtk.widget.Widget widget() @property nothrow
void widget(gtk.widget.Widget propval) @property nothrow
gtk.widget.Widget getWidget() nothrowGets the child #GtkWidget, if any. Returns: a #GtkWidget or null
void setGicon(gio.icon.Icon gicon) nothrow
void setIconName(string iconName) nothrow
void setMarkup(string markup) nothrow
void setPaintable(gdk.paintable.Paintable paintable) nothrow
void setText(string text = null) nothrowSets the text for the column cell. Use null to unset.
void setTextWithAttributes(string text, pango.attr_list.AttrList attrs) nothrow
void setWidget(gtk.widget.Widget child) nothrow
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gtksource.completion_cell.CompletionCell

Methods
T markup(string propval) nothrow
T text(string propval) nothrow
T widget(gtk.widget.Widget propval) nothrow
Methods
CompletionCell build() nothrowCreate object from builder. Returns: New object