Re: Variable window size

New Message Reply Date view Thread view Subject view Author view

Dirk Luesebrink (crux++at++artcom.de)
Thu, 07 Aug 1997 15:15:25 -0400


you can use XMoveWindow(display, w, x, y) where

w = pfPipeWindow->getWSWindow();
display = XOpenDisplay( pfPipeWindow->getWSConnectionName() );

i dont know how to get the Display* from performer directly. thats why i
mention XOpenDisplay.

dirk.

Niels Hilbrink wrote:
>
> Hello All,
>
> Can anybody tell me how I can vary my window size at runtime, ie by a small GUI
> ?
>
> I figured out that you use pwin->close to close the window and pwin->config to
> open it again, The trouble is that when I alter some parameters like the window
> size of if it has any borders or not nothing seems to change.
>
> So this doesn't work:
>
> pwin->close();
> pwin->setFullScreen();
> pwin-config();
>
> Why NOT ????
>
> If I recall correctly Simon Mills had a similair problem with setting the Window
> name after a window has been realized so If anybody has an answer to that one
> I'm happy to hear it.
>
> Best Regards,
> Niels
> --
> _/ _/ _/ _/_/_/_/ Niels Hilbrink (RS NOP)
> _/ _/ _/ _/ _/ Hilbrink++at++nlr.nl
> _/_/ _/ _/ _/ _/ tel : (++31)(0)527 248224 (NLR)
> _/ _/ _/ _/ _/_/_/_/ (++31)(0)527 242259 (Home)
> _/ _/_/ _/ _/ _/
> _/ _/ _/ _/ _/ National Aerospace Laboratory (NLR)
> _/ _/ _/_/_/_/ _/ _/ http://www.nlr.nl
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:43 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.