Done.
http://bugzilla.qooxdoo.org/show_bug.cgi?id=1580
Thanks.
On 11 Nov 2008, at 16:04, Derrell Lipman wrote:
On Tue, Nov 11, 2008 at 9:53 AM, Jean-Baptiste BRIAUD -- Novlog <[EMAIL PROTECTED]
> wrote:
Hi,
I have a general question on event :
Let's take an example : the changeActive event of the
qx.ui.window.Window class.
Thanks to the well designed qooXdoo framework, I know without question
that I can use the listener like that :
win.addListener("changeActive", function(e) { blabla });
But where could I know more about e ? Is there sometimes more than one
parameter ?
Is it a generic thing for all events or is there specific value
depending of the event ?
Each class that fires events specifies (documents) the events it
fires. If, for example, you look at the API documentation for
qx.ui.window.Window at http://demo.qooxdoo.org/current/apiviewer/#qx.ui.window.Window
you'll see a section called "Events" listing each of the events
that the class fires and (on the left), the type of event. In that
class, all of the fired events are either of type "Event" or type
"Data". You can click on those links which will take you to the
qx.event.type.Event or qx.event.type.Data documentation.
Unfortunately, that answers only a part of your question. You'll
see that changeActive fires a Data event, and in looking at the Data
event documentation, you can retrieve the data using e.getData().
That doesn't tell you what the data is.
I would recommend that you post a new bug requesting that each class
describe the format of the data for each event it fires. You should
see that documentation, for example, in the Events section of the
qx.ui.window.Window API documentation. Some classes already
describe their data, but this one and many more do not.
Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel