wxRuby Documentation Home
Wx::RichTextStyleDefinition
This is a base class for paragraph and character styles.
Derived from
Object
Data structures
RichTextStyleDefinition.new
RichTextStyleDefinition.new(%(arg-type)String% name = ’’)
Constructor.
destructor()
Destructor.
RichTextStyleDefinition#get_base_style
String get_base_style()
Returns the style on which this style is based.
RichTextStyleDefinition#get_description
String get_description()
Returns the style’s description.
RichTextStyleDefinition#get_name
String get_name()
Returns the style name.
RichTextStyleDefinition#get_style
RichTextAttr get_style()
RichTextAttr get_style()
Returns the attributes associated with this style.
RichTextStyleDefinition#get_style_merged_with_base
RichTextAttr get_style_merged_with_base(%(arg-type)RichTextStyleSheet% sheet)
Returns the style attributes combined with the attributes of the specified base style, if any. This function works recursively.
RichTextStyleDefinition#set_base_style
set_base_style(%(arg-type)String% name)
Sets the name of the style that this style is based on.
RichTextStyleDefinition#set_description
set_description(%(arg-type)String% descr)
Sets the style description.
RichTextStyleDefinition#set_name
set_name(%(arg-type)String% name)
Sets the name of the style.
RichTextStyleDefinition#set_style
set_style(%(arg-type)RichTextAttr% style)
Sets the attributes for this style.
[This page automatically generated from the Textile source at 2023-06-13 21:31:43 +0000]