Class: Tk::TkDND::DND_SubstFileList
- Inherits:
-
TkUtil::CallbackSubst
- Object
- TkUtil::CallbackSubst
- Tk::TkDND::DND_SubstFileList
- Defined in:
- lib/tkextlib/tkDND/tkdnd.rb
Constant Summary collapse
- KEY_TBL =
[ [ ?D, ?d, :data ], nil ]
- PROC_TBL =
[ [ ?d, proc do |s| case TclTkLib::WINDOWING_SYSTEM when 'win32' s.force_encoding('utf-8') TkComm.simplelist(s).map { |x| x.tr('\\', '/') } when 'x11' s = s.encode('iso8859-1', 'utf-8') s.force_encoding('utf-8') TkComm.simplelist(s) else TkComm.simplelist(s) end end ], 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