I just noticed that pressing the OK Button in a wx.FileDialog (2.6.3
wxGTK2)
does not have any effect (see e.g. the demo). Doubleclicking however
(fortunately) works.
It works here. What version of GTK2 do you have? Is wx using the new
native GTK dialog or the old generic wx dialog?
wxGTK-2.6.1.
Sorry, I meant which version of the gtk lib, not wxGTK. In older
versions of gtk wxGTK will use a generic file dialog and will use the
native file dialog in the newer versions.
Ok, that has confused me. I thought wxPython only depends on gtk and not on
wxGTK. Gtk is version 2.8.3 here.
I don't know how to tell which dialog is native. The dialog changed
compared to wxPython 2.6.2.1. Gimp e.g. has 2.6.2.1 type ones.
The first one (generic). Btw. I never liked that crippled save file dialog of
gtk, where you had to press a 'browse' button first before you could navigate in
the tree. That was a natvie one, right? Has that vanished?
I just noticed that pressing the OK Button in a wx.FileDialog (2.6.3
wxGTK2)
does not have any effect (see e.g. the demo). Doubleclicking however
(fortunately) works.
It works here. What version of GTK2 do you have? Is wx using the new
native GTK dialog or the old generic wx dialog?
wxGTK-2.6.1.
Sorry, I meant which version of the gtk lib, not wxGTK. In older
versions of gtk wxGTK will use a generic file dialog and will use the
native file dialog in the newer versions.
Ok, that has confused me. I thought wxPython only depends on gtk and not on
wxGTK.
It depends on how it is built. My builds include wxGTK, but most distro builds will have separate wxGTK packages and the wxPython package will depend on and use that version of wxGTK.
Gtk is version 2.8.3 here.
Hmm... It looks to me like the native file dialog should be used for all gtk versions >= 2.4... I also have 2.8.3 on my machine and it is using the native file dialog here... Which wxPython package did you install?
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Hmm... It looks to me like the native file dialog should be used for
all gtk versions >= 2.4... I also have 2.8.3 on my machine and it is
using the native file dialog here... Which wxPython package did you
install?
wxPython2.6-gtk2-unicode-2.6.3.0-rh9_py2.4 from the wxpython website.
Ah, that explains it. The gtk on the RH9 machine is only 2.2. You'll
want to either get a build from a newer platform, or build your own from
the source RPM.