Class: ActiveWindow::ActiveToggleColumn

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

Overview

how to do?:

renderer.signal_connect('toggled') do |cell, path|
  fixed_toggled(treeview.model, path)
end

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



134
135
136
# File 'lib/active_window/active_column.rb', line 134

def attribute
  :active
end

#data_classObject



128
129
130
# File 'lib/active_window/active_column.rb', line 128

def data_class
  TrueClass
end

#rendererObject



131
132
133
# File 'lib/active_window/active_column.rb', line 131

def renderer
  Gtk::CellRendererToggle.new
end