How to resize a pfPipeWindow?

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Mon, 15 Dec 1997 16:49:08 +0100 (MET)


Hello pfUsers,

I have found a way to get a resized pfPipeWindow for my channel but I
don't like this workaround. What I do is create a new pfPipeWindow and
attach the channel to that window and close the previous one.

    pfPipeWindow* pw;

    pw->removeChan(chan);
    pw->setConfigFunc(ClosePipeWindow);
    pw->config();
    pfFrame();
    pw = new pfPipeWindow(pipe);
    pw->setConfigFunc(OpenPipeWindow);
    pw->setSize(sizeX, sizeY);
    pw->config();
    pfFrame();
    pw->addChan(chan);

I know perfomer can cope with resized windows, see example simple.C.
But this is done by the window manager.
But how to do it inside the program, I don't know.
Can anybody give me a hint on how to do it.

Mario
=======================================================================
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:56:25 PDT

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