GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Oct 02, 2014 12:28 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 
Offline
Familiar Face

Joined: Tue Oct 09, 2007 5:07 am
Posts: 8
hi,
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,
Rajasekharreddy.B


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 17, 2007 5:47 pm 
Offline
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 http://library.gnome.org/devel/gtk/unstable/GtkButtonBox.html

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 19, 2007 4:54 am 
Offline
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.


Top
 Profile  
 
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: No registered users 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