Hi
When I call DataViewModel’s Cleared() method on Linux GTK, it does cause data model to be reread, but the control is cleared, no view is displayed. anymore.
The same code works fine on Windows, the view changes based on the new data model.
Any workaround or if I am doing something wrong? Any help is much appreciated.
On Monday, October 6, 2014 3:59:59 PM UTC-5, zliwang wrote:
Hi
When I call DataViewModel’s Cleared() method on Linux GTK, it does cause data model to be reread, but the control is cleared, no view is displayed. anymore.
The same code works fine on Windows, the view changes based on the new data model.
Any workaround or if I am doing something wrong? Any help is much appreciated.
have you tried calling Refresh() on the DataViewModel?
···
On Monday, October 6, 2014 2:00:22 PM UTC-7, zliwang wrote:
I am using the latest 3.0.1.1
On Monday, October 6, 2014 3:59:59 PM UTC-5, zliwang wrote:
Hi
When I call DataViewModel’s Cleared() method on Linux GTK, it does cause data model to be reread, but the control is cleared, no view is displayed. anymore.
The same code works fine on Windows, the view changes based on the new data model.
Any workaround or if I am doing something wrong? Any help is much appreciated.
Save changes and restart demo, the view is gone on Linux GTK. This looks like a bug.
-Xiang
···
On Monday, October 6, 2014 4:22:01 PM UTC-5, Nathan McCorkle wrote:
have you tried calling Refresh() on the DataViewModel?
On Monday, October 6, 2014 2:00:22 PM UTC-7, zliwang wrote:
I am using the latest 3.0.1.1
On Monday, October 6, 2014 3:59:59 PM UTC-5, zliwang wrote:
Hi
When I call DataViewModel’s Cleared() method on Linux GTK, it does cause data model to be reread, but the control is cleared, no view is displayed. anymore.
The same code works fine on Windows, the view changes based on the new data model.
Any workaround or if I am doing something wrong? Any help is much appreciated.
If you post a sample app file, we can try it out. Personally I’ve got Windows 7, XP (2.9.4 and 3.0.1-preview), and Ubuntu 14.04 with compiled-by-me wxPython 3.0.1.1
···
On Monday, October 6, 2014 3:04:05 PM UTC-7, zliwang wrote:
thanks for the suggestion. I tried to call the corresponding dataViewCtrl’s refresh() but it make no difference…
The view will not show. It works on Windows and Mac. I also built wxPthon 3.0.1.1 myself on Fedora.
-Xiang
···
On Mon, Oct 6, 2014 at 5:52 PM, Nathan McCorkle nmz787@gmail.com wrote:
On Monday, October 6, 2014 3:04:05 PM UTC-7, zliwang wrote:
thanks for the suggestion. I tried to call the corresponding dataViewCtrl’s refresh() but it make no difference…
If you post a sample app file, we can try it out. Personally I’ve got Windows 7, XP (2.9.4 and 3.0.1-preview), and Ubuntu 14.04 with compiled-by-me wxPython 3.0.1.1
–
You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.