Re: [gtk-list] gtkfileselection question




Hi.

On Sat, 2 Jan 1999, Chris Rogers wrote:
> 
> I would like to show a fileselection where all the user needs to do is
> select a directory, not a file.
> 
> Before the recent changes with respect to scrolled windows, I was simply
> doing a hide on the file_list.  However now the scrolled_window remains,
> since it is seperate.  Is there a better way to get what I would like?
> (short of just creating my own dialog?)  I have not seen a directory only
> version on any other apps, though I would expect someone else might have
> done this.  
cut from guitar 0.0.5 source:

---8<---
  gtk_widget_hide(GTK_FILE_SELECTION(files)->file_list);
#ifdef GTK_HAVE_FEATURES_1_1_4
  gtk_widget_hide(GTK_FILE_SELECTION(files)->file_list->parent);
#endif
-->8---



bye,
 disqk




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