Class: ActiveWindow::ActiveTextColumn

Inherits:
ActiveColumn show all
Defined in:
lib/active_window/active_column.rb

Overview

ActiveTextColumn

For columns with string values

Direct Known Subclasses

ActiveIntegerColumn

Constant Summary

Constants inherited from ActiveColumn

ActiveWindow::ActiveColumn::ClassesToSymbols

Instance Attribute Summary

Attributes inherited from ActiveColumn

#id, #name

Instance Method Summary collapse

Methods inherited from ActiveColumn

create, #data_value, #hide!, #initialize, #view, #virtual?, #visible?

Constructor Details

This class inherits a constructor from ActiveWindow::ActiveColumn

Instance Method Details

#attributeObject



110
111
112
# File 'lib/active_window/active_column.rb', line 110

def attribute
  :text
end

#data_classObject



104
105
106
# File 'lib/active_window/active_column.rb', line 104

def data_class
  String
end

#rendererObject



107
108
109
# File 'lib/active_window/active_column.rb', line 107

def renderer
  Gtk::CellRendererText.new
end