Re: [gtk-list] Blocking Dialog



> On 2 Jul 1998, Tero Pulkkinen wrote:
> > Christoph "Gröver" <grover@hottemax.uni-muenster.de> writes:
> > > I want to be able to popup a dialog which asks the user for 1 out of 3
> > > options, but the MainWindow should not be usable at that time and
> > > - most importantly - the execution of the program waits for the user to

  I wrote something like that (I don't have GNONE) for my application, in
  my app. I have something like:

  ZtkDlgBtnEnum choice;
  choice = ZtkDialog(ZtkDlgTypeQuestion, 
		     "Really want to remove Motif?");
  if (choice == ZtkDlgBtnOK) { IshallJustDoThat(); }

  during the dialog you cannot do anything on the main window. The
  interface is not as flexible as the one presented recently but it
  does what I need. The dialog also contains a predefined pixmap on
  the left of the message.

  By the way Ztk is not out :-) it is just my Z-layer besides and/or
  on top of GTK.

  			Cheerios,
				Emilio

-- 
D. Emilio Grimaldo Tunon       Compuware Europe B.V. (Uniface Lab)
Software Engineer	       Amsterdam, The Netherlands
emilio_tunon@nl.compuware.com  Tel. +31 (0)20 3116 200 ext. 413



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]