swat/desktop
Deryck Hodge
deryck at samba.org
Sun Aug 21 06:08:20 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tridge at samba.org wrote:
|
| > One of the problems I'm having is that windows and inline widgets, etc.,
| > have to be attached to a larger QxWidget to allow movement around the
| > screen. It makes more sense to me to allow movement around the entire
| > browser window, but I don't see a way to do this in qooxdoo. But it
| > shouldn't be too hard to add the approrpiate listeners to the document
| > object, rather than just individual widgets as qooxdoo does.
|
| ahh, so thats why I couldn't get it to work! How did you work this out
| btw? The qooxdoo docs are quite sparse, mostly just a list of
| attributes and methods. Did you read their source to work this out, or
| is there some magic approach to intuiting this sort of thing?
The qooxdoo docs do span several pages and say so little! :-)
It was a combination of source reading and using a variables bookmarklet.
The bookmarklet displays every variable and function in the currently open
window. See "view variables" on
http://www.squarefree.com/bookmarklets/webdevel.html.
I've got a work around for this problem now, without having to do special
event listener code. To get movement, placement, etc. working inside the
context of the browser window, I add a QxWidget and set height/width to
match the browser, using some onload and onresize handlers to keep the
QxWidget in step with the browser.
We shouldn't be limited to working within positioned widgets now! :-)
deryck
- --
Deryck Hodge http://www.devurandom.org/
Samba Team http://www.samba.org/
"This is the 21st century ... Magic isn't dead." --Marillion (2001)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDCBpT4glRK0DaE8gRAg8CAJ47Hy0u9yx9dn+yNbaPmm2/RUpnsgCgu5KB
y30+WLtQvsBlkeOdNuP4ra4=
=XOoj
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list