GUI library for SFML

Config files

Config files are needed to load widgets. TGUI comes with the default Black theme which can be used until you have created your own theme.

The config files contain information about the widget that you want to load. Most of the information is just which image file needs to be loaded, but other important information can be put in there as well. In the Black style for example, the images from EditBox have rounded corners and the config file contains information about how many pixels the text should be from the side of the image.

The best way to write your own config files is to look at the ones that are provided with TGUI.
However if you really need a list of all options that a widget can have then you can find it below.

When it says “SplitImage available” between brackets, it means that the xxx option can be replaced by xxx_L, xxx_M and xxx_R. If you don’t know what SplitImage is then take a look at an old tutorial about SplitImage (outdated but it explains what it is).


ChatBox CheckBox ChildWindow ComboBox EditBox Label ListBox LoadingBar MenuBar MessageBox RadioButton Scrollbar Slider Slider2d SpinButton Tab TextBox

Privacy Policy