Re: Catching mouse click in a DrawingArea
- From: Paul Davis <pjdavis engineering uiowa edu>
- To: Aurélien KAMEL <aurelien kamel gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Catching mouse click in a DrawingArea
- Date: Mon, 08 May 2006 10:28:22 -0500
Either call Gtk::Widget::add_events, or put the drawing area in an
EventBox. Then you can override the on_button_press or connect a signal
to the button press event.
Aurélien KAMEL wrote:
Hello,
I would like to know how can I catch a mouse click event in a
DrawingArea and how can I know the coordinate of this click.
Anybody knows if it's possible and how ?
Thanks,
Aurélien
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]