Re: [gtk-list] Folder Selection dialog



Chris McAfee wrote:
> 
> Hi, I'm hacking on Mozilla :-)
> 
> I'm looking for gtk_file_selection_new() that basically
> only has the left column of directories, for picking
> a directory and not a file.  Can I somehow hide the
> right hand file column?  I am looking at gtk/gtkfilesel.c
> and examples/filesel/filesel.c.
> 
> -Chris
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


Try this...

GtkWidget *filew;

...

filew = gtk_file_selection_new( "File Selection" );
gtk_widget_hide( (((GtkFileSelection *) filew)->file_list)->parent );
gtk_widget_show( filew );

syd
-- 
Syd Logan
Unix/Linux Software Engineer 
E-Mail: slogan@cts.com syd@netscape.com
Web: http://www.users.cts.com/crash/s/slogan



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