Re: Minimized Cocoa windows say that kAXMainAttribute can't be set
Re: Minimized Cocoa windows say that kAXMainAttribute can't be set
- Subject: Re: Minimized Cocoa windows say that kAXMainAttribute can't be set
- From: Mike Engber <email@hidden>
- Date: Tue, 18 Mar 2003 09:45:43 -0800
But all I am doing is asking if the window COULD be main. Surely that
is the
purpose of AXUIElementIsAttributeSettable - to see if the element
supports
such a thing.
and quit calling me Shirley.
If isSettable returns true, it implies you can then go and set the
value of
that attribute. If a minimized window said main was settable, you'd end
up failing when tried to set it.
Lets take a different example, suppose you have a text field and a
checkbox
next to it that controls whether it's read-only or not. Would you want
the text
field to always return that its value is settable? Even if you answer
"yes,"
there's really no way to implement this. How can the Accessibility API
know
when, if ever, this program will configure this text field to be
modifiable.
The question you're asking is more akin to asking what kind of window
this
is - this might be better addressed by subroles.
-ME
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.