Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-17 Thread David Nečas
On Tue, Jan 17, 2012 at 04:12:51PM +0900, Tristan Van Berkom wrote: Even in english, these boolean YES/NO questions can seem ambiguous, If you use wordy and convoluted questions such as Are you sure you want to quit without saving then nothing can help the poor users. Of course, they are

Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-17 Thread Tristan Van Berkom
2012/1/17 David Nečas y...@physics.muni.cz: On Tue, Jan 17, 2012 at 04:12:51PM +0900, Tristan Van Berkom wrote: Even in english, these boolean YES/NO questions can seem ambiguous, If you use wordy and convoluted questions such as   Are you sure you want to quit without saving then nothing

Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-17 Thread Allin Cottrell
On Tue, 17 Jan 2012, Tristan Van Berkom wrote: 2012/1/17 David Nečas y...@physics.muni.cz: Hence    Are you sure you want to quit without saving ? Should typically have the answers: Save Quit is nonsense.  This question should not occur in a sensible GUI no matter what answers are

Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-16 Thread Gary Kline
On Sun, Jan 15, 2012 at 10:46:21PM +0100, David Ne??as wrote: Date: Sun, 15 Jan 2012 22:46:21 +0100 From: David Ne??as y...@physics.muni.cz Subject: Re: any easy way of having a YES/NO dialog return a 1 or 0? To: Gary Kline kl...@thought.org Cc: GTK Devel List gtk-app-devel-list@gnome.org

Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-16 Thread Tristan Van Berkom
On Tue, Jan 17, 2012 at 10:53 AM, Gary Kline kl...@thought.org wrote: On Sun, Jan 15, 2012 at 10:46:21PM +0100, David Ne??as wrote: Date: Sun, 15 Jan 2012 22:46:21 +0100 From: David Ne??as y...@physics.muni.cz Subject: Re: any easy way of having a YES/NO dialog return a 1 or 0? To: Gary Kline

any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-15 Thread Gary Kline
is there a way of having a YES/NO dialog [that asks a qauestion] return a truth value? i'm looking for something like the macro eprint(...) that James Steward sent in late december. if i eventually figured out a similar marcro that included: GTK_STOCK_YES,1, GTK_STOCK_NO, 0...

Re: any easy way of having a YES/NO dialog return a 1 or 0?

2012-01-15 Thread David Nečas
On Sun, Jan 15, 2012 at 01:26:53PM -0800, Gary Kline wrote: is there a way of having a YES/NO dialog [that asks a qauestion] return a truth value? i'm looking for something like the macro eprint(...) that James Steward sent in late december. Use gtk_message_dialog_new() with GTK_BUTTONS_YES_NO