Re: [gtkmm] threads
- From: Fredrik Arnerup <e97_far e kth se>
- To: Silviu D Minut <minutsil cse msu edu>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] threads
- Date: Fri, 16 May 2003 22:14:30 +0200
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.
Remember that you can't call GTK stuff directly from a thread.
/Fredrik Arnerup
e97_far e kth se
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]