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.
CompletionCellGidBuilder builder() static nothrowGet builder for [gtksource.completion_cell.CompletionCell] Returns: New builder objectgtksource.types.CompletionColumn getColumn() nothrowgtk.widget.Widget getWidget() nothrowGets the child #GtkWidget, if any. Returns: a #GtkWidget or nullvoid setGicon(gio.icon.Icon gicon) nothrowvoid setIconName(string iconName) nothrowvoid setMarkup(string markup) nothrowvoid setPaintable(gdk.paintable.Paintable paintable) nothrowvoid setTextWithAttributes(string text, pango.attr_list.AttrList attrs) nothrowvoid setWidget(gtk.widget.Widget child) nothrowFluent builder implementation template for gtksource.completion_cell.CompletionCell
T column(gtksource.types.CompletionColumn propval) nothrowT markup(string propval) nothrowT paintable(gdk.paintable.Paintable propval) nothrowT text(string propval) nothrowT widget(gtk.widget.Widget propval) nothrowFluent builder for gtksource.completion_cell.CompletionCell