Hiya all,
I'm trying to use a wx.TreeControl control, and it's working fine on windows, but on OS X it isn't visible to VoiceOver.
I'm using exactly the same code, which is the standard wx.Frame, override __init__, add a panel, add the control to the panel, add to a sizer, etc, but VoiceOver is acting as if the tree control isn't there.
Is this control just not fully supported, and I should find another which suits my needs?
Hiya all,
I'm trying to use a wx.TreeControl control, and it's working fine on
windows, but on OS X it isn't visible to VoiceOver.
I'm using exactly the same code, which is the standard wx.Frame,
override __init__, add a panel, add the control to the panel, add to a
sizer, etc, but VoiceOver is acting as if the tree control isn't there.
Is this control just not fully supported, and I should find another
which suits my needs?
wx.TreeCtrl is not a native control on OSX, it uses a generic implementation and so to things like VoiceOver don't know what to do with it. OTOH, the DataViewCtrl is native on OSX (and GTK) so you could probably get it working with that class. There is also a convenience class DataViewTreeCtrl which will help you use it similarly to wx.TreeCtrl.
Hiya all,
I'm trying to use a wx.TreeControl control, and it's working fine on
windows, but on OS X it isn't visible to VoiceOver.
I'm using exactly the same code, which is the standard wx.Frame,
override __init__, add a panel, add the control to the panel, add to a
sizer, etc, but VoiceOver is acting as if the tree control isn't there.
Is this control just not fully supported, and I should find another
which suits my needs?
wx.TreeCtrl is not a native control on OSX, it uses a generic implementation and so to things like VoiceOver don't know what to do with it. OTOH, the DataViewCtrl is native on OSX (and GTK) so you could probably get it working with that class. There is also a convenience class DataViewTreeCtrl which will help you use it similarly to wx.TreeCtrl.
Hi,
I tried to use that data view thingy, but it said there was no such control on my system.
I am using wx version 3.0.0.0 msw (classic) under windows 8, and version 3.0.1.1 osx-cocoa (classic) under OS X 10.9.
When I found this control on the web last night, it mentioned WX version 3.0.1.something, but there doesn't seem to be a windows installer available for that version, and clearly my home brewed version of wxmac doesn't have it.
wx.TreeCtrl is not a native control on OSX, it uses a generic implementation and so to things like VoiceOver don't know what to do with it. OTOH, the DataViewCtrl is native on OSX (and GTK) so you could probably get it working with that class. There is also a convenience class DataViewTreeCtrl which will help you use it similarly to wx.TreeCtrl.
Hi,
I tried to use that data view thingy, but it said there was no such control on my system.
I am using wx version 3.0.0.0 msw (classic) under windows 8, and version 3.0.1.1 osx-cocoa (classic) under OS X 10.9.
The 'dvc' DataViewCtrl have been added in the 2.9 series of wxPython so they should be there in 3.0 on all platforms. Maybe check the wxPython demo under 'dvc' and see there how to use them.
Hiya all,
I'm trying to use a wx.TreeControl control, and it's working fine on
windows, but on OS X it isn't visible to VoiceOver.
I'm using exactly the same code, which is the standard wx.Frame,
override __init__, add a panel, add the control to the panel, add to a
sizer, etc, but VoiceOver is acting as if the tree control isn't there.
Is this control just not fully supported, and I should find another
which suits my needs?
wx.TreeCtrl is not a native control on OSX, it uses a generic
implementation and so to things like VoiceOver don't know what to do
with it. OTOH, the DataViewCtrl is native on OSX (and GTK) so you
could probably get it working with that class. There is also a
convenience class DataViewTreeCtrl which will help you use it
similarly to wx.TreeCtrl.
Hi,
I tried to use that data view thingy, but it said there was no such
control on my system.
The data view classes are in the wx.dataview module.
Hiya all,
I’m trying to use a wx.TreeControl control, and it’s working fine on
windows, but on OS X it isn’t visible to VoiceOver.
I’m using exactly the same code, which is the standard wx.Frame,
override init, add a panel, add the control to the panel, add to a
sizer, etc, but VoiceOver is acting as if the tree control isn’t there.
Is this control just not fully supported, and I should find another
which suits my needs?
wx.TreeCtrl is not a native control on OSX, it uses a generic
implementation and so to things like VoiceOver don’t know what to do
with it. OTOH, the DataViewCtrl is native on OSX (and GTK) so you
could probably get it working with that class. There is also a
convenience class DataViewTreeCtrl which will help you use it
similarly to wx.TreeCtrl.
Hi,
I tried to use that data view thingy, but it said there was no such
control on my system.
The data view classes are in the wx.dataview module.