Hi, I am evaluating Qooxdoo against other frameworks (mainly YUI) right now
as we need to build a relatively complex GUI for a web-app.
I am already experienced in JavaScript, know Prototype / Scriptaculous very
well and had some experience with GWT 2 years ago.
I can say that my first impressions with Qooxdoo are excellent. The API
seems really clean and makes me feel like I am dealing with a nice, evolved
Desktop GUI API like Qt or SWT. I also think the build system used by
Qooxdoo is very promising.
I tried to write a sample application to familiarize myself with the system
and instantly got some questions:
1) I tried to create a simple Label (or other widget) that would be movable
around the page. Eg, the user would click on it and move it around, like a
Window. For this I subclassed Label and included the MMovable Mixin but it
did not work. How would I do this? Do I have to use the drag & drop API? I
hope not as moving a widget is not the same as drag and dropping it.
var label = new custom.MovableLabel("Hello");
this.getRoot().add(label, {left:600, top:10});
Code of MovableLabel:
qx.Class.define("custom.MovableLabel",
{
extend : qx.ui.basic.Label,
include: [qx.ui.core.MMovable],
/*
*****************************************************************************
MEMBERS
*****************************************************************************
*/
members :
{
/**
* This method contains the initial application code and gets called
* during startup of the application
*/
main : function()
{
}
}
});
2) I would like a resizable widget to only resize in one direction (say
width or height). It seems the API does not allow this directly, what would
be my options there then?
Thanks for the help, and I am interested in any feedback about Qooxdoo vs
YUI to make the right choice for my particular case.
Jean-Noel Rivasseau
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel