Re: [gtk-list] How to get and set window size and position?



On Fri, 03 Dec 1999 16:11:51 +0200 (EET), Mikko Rantalainen wrote:
> I asked this a few days ago, but because no-one replyed anything I'm
> trying again:
> 
> I want to save window size and position when user exits my program to
> restore those during next startup. How do I do this with GTK?

It's in the GTK+ FAQ, question 5.15. Use gdk_window_move_resize() to put
your window to its previous position.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/





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