Fwd: When using gtk_window_begin_move_drag(), how to know when the move drag has been finished?



---------- Forwarded message ----------
From: natan yellin <aantny gmail com>
Date: Tue, May 6, 2008 at 4:15 PM
Subject: Re: When using gtk_window_begin_move_drag(), how to know when the
move drag has been finished?
To: Zhe Su <james su gmail com>


That's strange. It works for me.


On Tue, May 6, 2008 at 4:08 PM, Zhe Su <james su gmail com> wrote:

I hope so. But unfortunately, I just tested it in my application, no
focus-in event occurred when releasing the mouse button.


On Tue, May 6, 2008 at 9:01 PM, natan yellin <aantny gmail com> wrote:

As far as I know, yes.

On Tue, May 6, 2008 at 3:59 PM, Zhe Su <james su gmail com> wrote:

Thanks. An interesting solution:-) Is it reliable?

Regards
James Su


On Tue, May 6, 2008 at 8:56 PM, natan yellin <aantny gmail com> wrote:

You can connect a callback to the focus-in-event.

Natan

On Tue, May 6, 2008 at 3:54 PM, Zhe Su <james su gmail com> wrote:

Hi,
 I use gtk_window_begin_move_drag() to initiate the window drag
action
when
user drag a specific area of the window. And I want to know when
the
user
releases the mouse button, so that I can do some extra tasks after
the
window move. However, it seems that after calling
gtk_window_begin_move_drag() the next mouse up event won't be sent
to
the
application. So is there any other way to detect when the drag
action
has
been finished?

Regards
James Su
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list






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