Re: [gtkmm] FileSelection selecting directorys
- From: Borislav Dimitrov <resurrector420 abv bg>
- To: jvilarroig terra es
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] FileSelection selecting directorys
- Date: Sat, 12 Jun 2004 21:03:18 +0300 (EEST)
FileSelection dialog is deprecated. Better use the new FileChooser widget/dialog. It has this functionality built-in as you can read from the follow-up by Murray. However if you really want to use the old FileSelection dialog there is a hack that you could use. You can read it in the Gtkmm tutorial - see the example for FileSelection dialog. It basicly looks like this:
// skip
Gtk::FileSelection dialog("Please choose a folder");
dialog.get_file_list()->get_parent()->hide(); //Prevent the user from selecting a file.
-----------------------------------------------------------------
http://www.elmaz.com - Запознанства
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]