grim/gir2glade
Clone
Summary
Browse
Changes
Graph
Add a version to the stylesheet for tracking
draft
2018-05-08, Gary Kramlich
66a42ebdec52
Add a version to the stylesheet for tracking
# gir2glade
gir2glade is an XSL Transform for creating a [
glade
](
https://glade.gnome.org
)
catalog from a [
gobject-introspection
](
200~https://wiki.gnome.org/action/show/Projects/GObjectIntrospection?action=show&redirect=GObjectIntrospection
)
gir file.
It can be used on any gir file with any XSLT processor.
The following will create the glade catalog and output it to stdout.
```
xsltproc gir2glade.xsl GtkIM-0.0.gir
```
You can save it to a file with
```
xsltproc gir2glade.xsl GtkIM-0.0.gir > gtkim.xml
```
Then add the path you wrote it to to glade's catalog search path and you're set!