I think you are looking for GtkFileSelection widget.
Here is the sample code to select a file.

........... call back function .........
void file_ok_sel( GtkWidget        *w,
                  GtkFileSelection *fs )
{
    g_print ("%s\n", gtk_file_selection_get_filename
(GTK_FILE_SELECTION (fs)));
}


........... part of main .......

    GtkWidget *filew;
    
    filew = gtk_file_selection_new ("File selection");
    gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION
(filew)->ok_button),
                        "clicked", (GtkSignalFunc) file_ok_sel, filew );
.................................

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: list-widget for gtk+
Date: Wed, 25 Jun 2003 10:48:15 +0200

> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Hi!
> I'm searching for a list-widget for gtk+ (c++),

You probably want gtkmm for C++.

> like windows 
> uses it to list
> up files in a file manager in detail mode. Can
anyone help me??

You probably want Gtk::TreeView:
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch08.html


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to