Re: [g-a-devel]Accessibility support in Glade



On Tue, 2002-03-12 at 17:40, Bill Haneman wrote:
> Damon Chaplin wrote:
> > 
> > On Mon, 2002-03-11 at 15:24, Bill Haneman wrote:
> > 
> > > static const gchar* atk_object_name_property_parent =
> > > "accessible-parent";
> ...
> 
> > Do you really need the <accessibility> child here?
> > 
> > Wouldn't this be enough:
> > 
> >   <atkproperty name="AtkObject:accessible-parent">widget1</atkproperty>
> 
> Yes, you're right that this would be enough; but I don't agree with
> using 
> the element's text content for the name here.  "target" attribute
> semantics are probably a better choice.

Yes, it should probably be an attribute on the <accessibilty> tag, e.g.

  <accessibility parent="widget1">


So the DTD would look like:

<!ELEMENT accessibility (atkrelation | atkaction | atkproperty)* >
<!ATTLIST accessibility
  parent IDREF #IMPLIED >


I hope it isn't too late to change the a11y parts of the DTD. Is anyone
using nested <accessibility> tags in Glade XML files yet?

Damon





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]