Hi,

Use button.setEnabled(false).

You can see it in action:
http://demo.qooxdoo.org/current/demobrowser/#widget~Button.html

Best regards,
Siarhei

On Mon, Nov 10, 2008 at 6:57 PM, Jean-Baptiste BRIAUD -- Novlog
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> To me, there are 3 states to any widgets :
> * visible : no comment :-)
> * not visible : end user can't see anything
> * enabled : visible/enabled is the default.
> * disabled : the end user can see the widget, but can't use it, its
> not responsive often it's grayed and it can't have the focus.
>
> How can I have disabled widgets (I need a button) with qooXdoo ?
> I had a look to deactivate() but it's not that ...
>
> Thanks !
>
> -------------------------------------------------------------------------
> 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

Reply via email to