The application consists of a graphical user interface (GUI) and program code. Most of the GUI can be designed using a tool such as `Glade`_, yet its function needs to be implemented in code. Even for a simple application like this one, there is still a certain amount of code required to connect elements of the user interface to basic actions.
In the :ref:`examples_Treasure_user_interface` section we provide a quick overview of the GUI, showing what it looks like in the Glade tool. Online resources for Glade provide detailed instruction on the process of building user interfaces.
In the :ref:`examples_Treasure_user_interface` section we provide a quick overview of the GUI, showing what it looks like in the Glade tool. `Online resources for Glade <Glade_>`_ provide detailed instruction on the process of building user interfaces.
In the :ref:`examples_Treasure_main_program` section we tie the user interface to the program code that performs the work of the application, from initialization to game logic and handling of user interface actions.