.. 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.html.HtmlSelection: ========================================================================================================================================== |phoenix_title| **wx.html.HtmlSelection** ========================================================================================================================================== | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class HtmlSelection:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.html.HtmlSelection.__init__` :meth:`~wx.html.HtmlSelection.AreFromToCharacterPosSet` :meth:`~wx.html.HtmlSelection.ClearFromToCharacterPos` :meth:`~wx.html.HtmlSelection.GetFromCell` :meth:`~wx.html.HtmlSelection.GetFromCharacterPos` :meth:`~wx.html.HtmlSelection.GetFromPos` :meth:`~wx.html.HtmlSelection.GetToCell` :meth:`~wx.html.HtmlSelection.GetToCharacterPos` :meth:`~wx.html.HtmlSelection.GetToPos` :meth:`~wx.html.HtmlSelection.IsEmpty` :meth:`~wx.html.HtmlSelection.Set` :meth:`~wx.html.HtmlSelection.SetFromCharacterPos` :meth:`~wx.html.HtmlSelection.SetToCharacterPos` ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~wx.html.HtmlSelection.FromCell` See :meth:`~wx.html.HtmlSelection.GetFromCell` :attr:`~wx.html.HtmlSelection.FromCharacterPos` See :meth:`~wx.html.HtmlSelection.GetFromCharacterPos` and :meth:`~wx.html.HtmlSelection.SetFromCharacterPos` :attr:`~wx.html.HtmlSelection.FromPos` See :meth:`~wx.html.HtmlSelection.GetFromPos` :attr:`~wx.html.HtmlSelection.ToCell` See :meth:`~wx.html.HtmlSelection.GetToCell` :attr:`~wx.html.HtmlSelection.ToCharacterPos` See :meth:`~wx.html.HtmlSelection.GetToCharacterPos` and :meth:`~wx.html.HtmlSelection.SetToCharacterPos` :attr:`~wx.html.HtmlSelection.ToPos` See :meth:`~wx.html.HtmlSelection.GetToPos` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.html.HtmlSelection(object) **Possible constructors**:: HtmlSelection() .. method:: __init__(self) .. method:: AreFromToCharacterPosSet(self) :rtype: `bool` .. method:: ClearFromToCharacterPos(self) .. method:: GetFromCell(self) :rtype: :ref:`wx.html.HtmlCell` .. method:: GetFromCharacterPos(self) :rtype: `wx.Coord` .. method:: GetFromPos(self) :rtype: `Point` .. method:: GetToCell(self) :rtype: :ref:`wx.html.HtmlCell` .. method:: GetToCharacterPos(self) :rtype: `wx.Coord` .. method:: GetToPos(self) :rtype: `Point` .. method:: IsEmpty(self) :rtype: `bool` .. method:: Set(self, *args, **kw) |overload| Overloaded Implementations: :html:`

` **Set** `(self, fromPos, fromCell, toPos, toCell)` :param `fromPos`: :type `fromPos`: wx.Point :param `fromCell`: :type `fromCell`: wx.html.HtmlCell :param `toPos`: :type `toPos`: wx.Point :param `toCell`: :type `toCell`: wx.html.HtmlCell :html:`

` **Set** `(self, fromCell, toCell)` :param `fromCell`: :type `fromCell`: wx.html.HtmlCell :param `toCell`: :type `toCell`: wx.html.HtmlCell :html:`

` .. method:: SetFromCharacterPos(self, pos) :param `pos`: :type `pos`: int .. method:: SetToCharacterPos(self, pos) :param `pos`: :type `pos`: int .. attribute:: FromCell See :meth:`~wx.html.HtmlSelection.GetFromCell` .. attribute:: FromCharacterPos See :meth:`~wx.html.HtmlSelection.GetFromCharacterPos` and :meth:`~wx.html.HtmlSelection.SetFromCharacterPos` .. attribute:: FromPos See :meth:`~wx.html.HtmlSelection.GetFromPos` .. attribute:: ToCell See :meth:`~wx.html.HtmlSelection.GetToCell` .. attribute:: ToCharacterPos See :meth:`~wx.html.HtmlSelection.GetToCharacterPos` and :meth:`~wx.html.HtmlSelection.SetToCharacterPos` .. attribute:: ToPos See :meth:`~wx.html.HtmlSelection.GetToPos`