.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 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

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>WebViewHistoryItem</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.html2.WebViewHistoryItem_inheritance.svg" alt="Inheritance diagram of WebViewHistoryItem" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.html2.WebViewHistoryItem.html" title="A simple class that contains the URL and title of an element of the history of a wx.html2.WebView." alt="" coords="5,5,249,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|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, title) -> None
       
   
   A simple class that contains the URL and title of an element of the
   history of a WebView.



   .. method:: __init__(self, url, title)

      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`

