Change font for gui

How to change the standart panda font for gui objects?

Hi, something like:

import direct.directbase.DirectStart
from direct.gui.DirectButton import DirectButton
DirectButton(
  text = 'hello',
  text_font = loader.loadFont( 'yourFont.ttf' )
)
run()

Obviously, you can also change it after the constructor invocation (using widgetRef[ ‘text_font’ ] = …).

Analogously, you can change other attributes like text_scale, text_fg, …