Class: Tk::TkTable::BrowseCommand::ValidateArgs

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

Constant Summary collapse

KEY_TBL =
[
  [ ?c, ?n, :column ],
  [ ?C, ?s, :index ],
  [ ?i, ?x, :cursor ],
  [ ?r, ?n, :row ],
  [ ?s, ?s, :last_index ],
  [ ?S, ?s, :new_index ],
  [ ?W, ?w, :widget ],
  nil
]
PROC_TBL =
[
  [ ?n, TkComm.method(:number) ],
  [ ?x, TkComm.method(:num_or_str) ],
  [ ?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



332
333
334
# File 'lib/tkextlib/tktable/tktable.rb', line 332

def self.ret_val(val)
  val
end