Getting and settings window positions



Hello,

Can you  tell me  how I  can get the  current position  and size  of a
window  (before  destruction), and  how  I  can restore  them  (before
show)?

I have an error when I wanted to use $window->get_parent_window:

Mon  Apr 9  01:05:39  2001 Gtk-LOG  **:  file  gtkwidget.c: line  3722
(gtk_widget_get_parent_window):  assertion  `widget->parent  !=  NULL'
failed. at (eval 7)[/usr/share/perl5..0/perl5db.pl:1510] line 2.

$window has a value (I used the "simple.pl" as an example).

Thanks,

dLux
--
Linux is like wigwam: no windows, no gates, apache inside!




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