.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.html2.WebViewHistoryItem:
==========================================================================================================================================
|phoenix_title| **wx.html2.WebViewHistoryItem**
==========================================================================================================================================
A simple class that contains the URL and title of an element of the history of a :ref:`wx.html2.WebView`.
:ref:`wx.html2.WebView`
.. versionadded:: 2.9.3
.. seealso:: :ref:`wx.html2.WebView`
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
WebViewHistoryItem:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.html2.WebViewHistoryItem.__init__` Constructor.
:meth:`~wx.html2.WebViewHistoryItem.GetTitle`
:meth:`~wx.html2.WebViewHistoryItem.GetUrl`
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.html2.WebViewHistoryItem.Title` See :meth:`~wx.html2.WebViewHistoryItem.GetTitle`
:attr:`~wx.html2.WebViewHistoryItem.Url` See :meth:`~wx.html2.WebViewHistoryItem.GetUrl`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.html2.WebViewHistoryItem(object)
**Possible constructors**::
WebViewHistoryItem(url : str, title : str) -> None
A simple class that contains the URL and title of an element of the
history of a WebView.
.. method:: __init__(self, url : str, title : str)
Constructor.
:param `url`:
:type `url`: string
:param `title`:
:type `title`: string
:rtype: `None`
.. method:: GetTitle(self)
:rtype: `str`
:returns:
The title of the page.
.. method:: GetUrl(self)
:rtype: `str`
:returns:
The url of the page.
.. attribute:: Title
See :meth:`~wx.html2.WebViewHistoryItem.GetTitle`
.. attribute:: Url
See :meth:`~wx.html2.WebViewHistoryItem.GetUrl`