[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: shared white board application
From: "anurag sogal" <anuragsogal () gmail ! com>
Date: 2008-02-16 22:33:54
Message-ID: ded66a370802161433t4f0ce0bdk53a6ca7af69a42a6 () mail ! gmail ! com
[Download RAW message or body]
Hi Everybody,
I am developing an application where you could scribble on the canvas.
Similar to the scribble program provided in the GTK tutorial, except that
it
is distributed.
Since it is distributed , it has netwroking code in it. Now the idea is
when
somebody starts the app on a particular machine, and scribbles on the
canvas, the coordinates travel over the network and , where a similar
scribble program is running and the image gets redrawn. Like shared white
board application.
Now I have developed a similar application. The problem with it is that
image gets redrawn too. However sometimes the canvas on which the drawing
is
getting redrawn freezes. However when I move the cursor over the canvas
it
still able to detect the mouse_motion events. However no drawing is
getting
rendered on the screen.
I am using gthreads . The GUI is on the main loop and networking code is
on
another thread running simultaneously.
I am having hard time to debug this problem. The thing is I feel there is
some problem with my funtion which draws on the screen. I am using
backing
pixmap as the drawable.
I am not sure what the problem is . Can someone help me with this.
Thanks
Anurag
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic