Re: Doubt about ATK and AT-SPI states

2011-06-14 Thread Aline Bessa
gtk_widget_set_can_focus(combo, TRUE) solved it, though a combobox should have it by default. I sent an email for gtk-devel-list for discovering more details about it. Thanks a lot. -- Aline Bessa GNU/Linux Registered User #452373 ___ gnome-accessibili

Re: Doubt about ATK and AT-SPI states

2011-06-14 Thread Aline Bessa
2011/6/14 Aline Bessa > And about the widget I was using, it was a combo box. > > Same error happens using gtk3-demo. And since FOCUSABLE is a permanent > state - i.e., it's not like FOCUSED - I think it should always appear, even > if the widget isn't on focus at the moment... Am I right? Of c

Re: Doubt about ATK and AT-SPI states

2011-06-14 Thread Aline Bessa
And about the widget I was using, it was a combo box. Same error happens using gtk3-demo. And since FOCUSABLE is a permanent state - i.e., it's not like FOCUSED - I think it should always appear, even if the widget isn't on focus at the moment... Am I right? -- Aline Bessa GNU/Linux Registered Us

Re: Doubt about ATK and AT-SPI states

2011-06-14 Thread Aline Bessa
Hey Piñeiro, I thought it had worked because the error was gone yesterday, but now I see that unfortunately it's still here. Maybe I was analysing the wrong widget. :-/ Your explanations are very very useful. Thanks! -- Aline Bessa GNU/Linux Registered User #452373

Re: Doubt about ATK and AT-SPI states

2011-06-14 Thread Piñeiro
On 06/14/2011 01:51 AM, Eitan Isaacson wrote: The problem here is that a state_set is created from zero when you call ref_state. So when you call ref_state_set you get the state, and although you add it by hand using add_state_set, in the next ref_state_set the state will be created again, and

Re: Doubt about ATK and AT-SPI states

2011-06-13 Thread Aline Bessa
Thanks, Eitan! -- Aline Bessa GNU/Linux Registered User #452373 ___ gnome-accessibility-list mailing list gnome-accessibility-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list

Re: Doubt about ATK and AT-SPI states

2011-06-13 Thread Eitan Isaacson
Not sure what you are trying to do with cspi, but you shouldn't! With ATK, I think you need to call atk_object_notify_state_change after setting the state to actually have AT-SPI send an event (which accerciser listens for). On Mon, Jun 13, 2011 at 4:38 PM, Aline Bessa wrote: > Hi everybody! > >

Doubt about ATK and AT-SPI states

2011-06-13 Thread Aline Bessa
Hi everybody! Accerciser told me that a little demo I was doing has the following problem: a widget that should have states FOCUSABLE or SELECTABLE does not have none. This is a general problem: I would like to add a state in a widget in such a way that I could fix this. I tried adding an ATK st