Re: Gtkmm draw line with mouse events
- From: Gurjot Singh <bhattigurjot gmail com>
- To: gtkmm-list gnome org
- Subject: Re: Gtkmm draw line with mouse events
- Date: Sun, 13 Jul 2014 22:14:51 +0530
On 10 July 2014 19:17, Gurjot Singh <bhattigurjot gmail com> wrote:
I wish to draw a line using mouseevents on Gtk::DrawableArea. What I
want is something like:
#1: Click on Line Button to activate line event
#2: Select first point(already drawn) in the drawingarea
#3: Now Select second point(again already drawn) in the drawingarea
#4: line should be drawn between two points
<snip>
Any guidance how to achieve that?
Any one has any thoughts over this?
--
Gurjot Singh
Blog: http://bhattigurjot.wordpress.com
"It takes a person who is wide awake to make his dream come true." ~
Roger Babson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]