Re: Gtkmm draw line with mouse events
- From: "Juan R. Garcia Blanco" <juanrgar gmail com>
- To: Gurjot Singh <bhattigurjot gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Gtkmm draw line with mouse events
- Date: Sun, 13 Jul 2014 19:01:42 +0200
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]