[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: blocking operation
- From: Peter Wurmsdobler <peterw cetehor com>
- To: gtk-app-devel-list redhat com
- Subject: Re: blocking operation
- Date: Tue, 29 Feb 2000 17:18:26 +0100
hi,
> Is it a modal dialog that you want?
Sorry, what is a modal dialog.
What I would like to have is to use in all callbacks requiring
some file selection only one function like
static void any_file_save_item_activate( void )
{
char *save_file_name;
FILE *save_file_fd;
save_file_name = dialog_file_window();
save_file_fd = fopen( save_file_name, "w" );
/* and here the stuff for writing data */
fclose( save_file_fd );
}
from all locations of my programm without always creating
and deleting widgets. Therfore, I nee some blocking operation
within the dialog_file_window() waiting for an OK event.
There is for sure a better solution.
peterw
--
Dr. Peter Wurmsdobler
CTM - Centre de Transfert des Microtechniques
39, av. de l'Observatoire, BP-1445, 25007 Besancon CEDEX 3
TELEPHONE: +33 3 81 47 70 20 TELECOPIE: +33 3 81 47 70 21
E-mail: peterw@cetehor.com
Ceterum censeo MIRCOSOFTem esse delendam.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]