Closed jschementi closed 15 years ago
Currently have document, window, and me (instead of xaml, though "me" is a bad name), and dotting-into works, but I have a messed up IDO implementation which need tending to and testing.
Should this be some module to include?
# ruby
include Microsoft::Scripting::Silverlight::Helpers
# python
from Microsoft.Scripting.Silverlight.Helpers import *
Also need to figure out the best solution for "dotting-into", be it IDO, or some language-specific method
I'm just sticking to a language-specific solution for dotting-into. Also, the helper methods will be defined in a language-specific way as well, since for Ruby it makes to define them on Kernel, while Python would prefer them as top-level methods.
Fixed in 7b30f07f819ee063c2b7a0761a45fa646e4c5048
Ruby now defines all these helpers and provides a simpler API for getting elements, getting/setting properties and attributes, setting events. etc. Python still uses the extension types. The helpers are auto-requires/imported.
Should this just be a per-language implementation, rather than hoping it works correctly for all languages?