class Gtk::ListStore
Public Class Methods
new(*args)
click to toggle source
# File lib/knj/ironruby-gtk2/gtk_liststore.rb, line 2 def initialize(*args) args_cons = [] args.each do |col_name| args_cons << System::String.to_clr_type end @ob = RealGtk::ListStore.new(*args_cons) end
Public Instance Methods
append()
click to toggle source
# File lib/knj/ironruby-gtk2/gtk_liststore.rb, line 11 def append Gtk.takeob = @ob.append retob = Gtk::TreeIter.new retob.liststore = self return retob end
dcol()
click to toggle source
# File lib/knj/jruby-gtk2/liststore.rb, line 2 def dcol; return @dcol; end
dcol_arr()
click to toggle source
# File lib/knj/jruby-gtk2/liststore.rb, line 3 def dcol_arr; return @dcol_arr; end
get_iter(selection)
click to toggle source
# File lib/knj/jruby-gtk2/liststore.rb, line 47 def get_iter(selection) iter = @ob.get_iter(selection) Gtk.takeob = iter retob = Gtk::TreeIter.new retob.model = self return retob end
tv()
click to toggle source
# File lib/knj/jruby-gtk2/liststore.rb, line 4 def tv; return @knj_tv; end
tv=(newtv)
click to toggle source
# File lib/knj/jruby-gtk2/liststore.rb, line 43 def tv=(newtv) @knj_tv = newtv end