[gtk-list] Re: How to get a window position?
- From: jca <jca mail phm vcu edu>
- To: gtk-list redhat com
- Subject: [gtk-list] Re: How to get a window position?
- Date: Wed, 09 Feb 2000 09:37:06 -0500
Erik Mouw wrote:
> Sounds like a window manager that overrides the preferred position. Try
> another window manager and see if it works.
I might... Meanwhile I figured out how to make the earlier suggestion do the
trick in all window managers:
gdk_window_get_root_origin(widget->window,&oldx,&oldy);
gtk_widget_hide(widget);
(Here do whatever while window is invisible.)
gtk_widget_set_uposition(widget,oldx,oldy);
gtk_widget_show(widget);
So thanks to all who answered! :)
jca
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]