forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_richtextlabel
reduz edited this page Feb 23, 2014
·
11 revisions
Inherits: Control\n\n
Label that displays rich text.
- void ** add_text ** ( String text )
- void ** add_image ** ( Texture image )
- void ** newline ** ( )
- void ** push_font ** ( Object font )
- void ** push_color ** ( Color color )
- void ** push_align ** ( int align )
- void ** push_indent ** ( int level )
- void ** push_list ** ( int type )
- void ** push_meta ** ( var data )
- void ** push_underline ** ( )
- void ** pop ** ( )
- void ** clear ** ( )
- void ** set_meta_underline ** ( bool enable )
- bool ** is_meta_underlined ** ( ) const
- void ** set_scroll_active ** ( bool active )
- bool ** is_scroll_active ** ( ) const
- void ** set_scroll_follow ** ( bool follow )
- bool ** is_scroll_following ** ( ) const
- void ** set_tab_size ** ( int spaces )
- int ** get_tab_size ** ( ) const
- void ** set_selection_enabled ** ( bool enabled )
- bool ** is_selection_enabled ** ( ) const
- ** meta_clicked ** ( Nil meta )
- ALIGN_LEFT = 0
- ALIGN_CENTER = 1
- ALIGN_RIGHT = 2
- ALIGN_FILL = 3
- LIST_NUMBERS = 0
- LIST_LETTERS = 1
- LIST_DOTS = 2
- ITEM_MAIN = 0
- ITEM_TEXT = 1
- ITEM_IMAGE = 2
- ITEM_NEWLINE = 3
- ITEM_FONT = 4
- ITEM_COLOR = 5
- ITEM_UNDERLINE = 6
- ITEM_ALIGN = 7
- ITEM_INDENT = 8
- ITEM_LIST = 9
- ITEM_META = 10
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.
- void ** set_selection_enabled ** ( bool enabled ) \ Set to true if selecting the text inside this richtext is allowed.
- bool ** is_selection_enabled ** ( ) const \ Return true if selecting the text inside this richtext is allowed.