home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!hplabs!ucbvax!ANDREW.CMU.EDU!gk5g+
- From: gk5g+@ANDREW.CMU.EDU (Gary Keim)
- Newsgroups: comp.soft-sys.andrew
- Subject: Re: How to resize the window of a running application?
- Message-ID: <4fIns9G00WohAsZHwz@andrew.cmu.edu>
- Date: 12 Jan 93 21:54:17 GMT
- References: <EfIgt6SIlUc5Q8TkJy@harare.kapsch.co.at>
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 25
-
- Excerpts from misc: 12-Jan-93 How to resize the window of.. Fodatec
- Project@harare.k (274)
-
- > Could anyone please give me a hint how to change the window size of a
- > running application from within that application, to the values which
- > are computed at run-time in a result of some user's action ?
-
- There are methods in andrew/atk/basics/x/xim.c that do what you want:
-
- xim__ResizeWindow(self, w, h)
- xim__MoveWindow(self, x, y)
-
- These methods don't seem to be fully integrated into the system because
- they don't appear in xim.ch and you would also expect there to be empty,
- dummy routines in im.c that these would override. This might imply that
- there is a problem with these routines.... anybody know?
-
- You should be able to use these guys in your code, like so:
-
- #include <im.ih>
- im_ResizeWindow(fooview_GetIM(self), newWidth, newHeight);
-
- Gary Keim
- Andrew Consortium
-
-