Sha256: 478ae795a15693ca1cd2ed688b0748d6b921b2a82640a686404e795019d68d27

Contents?: true

Size: 442 Bytes

Versions: 10

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

Gtk.load_class :TreeStore
module Gtk
  # Overrides for GtkTreeStore
  class TreeStore
    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

    alias set_value_without_value_conversion set_value
    alias set_value set_value_with_value_conversion
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gir_ffi-gtk-0.17.0 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.16.0 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.15.1 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.15.0 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.14.1 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.14.0 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.13.1 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.13.0 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.12.1 lib/gir_ffi-gtk/tree_store.rb
gir_ffi-gtk-0.12.0 lib/gir_ffi-gtk/tree_store.rb