Hi !
Newby question:
I want to make my own version of gtk.FileSelection, and I need to copy some functions from the original (ugly) one, where can I find it?
Sorry for my bad english..
Like the other widgets in GTK, GtkFileSelection is implemented in C (ie. you won't find a Python source file for it). You can find the source code in gtk+/gtk/gtkfilesel.c.
Note that GTK 2.4 will contain a new file chooser widget that you might hate less, so I wouldn't put too much effort into a hacked up GtkFileSelection widget. Among other things, the new implementation virtualises the file system access, allowing for different behaviours on Unix and Windows. This means that:
* the file selector could show the "shell" file system layout on
Windows, with "Desktop" as the root element, and pick up Windows
file icons.
* A gnome-vfs file chooser backend could be supplied so that when
running apps under Gnome, things should match Nautilus's world
view a bit better.James.
-- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
