I'm new to WxPython, so please forgive me any self-explanatory
question :-).
I'm looking for a mixture of a list box and a table. It should contain
a list of things (dates) and on the right there shall be columns with
extra information (similar to any file browser).
Normally, this is a table, but you can't scroll in
a table with the arrow keys.
So how do I call such a "control"? Currently I use within a panel:
The last line should set the focus to the second entry, however it
seems as if it wouldn't be on the second entry in the GTK version (the
orca screen reader does not recognise it, until I click into the list
box).
I would only need a pointer to the demo's, if there's such an example.
On Dec 13, 12:31 pm, Sebastian Humenda <shume...@gmx.de> wrote:
Hello,
I'm new to WxPython, so please forgive me any self-explanatory
question :-).
I'm looking for a mixture of a list box and a table. It should contain
a list of things (dates) and on the right there shall be columns with
extra information (similar to any file browser).
Normally, this is a table, but you can't scroll in
a table with the arrow keys.
So how do I call such a "control"? Currently I use within a panel:
The last line should set the focus to the second entry, however it
seems as if it wouldn't be on the second entry in the GTK version (the
orca screen reader does not recognise it, until I click into the list
box).
I would only need a pointer to the demo's, if there's such an example.
I'm new to WxPython, so please forgive me any self-explanatory
question :-).
I'm looking for a mixture of a list box and a table. It should contain
a list of things (dates) and on the right there shall be columns with
extra information (similar to any file browser).
Normally, this is a table, but you can't scroll in
a table with the arrow keys.
So how do I call such a "control"? Currently I use within a panel:
The last line should set the focus to the second entry, however it
seems as if it wouldn't be on the second entry in the GTK version (the
orca screen reader does not recognise it, until I click into the list
box).
I would only need a pointer to the demo's, if there's such an example.
Thanks for any hint
Greetings
Sebastian
--
I think you want the wx.ListCtrl in report mode.
In the wxPython-demos is is a file called "ListCTRL.py" where
style=wx.LC_REPORT
is set. However, this is also not accessible with orca. I tried
various code snippets from the web and from the wxPython wiki, but non
of these ListCTRL's are accessible. So I'm wondering whether this is
possible. I have the bad impression, that no one has thought about
accessibility and cross-platform development at the same time. Has
anyone some ideas in this regard?
Thanks
Sebastian
···
Mike Driscoll <kyosohma@gmail.com> wrote on Mo, Dez 13, 2010 at 12:17:47 -0800: >On Dec 13, 12:31�pm, Sebastian Humenda <shume...@gmx.de> wrote:
--
Test the free Latin-German dictionary | Teste das freie Latein-Deutsch-W�rterbuch!
Online: http://freedict.org/dict?Form=dict3&Database=lat-deu
More languages | mehr Sprachen: http://www.freedict.org
The wx.ListCtrl in the wxGTK port is implemented as a generic widget, in other words it is not a GTK widget but is implemented totally in wx instead. This means that it can not be read by accessibility tools because they do not know how to get the info from the widget. In wx 2.9 the wx.DataViewCtrl is implemented with a native GTK list view widget so I expect that it will be readable by accessibility tools.
···
On 12/18/10 1:12 AM, Sebastian Humenda wrote:
In the wxPython-demos is is a file called "ListCTRL.py" where
style=wx.LC_REPORT
is set. However, this is also not accessible with orca. I tried
various code snippets from the web and from the wxPython wiki, but non
of these ListCTRL's are accessible. So I'm wondering whether this is
possible. I have the bad impression, that no one has thought about
accessibility and cross-platform development at the same time. Has
anyone some ideas in this regard?
Robin Dunn <robin@alldunn.com> wrote on Sa, Dez 18, 2010 at 11:28:23 -0800: >On 12/18/10 1:12 AM, Sebastian Humenda wrote:
In the wxPython-demos is is a file called "ListCTRL.py" where
style=wx.LC_REPORT
is set. However, this is also not accessible with orca. I tried
various code snippets from the web and from the wxPython wiki, but non
of these ListCTRL's are accessible. So I'm wondering whether this is
possible. I have the bad impression, that no one has thought about
accessibility and cross-platform development at the same time. Has
anyone some ideas in this regard?
The wx.ListCtrl in the wxGTK port is implemented as a generic widget,
in other words it is not a GTK widget but is implemented totally in
wx instead. This means that it can not be read by accessibility
tools because they do not know how to get the info from the widget.
In wx 2.9 the wx.DataViewCtrl is implemented with a native GTK list
view widget so I expect that it will be readable by accessibility
Thanks for the info. When I have some time off I'll give it a try and
report my success here.
Robin, I’m a little confused about what you said in the quote. wx.DataViewCtrl is (now) a native GTK widget?
Is wxPython a mix of wxWidgets, wxGTK? Perhaps even others TK, TCL, etc.?
Or is there a derived flow like wxPython use wxWidgets which use wxGTK which uses GTK widgets?
···
On Sat, Dec 18, 2010 at 2:28 PM, Robin Dunn robin@alldunn.com wrote:
The wx.ListCtrl in the wxGTK port is implemented as a generic widget, in other words it is not a GTK widget but is implemented totally in wx instead. This means that it can not be read by accessibility tools because they do not know how to get the info from the widget. In wx 2.9 the wx.DataViewCtrl is implemented with a native GTK list view widget so I expect that it will be readable by accessibility tools.
The GTK port of wxWidgets is named wxGTK. It uses GTK widgets where possible to implement the wx widgets, just as on Windows the port is named wxMSW and the native controls and Win32 APIs are used where possible.
The wx.ListCtrl class is implemented with a native control on wxMSW and with a generic widget (written using wx, not a native control) on wxGTK and wxMac (although there is an option for using native on Mac.) On the other hand, the new wx.DataViewCtrl class available starting with the 2.9 release series is implemented with a native widget on both wxGTK and in the two Mac ports, but generically in wxMSW because there is not a native equivalent there.
···
On 12/28/10 8:31 AM, Dev Player wrote:
On Sat, Dec 18, 2010 at 2:28 PM, Robin Dunn <robin@alldunn.com > <mailto:robin@alldunn.com>> wrote:
The wx.ListCtrl in the wxGTK port is implemented as a generic
widget, in other words it is not a GTK widget but is implemented
totally in wx instead. This means that it can not be read by
accessibility tools because they do not know how to get the info
from the widget. In wx 2.9 the wx.DataViewCtrl is implemented with
a native GTK list view widget so I expect that it will be readable
by accessibility tools.
--
Robin Dunn
Robin, I'm a little confused about what you said in the quote.
wx.DataViewCtrl is (now) a native GTK widget?
Is wxPython a mix of wxWidgets, wxGTK? Perhaps even others TK, TCL, etc.?
Or is there a derived flow like wxPython use wxWidgets which use wxGTK
which uses GTK widgets?