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 | new() | 
| get_widget() | |
| move_to_iter(view, iter) | |
| set_widget(widget) | 
Virtual Methods¶
| Inherited: | Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10) | 
|---|
| do_before_show() | 
Properties¶
| Inherited: | Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39) | 
|---|
Style Properties¶
| Inherited: | Gtk.Window (2), Gtk.Widget (17) | 
|---|
Signals¶
| Inherited: | Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
| Name | Short Description | 
|---|---|
| before-show | This signal is emitted before any “show” management. deprecated | 
Fields¶
| Inherited: | Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| parent | Gtk.Window | r | 
Class Details¶
- 
class GtkSource.CompletionInfo(*args, **kwargs)¶
- Bases: - Gtk.Window- Abstract: - No - Structure: - GtkSource.CompletionInfoClass- 
classmethod new()¶
- Returns: - a new - GtkSource.CompletionInfo.- Return type: - GtkSource.CompletionInfo
 - 
get_widget()¶
- Returns: - The current content widget. - Return type: - Gtk.Widget- 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 is- Noneself is moved to the cursor position. Moving will respect the- Gdk.Gravitysetting of the info window and will ensure the line at iter is not occluded by the window.
- view (
 - 
set_widget(widget)¶
- Parameters: - widget ( - Gtk.Widgetor- None) – a- Gtk.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 with- Gtk.Container.remove().
 - 
do_before_show() virtual¶
 
- 
classmethod 
Signal Details¶
- 
GtkSource.CompletionInfo.signals.before_show(completion_info)¶
- Signal Name: - before-show- Flags: - RUN_LAST,- ACTION,- DEPRECATED- 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.