Re: [gtkmm] Design quetstion
- From: Andreas Rottmann <a rottmann gmx at>
- To: Silviu D Minut <minutsil cse msu edu>
- Cc: ZHOU DX <zhou_dx yahoo com>, <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Design quetstion
- Date: Mon, 19 May 2003 20:53:08 +0200
Silviu D Minut <minutsil cse msu edu> writes:
>>
>> Let the thread do the calculation. After 50 iterations
>> or so, the thread saves the latest result into an
>> array or whatever that the GUI can see, and then
>> notify gui about the change. (gui->notify() or
>> gui->notify(data)???)
>
> Is notify() ? a member of some Gtk-- class? Which one?
> And gui is a pointer to drawingarea? To the main window?
>
You might be interested in libsigc++ extras, it's about signal/slot
cross-thread invocation and has an gtkmm example (only in CVS),
however. You can find documentation as well as download and CVS
checkout instructions on its homepage: http://libsigcx.sf.net.
Regards, Andy
--
Andreas Rottmann | Rotty ICQ | 118634484 ICQ | a rottmann gmx at
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
This reality is really just a fucked-up dream -- Papa Roach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]