Skip to content

melanj/glade-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Gladegen - Code Generator for Glade

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages