:right-sidebar: True CompletionCell =================================================================== .. currentmodule:: gi.repository.GtkSource .. class:: CompletionCell(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget` :Constructors: :: CompletionCell(**properties) Methods ------- .. rst-class:: interim-class .. class:: CompletionCell :no-index: .. method:: get_column() -> ~gi.repository.GtkSource.CompletionColumn .. method:: get_widget() -> ~gi.repository.Gtk.Widget | None Gets the child :obj:`~gi.repository.Gtk.Widget`, if any. .. method:: set_gicon(gicon: ~gi.repository.Gio.Icon) -> None :param gicon: .. method:: set_icon_name(icon_name: str) -> None :param icon_name: .. method:: set_markup(markup: str) -> None :param markup: .. method:: set_paintable(paintable: ~gi.repository.Gdk.Paintable) -> None :param paintable: .. method:: set_text(text: str | None = None) -> None Sets the text for the column cell. Use :const:`None` to unset. :param text: the text to set or :const:`None` .. method:: set_text_with_attributes(text: str, attrs: ~gi.repository.Pango.AttrList) -> None :param text: :param attrs: .. method:: set_widget(child: ~gi.repository.Gtk.Widget) -> None :param child: Properties ---------- .. rst-class:: interim-class .. class:: CompletionCell :no-index: .. attribute:: props.column :type: ~gi.repository.GtkSource.CompletionColumn .. attribute:: props.markup :type: str .. attribute:: props.paintable :type: ~gi.repository.Gdk.Paintable .. attribute:: props.text :type: str .. attribute:: props.widget :type: ~gi.repository.Gtk.Widget