Class: Gtk::TreeViewColumn

Inherits:
Object
  • Object
show all
Defined in:
lib/gir_ffi-gtk/tree_view_column.rb

Overview

Overrides for Gtk::TreeViewColumn

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new_with_attributes(*args) ⇒ Object



5
6
7
8
9
# File 'lib/gir_ffi-gtk/tree_view_column.rb', line 5

def self.new_with_attributes(*args)
  obj = allocate
  obj.send :initialize_with_attributes, *args
  obj
end

Instance Method Details

#set_attributes(renderer, attributes) ⇒ Object



11
12
13
14
15
# File 'lib/gir_ffi-gtk/tree_view_column.rb', line 11

def set_attributes(renderer, attributes)
  attributes.each do |attribute, column|
    add_attribute renderer, attribute.to_s, column
  end
end