From: cedlemo <ce...@gm...> - 2015-12-08 11:38:19
|
Hi detlef, I tried to use Gtk::TreeStore#insert_with_values but without success. You should create an issue here https://github.com/ruby-gnome2/ruby-gnome2/issues I don't know how kou (Kouhei Sutou) would want to implement it : using C code with gtk_tree_store_insert_with_valuesv (https://developer.gnome.org/gtk3/unstable/GtkTreeStore.html#gtk-tree-store-insert-with-valuesv) or using ruby code with the Gtk::TreeStore#insert Regards. cedlemo On 07/12/2015 18:08, Detlef Reichl wrote: > Hi, > > with the old API it was possible to use > > Gtk::TreeStore#inserte parent, position, values > > where the values of the cells are given as an array or hash as optional > last parameter. With the gi-bindings it is gone, but it was very handy. > > Cheers, detlef > > ------------------------------------------------------------------------------ > 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 |