From: Michael U. <mic...@up...> - 2015-11-03 10:49:13
|
Howdy. I have been a bit worried to put my question on the list, but your responses keep me interested in GObject-Introspection. On Tue, Nov 03, 2015 at 09:33:54AM +0000, jc...@gm... wrote: > Hi, like cedlemo I'm not much of an expert, but I have made a binding > for my own gobject-based library here: > > https://github.com/jcupitt/ruby-vips8 > > I used the binding for gst as a model, it's pretty simple to understand: > > https://github.com/ruby-gnome2/ruby-gnome2/blob/master/gstreamer/lib/gst.rb You subclass a Loader and I have the immediate feeling, that this must be crucial for all that follows. I do not have to understand all the meta-programming which is anyway out of my reach to see clearer now. Thank you very much. Michael > > Just copy-paste that and change the names to refer to the gnumeric > objects instead and it should work. > > The gst binding does some extra renaming and overriding to make the > interface pleasant to use, you probably won't need that, at least to > start with. > > John > > ------------------------------------------------------------------------------ > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en -- ATTN! New Key! GnuPG brainpoolP512r1/5C2A258D 2015-10-02 [expires: 2017-10-01] Michael Uplawski <mic...@up...> fingerprint: 2A44 09D4 54B4 EBD2 90DA 0B2D E8B8 0614 5C2A 258D sub brainpoolP512r1/53461AFA 2015-10-02 [expires: 2017-10-01] |