Network-aware wx.FileDialog

…衆ロ難τιáo~ 提交于 2019-12-11 08:23:55

问题


I'm using wx.FileDialog in a wxPython 2.8.8.0 application, under Xubuntu 8.10.. My problem is that this dialog isn't network-aware, so I can't browse Samba shares.
I see that this problem plagues other applications too (Firefox, Audacious...) so I'd like to ask where I could find informations on how to make it work.
Is that dialog supposed to be already network-aware? Am I missing something? Some library maybe? Or should I write my own implementation?
Many thanks!


回答1:


Robin Dunn himself told me that

It's using the "native" GTK file dialog, just like the other apps, so there isn't anything that wx can do about it.

So as a workaround I ended up installing gvfs-fuse and browsing the network through $HOME/.gvfs.. A bit klunky but it works.



来源:https://stackoverflow.com/questions/825724/network-aware-wx-filedialog

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!