Class
GtkSourceCompletionCell
Description [src]
final class GtkSource.CompletionCell : Gtk.Widget {
/* No available fields */
}
Widget for single cell of completion proposal.
The GtkSourceCompletionCell
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 GtkSourceCompletionProvider
should implement the
GtkSource.CompletionProviderInterface.display
virtual function to control
how to convert data from their GtkSourceCompletionProposal
to content for
the GtkSourceCompletionCell
.
Instance methods
gtk_source_completion_cell_get_column
gtk_source_completion_cell_get_widget
Gets the child GtkWidget
, if any.
gtk_source_completion_cell_set_gicon
gtk_source_completion_cell_set_icon_name
gtk_source_completion_cell_set_markup
gtk_source_completion_cell_set_paintable
gtk_source_completion_cell_set_text
Sets the text for the column cell. Use NULL
to unset.