Re: [gtk-list] destroying a window



Adrian Feiguin wrote:
> 
> If the user destroys a window, I'd like to save its current position
> using gdk_window_get_position/origin. But if I connect
> the "destroy" or "unrealize" signals, the widget->window does not exist
> anymore, I only can get the size from  widget->allocation, but not the
> position. Any idea?
Perhaps "delete_event" is better ?
Just my idea, no real experience.

HTH, anyway,

Norbert.

-- 
Norbert Bladt		 Payphone Management System Software Development
ascom Autelca AG
Worbstrasse 201		 CH-3073 Guemligen, Switzerland
abladtn@autelca.ascom.ch VOICE: +41 31 999 6552, FAX: +41 31 999 6575



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