Re: Preventing a window going to front - moving a window
- From: Chris Vine <chris cvine freeserve co uk>
- To: lecas malecas <darkiiiiii gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Preventing a window going to front - moving a window
- Date: Wed, 7 Sep 2011 00:20:40 +0100
On Tue, 6 Sep 2011 22:48:33 +0100
lecas malecas <darkiiiiii gmail com> wrote:
> You're right, its because the window is hidden.
>
> I tried with a timeout() and it does work.
>
> It would be better with an event though, there's probably no way to
> get something to run before hiding a window, so I'm trying to update
> the variables when dragging occurs, I tried signal_drag_begin() and
> signal_drag_end() from Gtk::Widget but the event function isn't
> called.
Since hiding a window is done programatically, there is obviously a way
to take the window's position before hiding it. It you are using the
default delete event handler, which hides the window, override it so
that it does what you want.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]