Flowdock
method

data2model

Importance_1
v1_9_2_180 - Show latest stable - 0 notes - Class: Editor
data2model(data, model = nil, parent = nil) public

Convert the Ruby data structure data into tree model data for Gtk and returns the whole model. If the parameter model wasn’t given a new Gtk::TreeStore is created as the model. The parent parameter specifies the parent node (iter, Gtk:TreeIter instance) to which the data is appended, alternativeley the result of the yielded block is used as iter.

Show source
Register or log in to add new notes.