GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.HTMLDataObject
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.HTMLDataObject — wxPython 4.3.2 Docs

phoenix_title wx.HTMLDataObject¶

wx.HTMLDataObject is used for working with HTML-formatted text.

See also

wx.DataObject, wx.DataObjectSimple


class_hierarchy Class Hierarchy¶

Inheritance diagram for class HTMLDataObject:

Inheritance diagram of HTMLDataObject


method_summary Methods Summary¶

__init__

Constructor.

GetAllFormats

Returns a list of wx.DataFormat objects which this data object

GetHTML

Returns the HTML string.

SetData

SetHTML

Sets the HTML string.


property_summary Properties Summary¶

AllFormats

See GetAllFormats

HTML

See GetHTML and SetHTML


api Class API¶

class wx.HTMLDataObject(DataObjectSimple)¶

Possible constructors:

HTMLDataObject(html='') -> None

HTMLDataObject is used for working with HTML-formatted text.


Methods¶

__init__(self, html='')¶

Constructor.

Parameters:

html (string)

Return type:

None



GetAllFormats(self, dir=DataObject.Get)¶

Returns a list of wx.DataFormat objects which this data object supports transferring in the given direction.

Return type:

Any



GetHTML(self)¶

Returns the HTML string.

Return type:

str



SetData(self, format, buf)¶
Return type:

bool



SetHTML(self, html)¶

Sets the HTML string.

Parameters:

html (string)

Return type:

None


Properties¶

AllFormats¶

See GetAllFormats



HTML¶

See GetHTML and SetHTML

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.