[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Mon, 17 Nov 2008 22:31:03 +0000 Simon Williams <simon@xxxxxxxxxxxxxxxxxxx> wrote: > > Not a particular tutorial but I do have experience of using GObject > > - what are you trying to achieve and what errors are you getting? > > (Where is the source code as-is?) > > That's the problem. I have no source code. I don't know where to > start. I'm trying to make use of GEGL. Their docs just say things > like "this returns a GObject with properties x,y and z". > The Glib docs keep giving massive examples with huge structs and > various pointers, but don't say what a lot of the fields are for. Well, GEGL itself comes with a test program. Have a look at GOB too. Maybe libglib-perl source code could help. GObject is all about huge structs and various pointers - you make them into what you need. To a large extent, you are facing the same hurdle as I encountered with LDAP. GObject and LDAP (and my own library, QOF) are frameworks - essentially empty shells which you need to populate with your own data and meta-data. For a while, drop the long-term target and get your head around some of the existing examples and test programs used by packages already implementing GObject. Go small - concentrate on the detail and get things clear in your mind before going back to your main target. It can be hard getting 'into' a new model, a new framework. Also, try: http://docs.programmers.ch/index.php/HOWTO_gobject -- Neil Williams ============= http://www.data-freedom.org/ http://www.linux.codehelp.co.uk/ http://e-mail.is-not-s.ms/
Attachment:
pgpSAd9Up2NDf.pgp
Description: PGP signature
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html