[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [gtkmm] mouse button event
- From: Paul Davis <paul linuxaudiosystems com>
- To: Ruediger Sonderfeld <cplusplushelp gmx net>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] mouse button event
- Date: Fri, 05 Sep 2003 16:10:13 -0400
>I'm looking for a way to find out if a mouse button was pressed
>and where it was clicked.
>
>I thought the button_press_event is responsible for that. But
>it seems that it doesn't work.
>
>The following code prints nothing if I click onto the window
>(using gtkmm 2.2.2-1)
you need to call add_events() for the window. top level windows by
default do not receive mouse events, IIRC.
--p
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]