 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
Joel0608
Joined: 19 Aug 2007 Posts: 1 Location: Texas
|
Posted: Sun Aug 19, 2007 10:42 pm Post subject: Folder selection |
|
|
| 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
|
Posted: Mon Aug 20, 2007 3:55 pm Post subject: |
|
|
| 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 |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|