[Evolution-hackers] About accessible names

Resend this mail since my old mail(sent last Thursday) seemed never
shown up in the mail list.

Hi, JP and others,
   For the widgets to be accessed by accessibility tools such as GOK
and gnopernicus, these widgets should have an accessible name and
sometimes an accessible description.
	For those widgets created in code, we only have one option like following:
   GtkWidget *widget;
   AtkObject *a11y;

   widget = create_widget();
   a11y = gtk_widget_get_accessible (widget);
   if (a11y != NULL) {
      atk_object_set_name (a11y, _("some a11y name"));
      atk_object_set_description (a11y, _("some a11y descripiton"));

   For those widgets created in glade files, we have the second option :
set the accessible name in the widget's property in glade files.
   So should we only use the first option for all widgets, or use
second option if possible?

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