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

Raúl Moratalla raul.moratalla@ono.com
Mon, 09 Aug 2004 21:43:00 +0000


underdog10@netcourrier.com escribió:
> I do it that way...
> 
> FileSelection fDlg = new FileSelection("Choose a ISO file.");
> fDlg.HideFileopButtons();
> fDlg.Complete("*.iso");
> int nRc = fDlg.Run();
> fDlg.Hide();
> if(nRc == (int)ResponseType.Ok) {
> 	FileSelection DirDlg = new FileSelection("Choose a Destination Directory.");						DirDlg.SelectionEntry.Text = System.IO.Path.GetDirectoryName(fDlg.Filename);
> 	int nRdir = DirDlg.Run();
>     	DirDlg.Hide();
> 	if(nRdir == (int)ResponseType.Ok) {
> 		// do stuf
> 	}
> 	DirDlg = null;
> }
> fDlg = null;
> 
> KaYa
> 
Thanks KaYa, I do it in a similar way :)

Cheers,

Raúl