Re: [gtkmm] sensitivity seems to be 'ignored'



Jeffrey Rush wrote:
Fine :) (see me smile). But how do I 'prevent' the main loop from
taking/recognizing/processing (button press) events (ie. while calculating stuff)? Do you know that coincidentally?

I don't know if you can do this. Just set the window or just the widget to insensitive.

I think the event processing is just

if (!widget->sensitive) return;

so it is not a big overhead.


--
Manuel Clos
llanero eresmas net

TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398
TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html




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