GtkSource.CompletionCell¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), Gtk.Buildable (1)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
Column |
||
r/w |
Markup |
||
r/w |
Paintable |
||
r/w |
Text |
||
r/w |
Widget |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GtkSource.CompletionCell(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Widget for single cell of completion proposal.
The
GtkSourceCompletionCellwidget 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.- get_column()¶
- Return type:
- get_widget()¶
- Returns:
a
Gtk.WidgetorNone- Return type:
Gtk.WidgetorNone
Gets the child
Gtk.Widget, if any.
- set_paintable(paintable)¶
- Parameters:
paintable (
Gdk.Paintable) –
- set_text_with_attributes(text, attrs)¶
- Parameters:
text (
str) –attrs (
Pango.AttrList) –
- set_widget(child)¶
- Parameters:
child (
Gtk.Widget) –
Property Details¶
- GtkSource.CompletionCell.props.column¶
- Name:
column- Type:
- Default Value:
- Flags:
Column
- GtkSource.CompletionCell.props.markup¶
-
Markup
- GtkSource.CompletionCell.props.paintable¶
- Name:
paintable- Type:
- Default Value:
- Flags:
Paintable
- GtkSource.CompletionCell.props.text¶
-
Text
- GtkSource.CompletionCell.props.widget¶
- Name:
widget- Type:
- Default Value:
- Flags:
Widget