Re: Why can my window not reveive button_press signal?
- From: jerry <lvjieyong cis pku edu cn>
- To: gtkmm-list gnome org
- Subject: Re: Why can my window not reveive button_press signal?
- Date: Tue, 07 Jun 2005 16:04:29 +0800
Armin Burgmeier wrote:
>Hi jerry,
>
>As Paul Devis said: You have to tell GTK (GDK?) that you wish to handle
>mouse press events. Use the add_events function from Gtk::Widget. See
>http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html#a2
>
>- Armin
>_______________________________________________
>gtkmm-list mailing list
>gtkmm-list gnome org
>http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
>
Thank you.
My problem has been solved by adding the button_press_event, however, a
new problem arised too.
When I add the button_release_event and rewrite the
on_button_release_event() function, there is no response at all.
Are button_press and button_release differently treated in gtkmm?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]