Hi,
Am 15.03.2006 11:08, [EMAIL PROTECTED] schrieb:
we need to add/modify/remove widgets inside a QxNativeWindow that is called by
the main application browser. Main window shall pass objects to the
nativeWindow and back. We found out some ways to communicate between the 2
windows but none was satisfying.
Which ways did you discover, and in what respect were they unsatisfying?
does anyone have experiences how qooxdoo can influence widgets that are located
in native windows? any ideas how that could even theoretically work would help!
Yes. We are in the final stages of development of an application, that
relies heavily on qooxdoo and makes frequent use of dialogs (opening
native windows via the qooxdoo class QxNativeWindow), and it works
smoothlessly.
Simply keep your instance of QxNativeWindow, and interact with your
desired window via the respective instance of this class.
Every QxNativeWindow instance has an instance variable named _window
which holds the reference to your browser's window object instance.
You can act on this object like on any normal window object.
Of course you have to take into account Javascript's cross domain
security policy, if you are working with locations that are spread
across different domains.
But that's nothing related to qooxdoo.
If this is not sufficient for your needs, I think we could be more
helpful if you provided us with more details of your circumstances and
needs.
Thanks.
You're welcome :)
Cheers
Benjamin
P.S. Maybe we should provide a get* method for the private-by-convention
variable _window of QxNativeWindow. Or was there any reason you meant
_window to stay "private", Sebastian?
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel