class Smartdict::Gui::WordList::ListColumn

Attributes

column_counter[RW]

Public Class Methods

new(title) click to toggle source
Calls superclass method
# File lib/smartdict/gui/word_list.rb, line 9
def initialize(title)
  column_id = self.class.column_counter
  self.class.column_counter += 1

  super(title, Gtk::CellRendererText.new, :text => column_id)       # call to base class

  # set options of column
  self.resizable      = true
  self.clickable      = true
  self.reorderable    = false
end