Re: Gtk::Window and signal_button_release_event



Am Dienstag, den 12.05.2009, 16:58 +0200 schrieb Christian
Schaubschlaeger:
> Thanks for the reply!
> Unfortunately it still does not work:

Uhm yeah, I just tested it myself.  Apparently, you also need to add
Gdk::BUTTON_PRESS_MASK.  Dunno why.

    add_events(Gdk::BUTTON_PRESS_MASK | Gdk::BUTTON_RELEASE_MASK);

Probably it's either only button press events or both, and there will
likely be a reason why it is that way, but I don't know it.

--Daniel

P.S.: Please do always reply to the list, too.




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