Re: Preventing a window going to front - moving a window



On Tue, 6 Sep 2011 19:02:18 +0100
lecas malecas <darkiiiiii gmail com> wrote:
> I did a bit more testing, the move() function works well, I tried
> calling it with some numbers.
> 
> The problem is really with the get_position(), which returns always 0
> (for x and y).
> 
> I think I'm calling it right (the compiler doesn't complain at
> least :p).
> 
> I have this on the function that gets called on the signal_hide():
> 
> this->get_position (x_position, y_position);
> 
> cout << "ONHIDE x " << x_position << " y " << y_position << endl;
> 
> where x_position and y_position are integers of the class.

I am not completely sure I understand what you mean, but if you hide
it, by definition it has no position, so the result you are getting
seems correct.

Chris




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