[Gtk-sharp-list] How to select a folder using

underdog10@netcourrier.com underdog10@netcourrier.com
Mon, 9 Aug 2004 17:57:51 CEST

I do it that way...

FileSelection fDlg =3D new FileSelection(=22Choose a ISO file.=22);
int nRc =3D fDlg.Run();
if(nRc =3D=3D (int)ResponseType.Ok) =7B
	FileSelection DirDlg =3D new FileSelection(=22Choose a Destination Direct=
ory.=22);						DirDlg.SelectionEntry.Text =3D System.IO.Path.GetDirectoryN=
	int nRdir =3D DirDlg.Run();
	if(nRdir =3D=3D (int)ResponseType.Ok) =7B
		// do stuf
	DirDlg =3D null;
fDlg =3D null;


----Message d'origine----
>De: Ra=FAl Moratalla <raul.moratalla=40ono.com>
>A: gtk-sharp-list=40lists.ximian.com
>Sujet: =5BGtk-sharp-list=5D How to select a folder using
>Date: Mon, 09 Aug 2004 12:10:06 +0000
>Hi, I use a Gtk.FileSelection for selecting a folder, but I don't know =

>how to do it in the correct way, as I see the DirList and FileList. =

>Should be possible to show the FileSelection dialog with the DirList =

>only? How could I get the selected folder?
>Gtk-sharp-list maillist  -  Gtk-sharp-list=40lists.ximian.com

NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Tool=
Web/Wap : www.netcourrier.com
T=E9l=E9phone/Fax : 08 92 69 00 21 (0,34 =80 TTC/min)
Minitel: 3615 NETCOURRIER (0,16 =80 TTC/min)