home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!yale.edu!think.com!paperboy.osf.org!juliet!daniel
- From: daniel@juliet.osf.org (Daniel Dardailler)
- Subject: Re: Problems resizing DrawingArea
- Message-ID: <1992Dec21.150429.10881@osf.org>
- Sender: daniel@juliet (Daniel Dardailler)
- Organization: Open Software Foundation, Motif Team
- References: <232@pegasus.trident.datasys.swri.edu>
- Date: Mon, 21 Dec 1992 15:04:29 GMT
- Lines: 20
-
-
- |> I have a DrawingArea widget that is a child of another DrawingArea (it's
- |> a token that is moved/resized within the application). Before mapping the
- |> child DrawingArea, I call XtSetArg() and XtSetValues() with the new width and
- |> height, but they are not updated. If I replace these calls with
- |> XResizeWindow(), eveything works fine ... does anyone know why????
- |>
- |> I have the same problem setting new x and y values. I have to call
- |> XMoveWindow() explicitly.
-
- You should never use those calls on a widget.
- Not even XtResizeWidget is allowed for the application.
-
- Your problem probably comes from t he parent drawing area geometry management
- denying the change on the child because its resize policy is set up this
- way.
-
- Set resizePolicy=RESIZE_NONE on the parent DA and try XtSetValues again.
-
-
-