GtkSource.CompletionInfo

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Gtk.Window Gtk.Window Gtk.Bin->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget->Gtk.Container GtkSource.CompletionInfo GtkSource.CompletionInfo Gtk.Window->GtkSource.CompletionInfo

Subclasses:None

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:

Moves the GtkSource.CompletionInfo to iter. If iter is None self is moved to the cursor position. Moving will respect the Gdk.Gravity setting of the info window and will ensure the line at iter is not occluded by the window.

set_widget(widget)
Parameters:widget (Gtk.Widget or 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

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.