Advice wrt custom pygtk widget and atk
- From: Matthew McGowan <matthew joseph mcgowan gmail com>
- To: gnome-accessibility-list gnome org
- Subject: Advice wrt custom pygtk widget and atk
- Date: Tue, 20 Apr 2010 20:13:46 +1200
hi,
I am an amateur python developer who is helping out with the Ubuntu
Software Center project. We have implemented some pseudo Buttons within
a custom GenericCellRenderer. I would like to know (with the python atk
bindings) if its possible to make these buttons accessible, i.e. visible
to the likes of accerciser and orca?
I have looked over the atk python doc's and even looked at the gtk/gail
sources in the hopes i could gleam the gist of the process. Alas i am
none the wiser.
So perhaps someone knowledgeable could outline the basic steps to get
this working.
We experimented at one point, and implemented the object and component
aspects of atk, though they were rough stubs, but nothing appeared in
accerciser. So i wonder what are the basic steps to reate an accessible
custom widget?
...
I.e. I guess implement the atk.Object interface and atk.Component
interfaces? Do i need to atk.Register a custom atk.Object? For me this
is hard to understand from documentation.
What else am i missing?
...
Moreover, another custom widget we make use of, what we call the
PathBar, is implemented using an HBox and child EventBoxes, so, generic
gtk widgets. when in accerciser, and you Validate the widget, it
comments on the fact that our widget is not actionable and lacks a text
interface. Do i just need to implement these interfaces?
Any advice is much appreciated. I only really get python, but if you
cant be bothered explaining, but know of some good source snippets,
thats better than nothing. :)
Kindest Regards,
Matthew McGowan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]