Translations:OOUI/Creating interfaces programmatically/24/en

Each widget is created and configured with either a configuration object that is passed to the widget constructor or by using methods to set the configurations (see example below).