Class: Wx::HTML::HTMLDataObject

Inherits:
DataObjectSimple show all
Defined in:
lib/wx/doc/gen/html/html_data_object.rb

Overview

HTMLDataObject is used for working with HTML-formatted text.

Category: Clipboard and Drag & Drop

See Also:

Requires:

  • USE_HTML

Instance Method Summary collapse

Methods inherited from DataObjectSimple

#get_data_here, #get_data_size, #get_format, #set_data

Methods inherited from DataObject

#get_all_formats, #get_data_here, #get_data_size, #get_format_count, #get_preferred_format, #is_supported, #set_data

Constructor Details

#initialize(html = ('')) ⇒ Wx::HTML::HTMLDataObject

Constructor.

Parameters:

  • html (String) (defaults to: (''))


24
# File 'lib/wx/doc/gen/html/html_data_object.rb', line 24

def initialize(html=('')) end

Instance Method Details

#get_htmlString Also known as: html

Returns the HTML string.

Returns:

  • (String)


28
# File 'lib/wx/doc/gen/html/html_data_object.rb', line 28

def get_html; end

#set_html(html) ⇒ void Also known as: html=

This method returns an undefined value.

Sets the HTML string.

Parameters:

  • html (String)


34
# File 'lib/wx/doc/gen/html/html_data_object.rb', line 34

def set_html(html) end