Check if "Show Background" is enabled

How can I check this via scripting?

Like so:
print Glyphs.defaults["showBackground"]

I use this script a lot to print all user defaults.

BTW: @GeorgSeifert The Bools seem to be 0 and True … which kind of works, but wouldn’t it be nicer to have them of the same type? [0 and 1 or False and True]

1 Like