Config file section

Valid in machine config files YES
Valid in mode config files YES

The widgets: section of your config is where you pre-define “named” widgets that you can then use later in shows and the widget_player section of a config file. (See the Widgets guide for details.)

Since there are many different types of widgets in MPF, it doesn’t make sense to list all the widget type and all the options here. Instead check out the Widgets documentation which has all the details, including config file reference for different types of widgets.