GUI Options


There are a number of generic configurations available, which will affect the whole GUI.
Some of these are also available at a widget level, where you can specify individual configurations tor specified widgets.

GUI Configuration


Some basic configuration for the size, position, transparency, etc. of the GUI.

Look & Feel

Size & Location

if app.exitFullscreen():
    # do something
else:
    app.setGeometry("fullscreen")
    # do something else

GUI Design


It's possible to change the default colours and fonts for widgets in the GUI.

Colour

Font

You can describe a font using a String or a Tuple. There are three properties that can be set:

If the family has a space, then you should use a tuple, otherwise you can simply pass a space separated string:

font = "Times 16 bold underline"
font = ("Comic Sans", "20", "underline")

If the font can't be found, a default font will be used.