Re: how to have a dialog ask user if he want to type AGAIN?



On Sat, Jan 14, 2012 at 07:50:15PM -0800, Gary Kline wrote:
ok, one function runs in a recursive loop, endlessly.  i could do this
differently, say from main.  that is my question:  how do i get the
value 1 or TRUE back from a dialogue that asks simply: "Talk again?"

Use the return value of gtk_dialog_run(); it returns
GTK_RESPONSE_something depending on how the user responded.

Yeti




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