Why not hide the unrelated windows--what is wrong with that?

If you must show them and can't disable them, how about breaking the UI
into two trees, one for "related windows" and another for "unrelated
windows"? You can disable the entire "unrelated windows" tree.


--- HJ <[EMAIL PROTECTED]> wrote:

> I have a tree that lists all open windows from NC:WindowMediatorRoot
> and
> I hide all unrelated windows with:
> 
> tree.builderView.getItemAtIndex(row).hidden = true;
> 
> but that sucks, so I want to disable them instead.  How should I
> solve 
> this problem? Has anyone ever done something like this?  I already
> tried:
> 
> tree.builderView.getItemAtIndex(row).setAttribute("disabled",
> "true");
> 
> but that obviously didn't work.  BTW: selecting of disabled tree rows
> 
> should not be possible.  What's next?
> 
> All help is highly appreciated of course ;)
> 
> /HJ
> _______________________________________________
> Project_owners mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/project_owners
> 

_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to