Gladegen is a program written in C that takes a Glade XML file and generates skeleton code. The main goal of this is to generate a C code to load Glade file into GtkBuilder and initiate the widgets and but not to automatically generates all the source code for a graphical control element.
- C
- libxml2
- make
- gcc (or compilable)
- libxml2-dev
use the Makefile to build the executable and add gladegen
to the system path.
Open a terminal, change the directory to a glade file location and run the gladegen
as follows. source code will generate in the same directory.
gladegen <Glade XML file>
e.g
gladegen sample.glade
- Support to generate minimum C skeleton code
- Implement command line options
- Glade resource file generation
- Makefile generation
- Move to template based code generation
- Provide a simple UI as an alternative to command line
Distributed under the BSD Zero Clause License. See LICENSE.MD
for more information.