Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.15 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.15 KB

Gladegen - Code Generator for Glade

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.

Built With

Prerequisites

  • make
  • gcc (or compilable)
  • libxml2-dev

Installation

use the Makefile to build the executable and add gladegen to the system path.

Usage

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

Roadmap

  • 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

License

Distributed under the BSD Zero Clause License. See LICENSE.MD for more information.