Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > System > Shells

    spuug 0.4

    Download button

    Downloads: 421  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.7/5)
    17 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Dirk-Jan C. Binnema | More programs
    GPL / FREE
    November 15th, 2010, 12:55 GMT [view history]
    ROOT / System / Shells

     Read user reviews (0)  Refer to a friend  Subscribe

    spuug description

    A little tool that generates the boilerplate code for GObjects

    spuug is a little tool that generates the boilerplate code for GObjects. I you don't know what they are, then probably this tool is of little use to you...

    spuug can be used for 'plain' GObjects, but also for GTK+-widgets etc., and tries to be a bit smart with the code in spits out. I've been using it myself for a while, and it has been very helpful. However, a code generator is no more than that -- you still need to understand GObjects/GtkWidgets to use it. So, I would recommend writing a couple 'by hand' before using a tool like this one.

    If you find any problems or you have improvements, please report them to me·
    spuug is Dutch for the imperative form of to spit out.

    Usage:

     spuug --help
    spuug version 0.2
    Copyright (c) 2006 Dirk-Jan C. Binnema .
    spuug is free software covered by the GNU General Public License v2.1

    spuug is a script to generate GObject boilerplate code
    usage: spuug [OPTIONS]
    where options are:

    --class=,-c : the classname (e.g. MyFooBar)

    --interface=,-i : the interface name (e.g. MyFooBarIFace)

    --parent=,-p : the parent classname (e.g. Bar)

    --namespace=,-n : the namespace (e.g. My)

    --test,-t : generate test code as well

    --force,-f : overwrite existing files

    --help,-h : show this help text


    Example:

    spuug --class=FunkyFooBar --namespace=Funky --parent=GtkWidget

    will generate funky-foobar.c and funky-foobar.h with the boilerplate code

    and

    spuug --class=CuteThing --namespace=Cute --parent=GObject --test

    will generate cute-thing.c and cute-thing.h with the boilerplate code, and test-cute-thing.c and Makefile for testing.


    Product's homepage

    Requirements:

    · gtk+
    · Ruby

    What's New in This Release: [ read full changelog ]

    · The output was simplified a bit (by using G_DEFINE_TYPE) and things were made a bit faster by keeping a *priv pointer around in the public struct.

      


    TAGS:

    GObj Generator | generate GObjects | boilerplate code | spuug | GObj | Generator



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM