Class: Tk::TkTable::SelectionCommand::ValidateArgs

Inherits:
TkUtil::CallbackSubst show all
Defined in:
lib/tkextlib/tktable/tktable.rb

Constant Summary collapse

KEY_TBL =
[
  [ ?c, ?n, :sel_columns ],
  [ ?C, ?s, :sel_area ],
  [ ?i, ?n, :total ],
  [ ?r, ?n, :sel_rows ],
  [ ?s, ?s, :value ],
  [ ?W, ?w, :widget ],
  nil
]
PROC_TBL =
[
  [ ?n, TkComm.method(:number) ],
  [ ?s, TkComm.method(:string) ],
  [ ?w, TkComm.method(:window) ],
  nil
]

Class Method Summary collapse

Methods inherited from TkUtil::CallbackSubst

_define_attribute_aliases, _get_all_subst_keys, _get_extra_args_tbl, _get_subst_key, _setup_subst_table, _sym2subst, #initialize, inspect, scan_args, subst_arg

Constructor Details

This class inherits a constructor from TkUtil::CallbackSubst

Class Method Details

.ret_val(val) ⇒ Object



433
434
435
# File 'lib/tkextlib/tktable/tktable.rb', line 433

def self.ret_val(val)
  val.to_s
end