Class: Tk::TkTable::ValidateCommand::ValidateArgs

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

Constant Summary collapse

KEY_TBL =
[
  [ ?c, ?n, :column ], 
  [ ?C, ?s, :index ], 
  [ ?i, ?x, :cursor ], 
  [ ?r, ?n, :row ], 
  [ ?s, ?v, :current_value ], 
  [ ?S, ?v, :new_value ], 
  [ ?W, ?w, :widget ], 
  nil
]
PROC_TBL =
[
  [ ?n, TkComm.method(:number) ], 
  [ ?x, TkComm.method(:num_or_str) ], 
  [ ?s, TkComm.method(:string) ], 
  [ ?w, TkComm.method(:window) ], 
  [ ?v, proc{|val| TkComm.tk_tcl2ruby(val, true, false)} ], 
  nil
]

Method Summary

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, ret_val, scan_args, subst_arg

Constructor Details

This class inherits a constructor from TkUtil::CallbackSubst