WebKit2.BackForwardListItem

g GObject.InitiallyUnowned GObject.InitiallyUnowned WebKit2.BackForwardListItem WebKit2.BackForwardListItem GObject.InitiallyUnowned->WebKit2.BackForwardListItem GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_original_uri ()

get_title ()

get_uri ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.InitiallyUnowned

r

Class Details

class WebKit2.BackForwardListItem(**kwargs)
Bases:

GObject.InitiallyUnowned

Abstract:

No

Structure:

WebKit2.BackForwardListItemClass

One item of the WebKit2.BackForwardList.

A history item is part of the WebKit2.BackForwardList and consists out of a title and a URI.

get_original_uri()
Returns:

the original URI of self or None when the original URI is empty.

Return type:

str

Obtain the original URI of the item.

See also WebKit2.BackForwardListItem.get_uri().

get_title()
Returns:

an empty string

Return type:

str

Since 2.44, page titles are no longer stored in history. This function now returns an empty string.

Deprecated since version 2.44.

get_uri()
Returns:

the URI of self or None when the URI is empty.

Return type:

str

Obtain the URI of the item.

This URI may differ from the original URI if the page was, for example, redirected to a new location. See also WebKit2.BackForwardListItem.get_original_uri().