module Glimmer::LibUI::ControlProxy::DualColumn
A dual column is one that represents two values (e.g. image and text or checkbox and text) It is meant to be included in a column proxy class that already includes Column
Public Instance Methods
column_index()
click to toggle source
# File lib/glimmer/libui/control_proxy/dual_column.rb, line 32 def column_index @column_index ||= @parent_proxy.send(:next_column_index).tap do @parent_proxy.send(:next_column_index) end end
second_column_index()
click to toggle source
# File lib/glimmer/libui/control_proxy/dual_column.rb, line 28 def second_column_index column_index + 1 end