I’m adding accessibility to a Gtk3 application (Desktop Icons) and want the screen reader to specify the selected status of an icon (selected or not selected). Currently I set the role to DESKTOP ICON, and tried to use accessibleObject.notify_state_change (Atk.StateType.SELECTED, true);
to set the “selected” status to TRUE, but there is no change in what Orca says.
I also tried changing the role to CHECKBUTTON and use Atk.StateType.CHECKED, just as a test, but no dice.
How should I do that?