From: Kevin Walzer Date: 2012-06-30T22:19:54+09:00 Subject: "Register" Ruby function as Tcl function in Ruby-Tk? Python has a "register" function that wraps a Python function into a Tcl function and returns the new Tcl function's name. This is sometimes used in Python-Tk applications for functions that need to be attached to Tk widgets in some complex way. Does Ruby-Tk have any similar functionality? My use case is a native widget that is called via Tcl/Tk and exposed via Tk bindings--there is no easy way to pass Python or Ruby calls to this widget. "Register" allows me to pass a Python function that is executed as if it were Tcl code. I would love similar functionality in Ruby. -- Kevin Walzer Code by Kevin http://www.codebykevin.com