Class: Gtk::TreeStore

Inherits:
Object
  • Object
show all
Defined in:
lib/gir_ffi-gtk/tree_store.rb,
lib/gir_ffi-gtk/gtk2/tree_store.rb

Overview

Overrides for GtkTreeStore

Instance Method Summary collapse

Instance Method Details

#set_value_with_value_conversion(iter, column, value) ⇒ Object Also known as: set_value



7
8
9
10
# File 'lib/gir_ffi-gtk/tree_store.rb', line 7

def set_value_with_value_conversion(iter, column, value)
  value = GObject::Value.for_gtype get_column_type(column) if value.nil?
  set_value_without_value_conversion iter, column, value
end