Method: TclTkIp#_invoke

Defined in:
tcltklib.c,
sample/demos-en/tkencoding.rb,
lib/tk.rb

#_invoke(*cmds) ⇒ Object Also known as: _invoke_with_enc, __invoke



9231
9232
9233
9234
9235
9236
9237
9238
# File 'tcltklib.c', line 9231

def _invoke(*cmds)
  if( @encoding )
    cmds = cmds.collect{|cmd| _toUTF8(cmd,@encoding)}
    _fromUTF8(__invoke(*cmds),@encoding)
  else
    __invoke(*cmds)
  end
end