Class: Wx::HTML::HTMLDataObject
- Inherits:
-
DataObjectSimple
- Object
- DataObject
- DataObjectSimple
- Wx::HTML::HTMLDataObject
- 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
Instance Method Summary collapse
-
#get_html ⇒ String
(also: #html)
Returns the HTML string.
-
#initialize(html = ('')) ⇒ Wx::HTML::HTMLDataObject
constructor
Constructor.
-
#set_html(html) ⇒ void
(also: #html=)
Sets the HTML string.
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.
24 |
# File 'lib/wx/doc/gen/html/html_data_object.rb', line 24 def initialize(html=('')) end |
Instance Method Details
#get_html ⇒ String Also known as: html
Returns the HTML 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.
34 |
# File 'lib/wx/doc/gen/html/html_data_object.rb', line 34 def set_html(html) end |