CompletionCell

open class CompletionCell(pointer: <Error class: unknown class><<Error class: unknown class>>)

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

Skipped during bindings generation

  • method markup: Property has no getter

  • method paintable: Property has no getter

  • method text: Property has no getter

  • method widget: Property TypeInfo of getter and setter do not match

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtksourceCompletionCellPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
Link copied to clipboard
open fun getWidget(): <Error class: unknown class>?

Gets the child #GtkWidget, if any.

Link copied to clipboard
open fun setGicon(gicon: <Error class: unknown class>)
Link copied to clipboard
open fun setIconName(iconName: String)
Link copied to clipboard
open fun setMarkup(markup: String)
Link copied to clipboard
open fun setPaintable(paintable: <Error class: unknown class>)
Link copied to clipboard
open fun setText(text: String? = null)

Sets the text for the column cell. Use null to unset.

Link copied to clipboard
open fun setTextWithAttributes(text: String, attrs: <Error class: unknown class>)
Link copied to clipboard
open fun setWidget(child: <Error class: unknown class>)