program design
- From: "Joe Van Dyk" <joevandyk gmail com>
- To: gtkmm-list gnome org
- Subject: program design
- Date: Mon, 5 Jun 2006 11:30:52 -0700
Hi,
Imagine you have a program with an Update() function. This Update()
function is called X times per second a non-gtkmm-related function.
Also imagine that you have a gtkmm GUI. Every time Update() is
called, the GUI should be updated with information that's available
from inside the Update() function.
How would you set this up? Would you have the Gtk stuff happening in
a separate thread? I suppose you'd have to... How would you tell the
gtk thread to update itself? ( I'm fairly new to multithreaded
program design, and gtk in general)
Thanks,
Joe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]