GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Folder selection

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Joel0608



Joined: 19 Aug 2007
Posts: 1
Location: Texas

PostPosted: Sun Aug 19, 2007 10:42 pm    Post subject: Folder selection Reply with quote

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?
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 387
Location: Fairfax, Virginia

PostPosted: Mon Aug 20, 2007 3:55 pm    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP