Re: [gtkmm] monitoring application



Why threads? You want to update your graph on a periodical basis, say
once every second - use a timed callback, take a look at
Glib::signal_timeout:
http://www.gtkmm.org/gtkmm2/docs/reference/html/group__MainLoop.html#a7

There's likely examples in the book on how to use it.

Barnaby

On Tue, Feb 10, 2004 at 02:45:30PM +0100, KONTRA Gergely wrote:
> Hi!
> 
> I'd like to draw a graph of an entry in /proc. So I guess I have to use
> threads. Does anybody have a sample, or url or anything which can help
> me? Thx
> Gergo
> -- 
> +-[ Kontra, Gergely<kgergely mcl hu> PhD student Room IB113 ]---------+
> | http://www.mcl.hu/~kgergely            "Olyan langesz vagyok, hogy  |
> | Mobil:(+36 20) 356 9656 ICQ: 175564914   poroltoval kellene jarnom" |
> +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



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