Banner.Context
Classes
Banner.Context
This is a banner module that displays a different heading depending on what action last happened. When the home page is shown, it displays "Highlights". When a set is shown, it displays the set's title. When search results are shown, it displays a message with the search text.
This module is meant to be used in
Implements:
Properties
halign
How to position in extra horizontal space
- Default value
- 0
- Type
- GtkAlign
valign
How to position in extra vertical space
- Default value
- 0
- Type
- GtkAlign
hexpand
Whether widget wants more horizontal space
- Default value
- False
- Type
- Boolean
vexpand
Whether widget wants more vertical space
- Default value
- False
- Type
- Boolean
expand
Whether widget wants to expand in both directions
- Default value
- False
- Type
- Boolean
xpad
The amount of space to add on the left and right of the widget, in pixels
- Default value
- 0
- Type
- Number
ypad
The amount of space to add on the top and bottom of the widget, in pixels
- Default value
- 0
- Type
- Number
label
The text of the label
- Default value
- Type
- String
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
- Default value
- 0
- Type
- GtkJustification
wrap
If set, wrap lines if the text becomes too wide
- Default value
- False
- Type
- Boolean
wrap-mode
If wrap is set, controls how linewrapping is done
- Default value
- 0
- Type
- PangoWrapMode
selectable
Whether the label text can be selected with the mouse
- Default value
- False
- Type
- Boolean
ellipsize
The preferred place to ellipsize the string, if the label does not have enough room to display the entire string
- Default value
- 0
- Type
- PangoEllipsizeMode
width-chars
The desired width of the label, in characters
- Default value
- -1
- Type
- Number
single-line-mode
Whether the label is in single line mode
- Default value
- False
- Type
- Boolean
angle
Angle at which the label is rotated
- Default value
- 0
- Type
- Number
max-width-chars
The desired maximum width of the label, in characters
- Default value
- -1
- Type
- Number
lines
The desired number of lines, when ellipsizing a wrapping label
- Default value
- -1
- Type
- Number
The results of the search are