Selecting folders with GtkFileChooser



Hello,
how can I set up a GtkFileChooser so that users can select a folder rather
than a file? As it is, one selects a a folder and clicks "open" (hoping to
select that folder), but rather than returning that folder's path, the
dialog just opens the folder and shows its contents.

How can this be changed? I couldn't find anything in the GTL API, which is
puzzling since this is a common occurence.

--D.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]