[Ironruby-core] Dispatcher.Invoke
Patrick Brown
patrickcbrown at gmail.com
Tue Nov 24 13:44:52 EST 2009
Hello
Is it possible to call the Control.Dispatcher.Invoke in IronRuby? I have
been digging around and trying various approaches for quite a while and
can't quite seem to get it to work. The most simple example I below where I
do not even access the parameter fails... any ideas would be greatly
appreciated.
class MainWindow < Window
def updateStatus(status)
puts 'hi'
end
def initialize
self.Dispatcher.Invoke(updateStatus, ["jo"])
end
end
Thanks for your time and ideas,
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091124/690a43ba/attachment.html>
More information about the Ironruby-core
mailing list