Foundry.HoverProvider

g Foundry.Contextual Foundry.Contextual Foundry.HoverProvider Foundry.HoverProvider Foundry.Contextual->Foundry.HoverProvider GObject.GInterface GObject.GInterface Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)

Structs:

GObject.ObjectClass (5)

dup_buffer ()

dup_document ()

dup_plugin_info ()

populate (location)

Virtual Methods

Inherited:

GObject.Object (7), Json.Serializable (5)

do_populate (location)

Properties

Inherited:

Foundry.Contextual (1)

Name

Type

Flags

Short Description

buffer

Foundry.TextBuffer

r

document

Foundry.TextDocument

r/w/co

plugin-info

Peas.PluginInfo

r/w/co

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Foundry.Contextual

r

Class Details

class Foundry.HoverProvider(**kwargs)
Bases:

Foundry.Contextual

Abstract:

Yes

Structure:

Foundry.HoverProviderClass

Abstract base class for plugins to provide hover tooltip features.

dup_buffer()
Return type:

Foundry.TextBuffer or None

dup_document()
Return type:

Foundry.TextDocument or None

dup_plugin_info()
Return type:

Peas.PluginInfo or None

populate(location)
Parameters:

location (Foundry.TextIter) – a [struct`Foundry`.TextIter]

Returns:

a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.Markup].

Return type:

Dex.Future or None

do_populate(location) virtual
Parameters:

location (Foundry.TextIter) – a [struct`Foundry`.TextIter]

Returns:

a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.Markup].

Return type:

Dex.Future or None

Property Details

Foundry.HoverProvider.props.buffer
Name:

buffer

Type:

Foundry.TextBuffer

Default Value:

None

Flags:

READABLE

Foundry.HoverProvider.props.document
Name:

document

Type:

Foundry.TextDocument

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Foundry.HoverProvider.props.plugin_info
Name:

plugin-info

Type:

Peas.PluginInfo

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY