From: Michael U. <mic...@so...> - 2015-11-03 12:59:15
|
Good morning again. On Tue, Nov 03, 2015 at 10:04:31AM +0100, cedlemo wrote: > 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/ Merci beaucoup, ce tuyau est apprécié. I will take a look at the tests and see, where they get me. There is still some guesswork needed, simply for the fact that Gnumeric must replace something else, that I can only vaguely identify in the tests that I have quickly overflown. There may be more and I am patient. No worries. Michael > > 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 > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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] ----- End forwarded message ----- -- 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] |