Re: How to get the "released" signal of a mouse click in a window?
- From: Sven Neumann <sven gimp org>
- To: Rick Amont <ric_amont yahoo com>
- Cc: gtk-list gnome org
- Subject: Re: How to get the "released" signal of a mouse click in a window?
- Date: 21 May 2002 11:11:50 +0200
Hi,
Rick Amont <ric_amont yahoo com> writes:
> I have a scrolled window inside a window and I am
> connecting the "pressed" and "released" mouse button
> signals to their respective handling functions. While
> I get the pressed signal, I can not get the release
> signal. I've tried things like:
>
> gtk_widget_add_events(mainwin, GDK_BUTTON_PRESS_MASK);
why don't you try with GDK_BUTTON_RELEASE_MASK? After all, the release
event is what you are interested in, isn't it?
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]