GtkSource.CompletionInfo¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)
Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
|---|---|
This signal is emitted before any “show” management. |
Fields¶
- Inherited:
Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class GtkSource.CompletionInfo(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
GtkSource.CompletionInfo.- Return type:
- get_widget()¶
- Returns:
The current content widget.
- Return type:
Get the current content widget.
Deprecated since version 3.8: Use
Gtk.Bin.get_child() instead.
- move_to_iter(view, iter)¶
- Parameters:
view (
Gtk.TextView) – aGtk.TextViewon which the info window should be positioned.iter (
Gtk.TextIterorNone) – aGtk.TextIter.
Moves the
GtkSource.CompletionInfoto iter. If iter isNoneself is moved to the cursor position. Moving will respect theGdk.Gravitysetting of the info window and will ensure the line at iter is not occluded by the window.
- set_widget(widget)¶
- Parameters:
widget (
Gtk.WidgetorNone) – aGtk.Widget.
Sets the content widget of the info window. See that the previous widget will lose a reference and it can be destroyed, so if you do not want this to happen you must use
GObject.Object.ref() before calling this method.Deprecated since version 3.8: Use
Gtk.Container.add() instead. If there is already a child widget, remove it withGtk.Container.remove().
- do_before_show() virtual¶
Signal Details¶
- GtkSource.CompletionInfo.signals.before_show(completion_info)¶
- Signal Name:
before-show- Flags:
- Parameters:
completion_info (
GtkSource.CompletionInfo) – The object which received the signal
This signal is emitted before any “show” management. You can connect to this signal if you want to change some properties or position before the real “show”.
Deprecated since version 3.10: This signal should not be used.