From: cedlemo <ce...@gm...> - 2015-11-03 09:04:40
|
Hi Michael, I am not really an advanced contributor but Kouhei Sutou (which is the maintainer of ruby-gnome2) is busy at the moment so I will try to give you some hints. There is not yet a good documentation. The best informations that you could find I think should be in the unit tests : https://github.com/ruby-gnome2/ruby-gnome2/blob/master/gobject-introspection/test/ Have a look at the vte3 module which is really simple and follow the most common way to use GObjectIntrospection. https://github.com/ruby-gnome2/ruby-gnome2/tree/master/vte3 and especially this file https://github.com/ruby-gnome2/ruby-gnome2/blob/master/vte3/lib/vte3.rb cedlemo https://github.com/cedlemo On 03/11/2015 07:46, Michael Uplawski wrote: > Good morning, > > I try to understand GObject-Introspection to manipulate Gnumeric. > Apart from the method-listings and an almost empty ri-output, I find no > document dealing the topic. > > A working Python equivalent, which by use of the gi module writes > 'hello world' into a table cell is impossible to reproduce in Ruby as > the available documentation does not correspond, trial and error lead > nowhere. > > Please point me at a more comprehensive overview. I see GI::Loader, > Gio2, GObjectIntrospection::Loader but cannot bring them together with > Gnumeric. In Python, using gi, a namespace 'gnm' is imported. If you > want to help me with a direct hint, instead, just tell me how this is > done in Ruby. I am not against finding a way on my own, but currently, > there is only big mist. > > Thank you. > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > |