method

data2model

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Editor

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

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.