class Gtk::TreeViewColumn
Public Class Methods
new(title=nil, cell=nil, attributes={})
click to toggle source
# File gtk3/lib/gtk3/tree-view-column.rb, line 20 def initialize(title=nil, cell=nil, attributes={}) initialize_raw set_title(title) if title pack_start(cell, true) if cell attributes.each_entry do |key, value| add_attribute(cell, key, value) end end
Also aliased as: initialize_raw
Public Instance Methods
add_attribute(cell, key, value)
click to toggle source
# File gtk3/lib/gtk3/tree-view-column.rb, line 30 def add_attribute(cell, key, value) key = key.to_s if key.is_a?(Symbol) add_attribute_raw(cell, key, value) end
Also aliased as: add_attribute_raw