Banner.App

Classes

Banner.App

The Banner.App module displays a logo for the app, which should include a wordmark. Optionally it can display a subtitle below the logo.

The logo must be available in the app's GResource file, at the path /app/assets/titleImage.

Compare to Banner.Dynamic.

CSS classes:

  • app-banner - on the module itself
  • subtitle - on the label displaying the app's subtitle

Properties

factory-id

Module ID

Type
String
Default value

factory-path

Path indicating where a module comes from in the app.json

Type
String
Default value

orientation

The orientation of the orientable

Type
GtkOrientation
Default value
0

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

show-subtitle

Whether to show the application's subtitle underneath the image. The subtitle will be taken from the desktop file description field.

Type
Boolean
Default value
False

The results of the search are