Re: [gtkmm] threads
- From: Paul Davis <paul linuxaudiosystems com>
- To: Fredrik Arnerup <e97_far e kth se>
- Cc: Silviu D Minut <minutsil cse msu edu>, gtkmm-list gnome org
- Subject: Re: [gtkmm] threads
- Date: Fri, 16 May 2003 19:56:41 -0400
>On Fri, May 16, 2003 at 04:02:21PM -0400, Silviu D Minut wrote:
>> With the code provided above, the thread starts/stops when I toggle the
>> start/stop button, but the application no longer quits when I press q. It
>> does quit, however, (even with the thread) if I connect the window itself
>> (not the drawing area) to the key_press_event. What am I doing wrong? Is
>> the above code fundamentally flawed?
>
>Gtk::DrawingArea doesn't seem to get any key_press_events. I've had this
>problem too. It has nothing to do with threads.
you need to call add_events() or set_events(), plus set the
GTK_CAN_FOCUS flag.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]