Re: specialized dialog roles

Joseph Scheuhammer <[email protected]> Fri, 12 Dec 2014 10:34:44 -0500
Newsgroups gmane.comp.gnome.accessibility.devel
Organization Inclusive Design Research Center, OCAD University
Message-ID <[email protected]>
On 2014-12-12 3:27 AM, Alejandro PiƱeiro wrote:
> I know that gtk is using that role. The best example is this widget:
>
> https://developer.gnome.org/gtk3/stable/GtkColorChooserDialog.html

FWIW:

$ python3
Python 3.3.2 (default, Nov  3 2014, 15:32:43)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-7)] on linux
Type "help", "copyright", "credits" or "license" for more information.
 >>> from gi.repository import Gtk
 >>> dialog = Gtk.ColorChooserDialog()
 >>> dialog.get_accessible().get_role()
<enum ATK_ROLE_DIALOG of type AtkRole>

 >>> dialog = Gtk.FileChooserDialog()
 >>> dialog=get_accessible().get_role()
<enum ATK_ROLE_FILE_CHOOSER of type AtkRole>

-- 
;;;;joseph.

'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -