Class: Wx::RTC::RichTextStyleDefinition
- Defined in:
- lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb
Overview
This is a base class for paragraph and character styles.
Category: Rich Text
Direct Known Subclasses
RichTextCharacterStyleDefinition, RichTextParagraphStyleDefinition
Instance Method Summary collapse
-
#get_base_style ⇒ Wx::String
(also: #base_style)
Returns the style on which this style is based.
-
#get_description ⇒ Wx::String
(also: #description)
Returns the style’s description.
-
#get_name ⇒ Wx::String
(also: #name)
Returns the style name.
-
#get_properties ⇒ Wx::RTC::RichTextProperties
(also: #properties)
Returns the definition’s properties.
-
#get_style_merged_with_base(sheet) ⇒ Wx::RTC::RichTextAttr
(also: #style_merged_with_base)
Returns the style attributes combined with the attributes of the specified base style, if any.
-
#initialize(name = ('')) ⇒ Wx::RTC::RichTextStyleDefinition
constructor
Constructor.
-
#set_base_style(name) ⇒ void
(also: #base_style=)
Sets the name of the style that this style is based on.
-
#set_description(descr) ⇒ void
(also: #description=)
Sets the style description.
-
#set_name(name) ⇒ void
(also: #name=)
Sets the name of the style.
-
#set_properties(props) ⇒ void
(also: #properties=)
Sets the definition’s properties.
-
#set_style(style) ⇒ void
(also: #style=)
Sets the attributes for this style.
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize(name = ('')) ⇒ Wx::RTC::RichTextStyleDefinition
Constructor.
1048 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1048 def initialize(name=('')) end |
Instance Method Details
#get_base_style ⇒ Wx::String Also known as: base_style
Returns the style on which this style is based.
1052 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1052 def get_base_style; end |
#get_description ⇒ Wx::String Also known as: description
Returns the style’s description.
1057 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1057 def get_description; end |
#get_name ⇒ Wx::String Also known as: name
Returns the style name.
1062 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1062 def get_name; end |
#get_properties ⇒ Wx::RTC::RichTextProperties Also known as: properties
Returns the definition’s properties.
1099 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1099 def get_properties; end |
#get_style_merged_with_base(sheet) ⇒ Wx::RTC::RichTextAttr Also known as: style_merged_with_base
Returns the style attributes combined with the attributes of the specified base style, if any.
This function works recursively.
1070 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1070 def get_style_merged_with_base(sheet) end |
#set_base_style(name) ⇒ void Also known as: base_style=
This method returns an undefined value.
Sets the name of the style that this style is based on.
1076 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1076 def set_base_style(name) end |
#set_description(descr) ⇒ void Also known as: description=
This method returns an undefined value.
Sets the style description.
1082 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1082 def set_description(descr) end |
#set_name(name) ⇒ void Also known as: name=
This method returns an undefined value.
Sets the name of the style.
1088 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1088 def set_name(name) end |
#set_properties(props) ⇒ void Also known as: properties=
This method returns an undefined value.
Sets the definition’s properties.
1105 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1105 def set_properties(props) end |
#set_style(style) ⇒ void Also known as: style=
This method returns an undefined value.
Sets the attributes for this style.
1094 |
# File 'lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb', line 1094 def set_style(style) end |