From: Sven N. <neu...@un...> - 2000-04-18 00:04:05
|
Hi, > Where are our GUI gurus? > > How do I select a directory in Gimp and/or GTK? I am working > on some stuff for the color correction plugin/module/whatever > and I need to select just a directory where the ICC profiles > are stored. I don't want the user to actually see the files > in this directory. Is there a mechanism for this, or do I have > to use a compromise like the file selection control? You might want to use a GimpFileSelection with dir_only = TRUE; We use this widget for example in the Preferences dialog to allow the user to specify the brush/pattern/gradients directories. See http://sven.gimp.org/1.1/docs/libgimp/gimpfileselection.html for documentation. Salut, Sven |