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 iface@CompletionProvider should implement the vfunc@CompletionProvider.display virtual function to control how to convert data from their iface@CompletionProposal to content for the [gtksource.completion_cell.CompletionCell].

Methods
GType _gType() @property
CompletionCell self()Returns `this`, for use in `with` statements.
CompletionCellGidBuilder builder()Get builder for [gtksource.completion_cell.CompletionCell] Returns: New builder object
string markup() @property
void markup(string propval) @property
void paintable(gdk.paintable.Paintable propval) @property
string text() @property
void text(string propval) @property
void widget(gtk.widget.Widget propval) @property
gtk.widget.Widget getWidget()Gets the child #GtkWidget, if any. Returns: a #GtkWidget or null
void setIconName(string iconName)
void setMarkup(string markup)
void setText(string text = null)Sets the text for the column cell. Use null to unset.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gtksource.completion_cell.CompletionCell]