🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.soft-sys.andrew
2 messages
2 total messages Started by Fodatec Project Tue, 12 Jan 1993 13:57
How to resize the window of a running application?
#1931
Author: Fodatec Project
Date: Tue, 12 Jan 1993 13:57
10 lines
688 bytes
Hello,

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 ?

Thank you in advance,

Kazimierz Zielinski
fodatec@kapsch.co.at
Re: How to resize the window of a running application?
#1934
Author: Gary Keim
Date: Tue, 12 Jan 1993 21:54
24 lines
1346 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads