Re: Gtkmm draw line with mouse events



Hi,

Maybe the Gestures demo could serve as an example (not sure).

Regards,
Juan.

On Sun, 2014-07-13 at 22:14 +0530, Gurjot Singh wrote:
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?






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]