ContentGroup.StaticText
Classes
ContentGroup.StaticText
Properties
halign
How to position in extra horizontal space
- Type
- GtkAlign
- Default value
- 0
valign
How to position in extra vertical space
- Type
- GtkAlign
- Default value
- 0
hexpand
Whether widget wants more horizontal space
- Type
- Boolean
- Default value
- False
vexpand
Whether widget wants more vertical space
- Type
- Boolean
- Default value
- False
expand
Whether widget wants to expand in both directions
- Type
- Boolean
- Default value
- False
xpad
The amount of space to add on the left and right of the widget, in pixels
- Type
- Number
- Default value
- 0
ypad
The amount of space to add on the top and bottom of the widget, in pixels
- Type
- Number
- Default value
- 0
label
The text of the label
- Type
- String
- Default value
justify
The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See GtkLabel:xalign for that
- Type
- GtkJustification
- Default value
- 0
wrap
If set, wrap lines if the text becomes too wide
- Type
- Boolean
- Default value
- False
wrap-mode
If wrap is set, controls how linewrapping is done
- Type
- PangoWrapMode
- Default value
- 0
selectable
Whether the label text can be selected with the mouse
- Type
- Boolean
- Default value
- False
ellipsize
The preferred place to ellipsize the string, if the label does not have enough room to display the entire string
- Type
- PangoEllipsizeMode
- Default value
- 0
width-chars
The desired width of the label, in characters
- Type
- Number
- Default value
- -1
single-line-mode
Whether the label is in single line mode
- Type
- Boolean
- Default value
- False
angle
Angle at which the label is rotated
- Type
- Number
- Default value
- 0
max-width-chars
The desired maximum width of the label, in characters
- Type
- Number
- Default value
- -1
lines
The desired number of lines, when ellipsizing a wrapping label
- Type
- Number
- Default value
- -1
The results of the search are