Re: [gtk-list] grabs, gdb and GTK+



On Mon, 15 Nov 1999 12:33:08 -0500, Paul Barton-Davis wrote:
> once again, i ask the powers-that-be to consider changing the
> behaviour of certain widgets that take action on a button press
> event. their application almost always hold a server grab at that
> point, which means that if you want to use gdb to debug a function
> executed as part of the button press handler(s), you are *hosed* - you
> can't get pointer focus to leave the application until button release
> is seen by the X server and delivered.
> 
> this happens, for example, in most of the widgets the generate a
> "Selection" signal - the signal is emitted by the button press
> handler, and anything attached to it is impossible to debug.
> 
> unless, of course, anyone has any hints ...

Check question 4.6 in the GTK FAQ.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




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