any easy way of having a YES/NO dialog return a 1 or 0?
- From: Gary Kline <kline thought org>
- To: GTK Devel List <gtk-app-devel-list gnome org>
- Subject: any easy way of having a YES/NO dialog return a 1 or 0?
- Date: Sun, 15 Jan 2012 13:26:53 -0800
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...
would the macro pop-up a dialog with [YES] OR [NO] such that
clicking the [NO] would return a 0? [YES] would obv'ly return 1.
i've run into a function that calls itself recursively and i would
like do have this dialog appear before the recursive call or after
10 or 15 times.
thanks in advance,
gary
--
Gary Kline kline thought org http://www.thought.org Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
The 8.57a release of Jottings: http://jottings.thought.org
Twenty-five years of service to the Unix community.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]