Re: Gtkmm draw line with mouse events



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]