I am working on my first GUI with xpce and want the user to be able to change the font of all displayed objects. My first approach was to define a fact storing the global_font and then using
send(Object, font, Global_Font)
to update the font of each displayed Object.
Since this includes additional work and also is a risk to forget to update maybe one or two Objects without notice, I was wondering, if there is a way to change the default font of all Objects.
Some more related questions that came to my mind are these two:
Where do the Objects get their default font from?
Is there a way to also change the font of the headlines of dialogs?
I am looking forward for your answers and thanks in advance