[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Dragging a Canvas::Line with the mouse?
- From: zentara <zentara1 sbcglobal net>
- To: gtk-perl-list gnome org
- Subject: Re: Dragging a Canvas::Line with the mouse?
- Date: Thu, 19 Jun 2008 15:28:34 -0400
On Thu, 19 Jun 2008 11:38:42 -0700
walt <w41ter gmail com> wrote:
>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?
Can you be more specific on what you want to action to be? Do you
want to draw a line, then drag it with the mouse, and/or move
it with the arrow keys?
It ought to be pretty simple.
zentara
--
I'm not really a human, but I play one on earth.
http://zentara.net/CandyGram_for_Mongo.html
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]