From: <Ra...@la...> - 2015-12-03 14:36:31
|
Hi Cedlemo, Thank you! I believe this is the clue I needed to move forward. I will try adding the support myself and make a pull request if I'm successful. Jon cedlemo <ce...@gm...> wrote on 12/03/2015 04:10:11 AM: > From: cedlemo <ce...@gm...> > To: rub...@li... > Date: 12/03/2015 04:10 AM > Subject: Re: [ruby-gnome2-devel-en] GTK3 TreeView set_select_function support? > > Hi jon, > > First of all the maintainer of the projet (kouhei Sutou) won't be able > to help you right know because he is busy preparing a talk for the > RubyKaigi event > in japan. Nonetheless you should open an issue for this here > https://github.com/ruby-gnome2/ruby-gnome2/issues and I am sure he will > help you after that. > > Furthermore, could you provide a minimum of code that reproduce the error. > > >Have I done something wrong > no > > >or is Gtk3's #set_select_function really not implemented yet? > I think that that it is the problem > > >If not, is there something I can do to help resolve this? > Try to implement it maybe. > > Look at this issue : > https://github.com/ruby-gnome2/ruby-gnome2/issues/596 > and the resulting commit : > https://github.com/ruby-gnome2/ruby-gnome2/commit/ > c77eea299eb97e789b2e5e04ffe18c3cd1e2b8e3 > > My guess is that you will have to deal with the C part of the gtk3 module > > > Regards > > Cedlemo > > On 02/12/2015 15:59, Ra...@la... wrote: > > The code ... > > > > @class_tree.selection.set_select_function do |selection, > > class_tree_model, path, currently_selected| > > @controller.on_class_selected(selection, class_tree_model, path, > > currently_selected) > > end > > > > ... produces this error ... > > > > .rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/gobject- > introspection/loader.rb:551:in > > `invoke': TODO: <TreeSelectionFunc>(func) callback is not supported > > yet. (NotImplementedError) > > > > I'm running off git master and am migrating a project from gtk2 to > > gtk3. Have I done something wrong or is Gtk3's #set_select_function > > really not implemented yet? If not, is there something I can do to > > help resolve this? "gobject-introspection/loader.rb:551" didn't lead > > me to the code responsible for this and searching the code didn't > > provide enough of a clue. > > > > Jon > > > > > > > ------------------------------------------------------------------------------ > > Go from Idea to Many App Stores Faster with Intel(R) XDK > > Give your users amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for > multiple OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > > > > > _______________________________________________ > > ruby-gnome2-devel-en mailing list > > rub...@li... > > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en |