GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sun Oct 04, 2015 12:46 pm

All times are UTC

Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: help with file selection window
PostPosted: Wed Oct 24, 2007 6:20 am 
Familiar Face

Joined: Tue Oct 09, 2007 5:07 am
Posts: 8
i am new to gtk+ programming...
i am sending my application,and i have doubt in that...
i included the following statements in my program,
GtkWidget *filew;
filew=gtk_file_selection_new("File Selection");
and after executing my program i got one new fileselection window

but my requirement is i would like to add some more buttons on my own in the fileselection window as we can see these buttons over there :newfolder ,delete file,rename file,folders,files,selection,cancel and ok....along with i would like to add my own buttons
so if anyone knows this procedure , plz let me know...
Thanks and regards,

 Post subject:
PostPosted: Sat Nov 17, 2007 5:47 pm 
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
The buttons are packed into GTK_DIALOG(dialog)->action_area where dialog is your dialog. The action_area is a GtkHButtonBox. Read more at

Micah Carrick - Forum Administrator

 Post subject:
PostPosted: Mon Nov 19, 2007 4:54 am 
Familiar Face

Joined: Wed Sep 19, 2007 1:30 pm
Posts: 10
Location: Hyderabad, India
before using gtk_file_selection_new() note that gtk_file_selection_new() is deprecated. You can use gtk_file_chooser_dialog_new() to creates a new file selection dialog box.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group