Re: Writing tests for a UI app



On Fri, 2005-02-11 at 14:43, ofey aikon wrote:
I am attaching a sample piece of code. If you can suggest how I can
get the 'edited' to be thrown, that'll be of great help.

______________________________________________________________________
While you call start_editing on the cell renderer, the editing is
actually performed by a child widget to which you don't really get
access (unless you write your own cell renderer).

i would say, use Gtk2->grab_get_current to fetch the widget which
currently has the keyboard grab --- that should be the cell editor ---
and call ->activate on it.

(completely untried, YMMV)




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