Getting a Cairo context
- From: "Sergei Naumov" <vomus rambler ru>
- To: gtk-app-devel-list gnome org
- Subject: Getting a Cairo context
- Date: Tue, 24 Mar 2015 15:17:03 +0300
Hi!
I am developing a program that has to draw some data using Cairo. The question I have is about getting a cairo context from outside of the signal "draw" that the examples describe. I have a multithreaded application where one thread sets up the GTK drawing area, axes, tickmarks, etc. and another thread has to draw in this area. I attach a function to a "draw" signal on this GTK widget (drawing area) in one thread, but what do I do in another?
Thanks in advance,
-- Sergei
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]