Class: Gtk::TreeSelection

Inherits:
Object
  • Object
show all
Extended by:
GLib::Deprecatable
Defined in:
lib/gtk3/deprecated.rb,
lib/gtk3/tree-selection.rb

Instance Method Summary collapse

Instance Method Details

#selectedObject



20
21
22
23
24
25
26
# File 'lib/gtk3/tree-selection.rb', line 20

def selected
  selected_p, model, iter = selected_raw
  return nil unless selected_p

  iter.model = model
  iter
end

#selected_rawObject



19
# File 'lib/gtk3/tree-selection.rb', line 19

alias_method :selected_raw, :selected