Re: [gtk-list] Re: window placement upon startup
- From: Tim Janik <timj gtk org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: window placement upon startup
- Date: Wed, 29 Sep 1999 10:51:28 +0200 (CEST)
On Wed, 29 Sep 1999, Erik Mouw wrote:
> On Wed, 29 Sep 1999 07:22:08 +0000, Robert Roebling wrote:
> >
> > Hi,
> >
> > yes, that is the one that doesn't work before the X window
> > gets mapped. All this might be bug in KWM, but that doesn't
> > make it less annyoing,
>
> And if you realize the widget first?
>
> gtk_widget_realize(widget);
> gtk_widget_set_uposition(GTK_WIDGET(widget), xpos, ypos);
> gtk_widget_show();
this has nothing to do with realization, the window manager is simply
not honouring the application window's position request.
testgtk's "Saved Position" example will exploit this as well, it
*does* set the initial position through set_uposition and this
usually gets honoured by window managers.
>
> Erik
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]