Dragging a Canvas::Line with the mouse?
- From: walt <w41ter gmail com>
- To: gtk-perl-list gnome org
- Subject: Dragging a Canvas::Line with the mouse?
- Date: Thu, 19 Jun 2008 11:38:42 -0700
Hi again,
I need to draw a vertical line on a canvas, to be used as a cursor
that can be moved horizontally in response to a mouse click or a
keystroke.
The only graphics trick I know is to draw the line by XOR'ing it
with the canvas and again a second time to erase it. (That's to
avoid redrawing the whole screen with every move of the cursor.)
Is there a way to do that with gtk-perl?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]