Keys Do Not Emit Key Press Event for Treeview Widget

2012-01-15 Thread Rob Thornton
My application contains a treeview widget. The delete and insert keys insert and delete rows as expected but I need to trap their events so I can modify their behaviour. I also need to modify the Escape key. I tried connecting to key-press-event but does not seem to work nor via the generic event

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

2012-01-15 Thread David Nečas
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

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