Method: Gtk::TreeView#expand_row

Defined in:
lib/gtk3/tree-view.rb

#expand_row(path, options = {}) ⇒ Object



66
67
68
69
70
71
72
73
74
75
# File 'lib/gtk3/tree-view.rb', line 66

def expand_row(path, options={})
  if options == true or options == false
    open_all = options
  else
    open_all = options[:open_all]
    open_all = true if open_all.nil?
  end

  expand_row_raw(path, open_all)
end