comp • gb.gtk • label

Label (gb.gtk)

This control displays a piece of text.

Since 3.16

This control has been rewritten in Gambas since 3.16 version.

This class inherits UserControl.
This class is
Create a new Label.
creatable
.

Properties

Methods Events
Action  
Return or set the text alignment.
Alignment  
Return or set if the control adapts its size to its contents automatically.
AutoResize  
Returns or sets the background color used by the control.
Background  
Return or set the border displayed around the control.
Border  
Return or set the displayed text.
Caption  
Children   ClientH   ClientHeight   ClientW   ClientWidth   ClientX   ClientY  
Use this property for assigning a custom cursor to a control.
Cursor  
Indicates that the control is in design mode.
Design  
Returns or sets if a control accepts drops.
Drop  
Indicates that the control is enabled.
Enabled  
Returns or sets if a control will expand if included in a container that arranges its contents.
Expand  
Returns or sets the font used to draw text in the control.
Font  
Returns or sets the foreground color used by the control.
Foreground  
H   Handle   HasFocus   Height   Hovered   Id   Ignore   Left  
Returns or sets the appearence of the cursor when it points inside the control.
Mouse  
Name   Next   NoTabFocus  
Return or set the inner padding around the text, in pixels.
Padding  
Parent   PopupMenu   Previous   Proxy   ScreenX   ScreenY   Tag  
Return or set the displayed text.
Text  
Tooltip   Top   Tracking  
Return or set if the control background is transparent. This property is deprecated.
Transparent  
Visible   W   Width   Window   X   Y  
Resize the control so that it adapts to its contents.
Adjust  
Delete   Drag   FindChild   Grab   Hide   Lower   Move   MoveScaled   Raise   Refresh   Reparent   Resize   ResizeScaled   SetFocus   Show  
Arrange   BeforeArrange   DblClick   Drag   DragLeave   DragMove   Drop   Enter   GotFocus   KeyPress   KeyRelease   Leave   LostFocus   Menu   MouseDown   MouseDrag   MouseMove   MouseUp   MouseWheel   NewChild