2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name= "RichTextLabel" inherits= "Control" category= "Core" version= "3.0.alpha.custom_build" >
<brief_description >
Label that displays rich text.
</brief_description>
<description >
Label that displays rich text. Rich text can contain custom text, fonts, images and some basic formatting. It also adapts itself to given width/heights.
</description>
<tutorials >
</tutorials>
<demos >
</demos>
<methods >
<method name= "add_image" >
<return type= "void" >
</return>
<argument index= "0" name= "image" type= "Texture" >
</argument>
<description >
</description>
</method>
<method name= "add_text" >
<return type= "void" >
</return>
<argument index= "0" name= "text" type= "String" >
</argument>
<description >
</description>
</method>
<method name= "append_bbcode" >
<return type= "int" enum= "Error" >
</return>
<argument index= "0" name= "bbcode" type= "String" >
</argument>
<description >
</description>
</method>
<method name= "clear" >
<return type= "void" >
</return>
<description >
</description>
</method>
<method name= "get_bbcode" qualifiers= "const" >
<return type= "String" >
</return>
<description >
</description>
</method>
2017-09-23 10:59:35 +02:00
<method name= "get_line_count" qualifiers= "const" >
<return type= "int" >
</return>
<description >
</description>
</method>
2017-09-12 22:42:36 +02:00
<method name= "get_percent_visible" qualifiers= "const" >
<return type= "float" >
</return>
<description >
</description>
</method>
<method name= "get_tab_size" qualifiers= "const" >
<return type= "int" >
</return>
<description >
</description>
</method>
<method name= "get_text" >
<return type= "String" >
</return>
<description >
Returns the raw text, stripping out the formatting information.
</description>
</method>
<method name= "get_total_character_count" qualifiers= "const" >
<return type= "int" >
</return>
<description >
</description>
</method>
<method name= "get_v_scroll" >
<return type= "VScrollBar" >
</return>
<description >
</description>
</method>
<method name= "get_visible_characters" qualifiers= "const" >
<return type= "int" >
</return>
<description >
</description>
</method>
2017-09-23 10:59:35 +02:00
<method name= "get_visible_line_count" qualifiers= "const" >
<return type= "int" >
</return>
<description >
</description>
</method>
2017-09-12 22:42:36 +02:00
<method name= "is_meta_underlined" qualifiers= "const" >
<return type= "bool" >
</return>
<description >
</description>
</method>
<method name= "is_scroll_active" qualifiers= "const" >
<return type= "bool" >
</return>
<description >
</description>
</method>
<method name= "is_scroll_following" qualifiers= "const" >
<return type= "bool" >
</return>
<description >
</description>
</method>
<method name= "is_selection_enabled" qualifiers= "const" >
<return type= "bool" >
</return>
<description >
Return true if selecting the text inside this richtext is allowed.
</description>
</method>
<method name= "is_using_bbcode" qualifiers= "const" >
<return type= "bool" >
</return>
<description >
</description>
</method>
<method name= "newline" >
<return type= "void" >
</return>
<description >
</description>
</method>
<method name= "parse_bbcode" >
<return type= "int" enum= "Error" >
</return>
<argument index= "0" name= "bbcode" type= "String" >
</argument>
<description >
</description>
</method>
<method name= "pop" >
<return type= "void" >
</return>
<description >
</description>
</method>
<method name= "push_align" >
<return type= "void" >
</return>
<argument index= "0" name= "align" type= "int" enum= "RichTextLabel.Align" >
</argument>
<description >
</description>
</method>
<method name= "push_cell" >
<return type= "void" >
</return>
<description >
</description>
</method>
<method name= "push_color" >
<return type= "void" >
</return>
<argument index= "0" name= "color" type= "Color" >
</argument>
<description >
</description>
</method>
<method name= "push_font" >
<return type= "void" >
</return>
<argument index= "0" name= "font" type= "Font" >
</argument>
<description >
</description>
</method>
<method name= "push_indent" >
<return type= "void" >
</return>
<argument index= "0" name= "level" type= "int" >
</argument>
<description >
</description>
</method>
<method name= "push_list" >
<return type= "void" >
</return>
<argument index= "0" name= "type" type= "int" enum= "RichTextLabel.ListType" >
</argument>
<description >
</description>
</method>
<method name= "push_meta" >
<return type= "void" >
</return>
<argument index= "0" name= "data" type= "Variant" >
</argument>
<description >
</description>
</method>
<method name= "push_table" >
<return type= "void" >
</return>
<argument index= "0" name= "columns" type= "int" >
</argument>
<description >
</description>
</method>
<method name= "push_underline" >
<return type= "void" >
</return>
<description >
</description>
</method>
<method name= "remove_line" >
<return type= "bool" >
</return>
<argument index= "0" name= "line" type= "int" >
</argument>
<description >
</description>
</method>
<method name= "scroll_to_line" >
<return type= "void" >
</return>
<argument index= "0" name= "line" type= "int" >
</argument>
<description >
</description>
</method>
<method name= "set_bbcode" >
<return type= "void" >
</return>
<argument index= "0" name= "text" type= "String" >
</argument>
<description >
</description>
</method>
<method name= "set_meta_underline" >
<return type= "void" >
</return>
<argument index= "0" name= "enable" type= "bool" >
</argument>
<description >
</description>
</method>
<method name= "set_percent_visible" >
<return type= "void" >
</return>
<argument index= "0" name= "percent_visible" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "set_scroll_active" >
<return type= "void" >
</return>
<argument index= "0" name= "active" type= "bool" >
</argument>
<description >
</description>
</method>
<method name= "set_scroll_follow" >
<return type= "void" >
</return>
<argument index= "0" name= "follow" type= "bool" >
</argument>
<description >
</description>
</method>
<method name= "set_selection_enabled" >
<return type= "void" >
</return>
<argument index= "0" name= "enabled" type= "bool" >
</argument>
<description >
Set to true if selecting the text inside this richtext is allowed.
</description>
</method>
<method name= "set_tab_size" >
<return type= "void" >
</return>
<argument index= "0" name= "spaces" type= "int" >
</argument>
<description >
</description>
</method>
<method name= "set_table_column_expand" >
<return type= "void" >
</return>
<argument index= "0" name= "column" type= "int" >
</argument>
<argument index= "1" name= "expand" type= "bool" >
</argument>
<argument index= "2" name= "ratio" type= "int" >
</argument>
<description >
</description>
</method>
<method name= "set_text" >
<return type= "void" >
</return>
<argument index= "0" name= "text" type= "String" >
</argument>
<description >
</description>
</method>
<method name= "set_use_bbcode" >
<return type= "void" >
</return>
<argument index= "0" name= "enable" type= "bool" >
</argument>
<description >
</description>
</method>
<method name= "set_visible_characters" >
<return type= "void" >
</return>
<argument index= "0" name= "amount" type= "int" >
</argument>
<description >
</description>
</method>
</methods>
<members >
2017-09-13 08:49:40 +02:00
<member name= "bbcode_enabled" type= "bool" setter= "set_use_bbcode" getter= "is_using_bbcode" >
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "bbcode_text" type= "String" setter= "set_bbcode" getter= "get_bbcode" >
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "percent_visible" type= "float" setter= "set_percent_visible" getter= "get_percent_visible" >
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "visible_characters" type= "int" setter= "set_visible_characters" getter= "get_visible_characters" >
2017-09-12 22:42:36 +02:00
</member>
</members>
<signals >
<signal name= "meta_clicked" >
<argument index= "0" name= "meta" type= "Nil" >
</argument>
<description >
</description>
</signal>
</signals>
<constants >
<constant name= "ALIGN_LEFT" value= "0" >
</constant>
<constant name= "ALIGN_CENTER" value= "1" >
</constant>
<constant name= "ALIGN_RIGHT" value= "2" >
</constant>
<constant name= "ALIGN_FILL" value= "3" >
</constant>
<constant name= "LIST_NUMBERS" value= "0" >
</constant>
<constant name= "LIST_LETTERS" value= "1" >
</constant>
<constant name= "LIST_DOTS" value= "2" >
</constant>
<constant name= "ITEM_FRAME" value= "0" >
</constant>
<constant name= "ITEM_TEXT" value= "1" >
</constant>
<constant name= "ITEM_IMAGE" value= "2" >
</constant>
<constant name= "ITEM_NEWLINE" value= "3" >
</constant>
<constant name= "ITEM_FONT" value= "4" >
</constant>
<constant name= "ITEM_COLOR" value= "5" >
</constant>
<constant name= "ITEM_UNDERLINE" value= "6" >
</constant>
<constant name= "ITEM_ALIGN" value= "7" >
</constant>
<constant name= "ITEM_INDENT" value= "8" >
</constant>
<constant name= "ITEM_LIST" value= "9" >
</constant>
<constant name= "ITEM_META" value= "11" >
</constant>
</constants>
<theme_items >
<theme_item name= "bold_font" type= "Font" >
</theme_item>
<theme_item name= "bold_italics_font" type= "Font" >
</theme_item>
<theme_item name= "default_color" type= "Color" >
</theme_item>
<theme_item name= "focus" type= "StyleBox" >
</theme_item>
<theme_item name= "font_color_selected" type= "Color" >
</theme_item>
<theme_item name= "italics_font" type= "Font" >
</theme_item>
<theme_item name= "line_separation" type= "int" >
</theme_item>
<theme_item name= "mono_font" type= "Font" >
</theme_item>
<theme_item name= "normal" type= "StyleBox" >
</theme_item>
<theme_item name= "normal_font" type= "Font" >
</theme_item>
<theme_item name= "selection_color" type= "Color" >
</theme_item>
<theme_item name= "table_hseparation" type= "int" >
</theme_item>
<theme_item name= "table_vseparation" type= "int" >
</theme_item>
</theme_items>
</class>