Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
gb
gb.args
gb.cairo
gb.chart
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.db.mysql
gb.db.odbc
gb.db.postgresql
gb.db.sqlite2
gb.db.sqlite3
gb.dbus
gb.dbus.trayicon
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.desktop.x11
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.htmlview
gb.form.mdi
gb.form.print
gb.form.stock
gb.form.terminal
gb.gmp
gb.gsl
gb.gtk
gb.gtk.opengl
gb.gtk3
gb.gtk3.opengl
gb.gtk3.webview
gb.gui
gb.gui.opengl
gb.gui.qt
gb.gui.qt.ext
gb.gui.qt.opengl
gb.gui.qt.webkit
gb.gui.trayicon
gb.gui.webview
gb.hash
gb.highlight
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.jit
gb.libxml
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.memcached
gb.mime
gb.mongodb
gb.mysql
gb.ncurses
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.openssl
gb.option
gb.pcre
gb.pdf
gb.poppler
gb.qt4
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt4.webview
gb.qt5
gb.qt5.ext
gb.qt5.opengl
gb.qt5.webkit
gb.qt5.webview
gb.qt6
gb.qt6.ext
gb.qt6.opengl
gb.qt6.webview
gb.report
gb.report2
gb.scanner
gb.sdl
gb.sdl.sound
gb.sdl2
gb.sdl2.audio
gb.settings
gb.signal
gb.term
gb.test
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.web.form
gb.web.gui
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

TextLabel (gb.gtk3)

This class implements a control displaying simple HTML text, as known as rich text.

See Rich Text Syntax for the list of HTML markup you are allowed to use inside rich text.

Since 3.16

This control has been rewritten in Gambas since 3.16 version.

This class inherits Label.

This class is creatable.

Properties
Wrap   Return or set if text wrapping is enabled.

Inherited properties
Action  
Alignment   Return or set the text alignment.
AutoResize   Return or set if the control adapts its size to its contents automatically.
Background  
Border   Return or set the border displayed around the control.
BorderColor   Return or set the border color This property has an effect when the Border property is set to Plain ? only.
BorderRadius   Return or set the background border radius
BorderWidth   Return or set the border width This property has an effect when the Border property is set to Plain ? only.
Caption   Return or set the displayed text.
Children  
ClientH  
ClientHeight  
ClientW  
ClientWidth  
ClientX  
ClientY  
Cursor  
Design  
Direction  
Drop  
Enabled  
Expand  
Font  
Foreground  
H  
Handle  
HasFocus  
Height  
Hovered  
Id  
Ignore  
Left  
Mouse  
Name  
Next  
NoAnimation  
NoTabFocus  
Padding   Return or set the inner padding around the text, in pixels.
Parent  
PopupMenu  
Previous  
Proxy  
ProxyFor  
RightToLeft  
ScreenX  
ScreenY  
Tag  
Text   Return or set the displayed text.
Tooltip  
Top  
Tracking  
Transparent   Return or set if the control background is transparent. This property is deprecated.
Trim   Return or set if the displayed text must be trimmed with an ellipsis when it overflows the Label frame.
Visible  
W  
Width  
Window  
X  
Y  

Inherited methods
Adjust   Resize the control so that it adapts to its contents.
Delete  
Drag  
FindChild  
Grab  
Hide  
Lower  
Move  
MoveScaled  
Raise  
Refresh  
Reparent  
Resize  
ResizeScaled  
SetFocus  
Show  

Inherited events
Arrange  
BeforeArrange  
DblClick  
Drag  
DragLeave  
DragMove  
Drop  
Enter  
GotFocus  
KeyPress  
KeyRelease  
Leave  
LostFocus  
Menu  
MouseDown  
MouseDrag  
MouseMove  
MouseUp  
MouseWheel  
NewChild