GObject Generator

There has been recent talk about GObject Generators, so I’m going to throw my own one into the mix. It’s based on Ross’ gobject.py, but given a fresh dose of GTK+ and auto completion love.

screenshot-gobject-generator

If you’d like to try it out, there is a git repository available:

git clone http://gnome.org/~thos/git/gobject-gen.git

I’d like to move it to GNOME git, but before I do it needs a decent project name. Does anyone have any suggestions? Something descriptive but unique, preferably with only 2 syllables.

Kudos to the Anjuta GObject generator for the auto completion idea. Also, before any one suggests it, I know about Vala but we’re not using it for this project, so it’s of no use.

17 Responses to “GObject Generator”

  1. Xav says:

    G.O.Gen

  2. I hate myself for saying this, but ObjKit?

  3. Chris Lord says:

    Rob’s GObject-o-tron still has my vote. Failing that though, gobject-gen, gob-gen, gobj-gen, obj-gen, something along those lines… Something that actually says what it does…

  4. Luca says:

    At least as important as the name… The icon!

  5. Mats Taraldsvik says:

    Genero? -> GENERator for gObject

  6. I’d love this if I could use some templates, for instance I’d have templates for python, vala, c etc… and could generate objects for whatever language, also it would be awesomely cool if I could have all different kinds of templates with other features, and maybe configurable features too (e.g. include finalise, mouse events etc…) which are interpreted during template processing.

    Each template offers up a set of variables which can be interpreted, their respective ranges and defaults etc… The UI, be it command line, gtk gets the input from the user and spews out the processed text.

    What’s needed is a template language that makes sense, that doesn’t have idiotic syntax, that can do the interpretation.

  7. Stefan Kost says:

    One thing that would be nice, if it could remember project prefixes. Like if I am inside the gstreamer sources pre-enter Gst, gst_ and so on there, if I hack on my own project (buzztard), put Bt, bt_ and so on there. One thing that might work, is that you remember the directory name and if its ever called again from same directory you can reuse the prefix.

    But then, as Karl said you want it to follow the layout in your files (copyright header etc.).

  8. Name suggestion: GObOrator

  9. Johan Bilien says:

    G-nerator! hmm

  10. Xav says:

    Oh, by the way, if you’d just use Vala you’d have a nice GObject generator, and way more powerful than your tool with that.

  11. Charles says:

    Name suggestion: Turbine

  12. antimonio says:

    I would suggest this name:

    ShitMuchWorseThanVala

  13. Tiabas says:

    Hi Thomas,

    I happened to stumble upon your blog while looking for a gtk theme editor. I like the application you made and was wondering if it is available for download since I was unable to find a download link. The application I am talking about is on this page of your blog: http://blogs.gnome.org/thos/2007/08/27/unnamed-project/

    Thanks.

  14. [...] gobject generator project I mentioned a while ago has been named “Turbine” (thanks to Charles for the suggestion). I’ve [...]

  15. [...] gobject generator project I mentioned a while ago has been named “Turbine” (thanks to Charles for the suggestion). I’ve made a few [...]