Re: [g-a-devel]Why AtkHyperlink is a GObject?



On Wed, 2002-06-12 at 05:10, Bolian Yin wrote:
> Hi Bill,
> 
> I am confused by AtkHyperlink.  Why it is a GObject, while AtkHypertext, 
> AtkAction, AtkTable,.. are GTypeInterface.  Is there any
> special with AtkHyperlink?

AtkHyperlink is nbot a queryable interface, it's a utility class used by
AtkHypertext.  As such it does not need to be an interface.

I suppose it would not have been harmful to make it a GTypeInterface,
but we would not want to query AtkObjects for it; we query them for
AtkHypertext, which returns objects of type AtkHyperlink in response to
certain API calls.  The "Hyperlinks" are objects representing or
encapsulating data which is provided by implementors of the "Hypertext"
interface.

-Bill


> Thanks,
> Bolian
> 
> _______________________________________________
> Gnome-accessibility-devel mailing list
> Gnome-accessibility-devel gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel





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