get_current_uri


Description:

public unowned string? get_current_uri ()

Returns the URI for the currently active link in the label.

The active link is the one under the mouse pointer or, in a selectable label, the link in which the text cursor is currently positioned.

This function is intended for use in a [[email protected]:GtkLabel:activate-link] handler or for use in a [[email protected]: GtkLabel:query-tooltip] handler.

Parameters:

this

a `GtkLabel`

Returns:

the currently active URI




2022 vala-language.org