GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Jul 30, 2014 9:06 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Folder selection
PostPosted: Sun Aug 19, 2007 10:42 pm 
Offline

Joined: Sun Aug 19, 2007 10:03 pm
Posts: 1
Location: Texas
Hi, I want to have an EntryBox with a Button next to it called "Browse" that, once clicked, brings up a dialog that lets you choose a folder - the result would be entered into the EntryBox. Is there a control that will let me do that? Right now i'm just designing the GUI in Glade. Would it be the File Chooser Dialog?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 20, 2007 3:55 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
The only thing that is similar to that is GtkFileChooserButton, but that will not allow you to enter a folder manually. Your other option is just to provide a GtkButton that, when clicked, opens a GtkFileChooserDialog that allows the user to choose a folder. Then, when the dialog closes, you can place the selected folder's location in the entry.

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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