Class: Tk::TkDND::DND_Subst

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

Constant Summary collapse

KEY_TBL =
[
  [ ?a, ?l, :actions ],
  [ ?A, ?s, :action ],
  [ ?b, ?L, :codes ],
  [ ?c, ?s, :code ],
  [ ?d, ?l, :descriptions ],
  [ ?D, ?l, :data ],
  [ ?L, ?l, :source_types ],
  [ ?m, ?l, :modifiers ],
  [ ?t, ?l, :types ],
  [ ?T, ?s, :type ],
  [ ?W, ?w, :widget ],
  [ ?x, ?n, :x ],
  [ ?X, ?n, :x_root ],
  [ ?y, ?n, :y ],
  [ ?Y, ?n, :y_root ],
  nil
]
PROC_TBL =
[
  [ ?n, TkComm.method(:num_or_str) ],
  [ ?s, TkComm.method(:string) ],
  [ ?l, TkComm.method(:list) ],
  [ ?L, TkComm.method(:simplelist) ],
  [ ?w, TkComm.method(:window) ],
  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