Groups | Search | Server Info | Login | Register


Groups > comp.windows.x > #598

Re: proper way to get Shell widget resized calls?

Path csiph.com!eternal-september.org!feeder3.eternal-september.org!.POSTED!not-for-mail
From Winston <wbe@UBEBLOCK.psr.com.invalid>
Newsgroups comp.windows.x
Subject Re: proper way to get Shell widget resized calls?
Date Sat, 02 Aug 2025 10:38:27 -0400
Organization A noiseless patient Spider
Lines 11
Message-ID <ydqzxtvlek.fsf@UBEblock.psr.com> (permalink)
References <yd8qkrwxrm.fsf@UBEblock.psr.com>
MIME-Version 1.0
Content-Type text/plain
Injection-Date Sat, 02 Aug 2025 14:38:23 +0000 (UTC)
Injection-Info dont-email.me; posting-host="5b3203a3ce1a1487ee146206681071d9"; logging-data="1178304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gqdNpCXnLV5elZnGkrbDX"
User-Agent Gnus/5.13 (Gnus v5.13)
Cancel-Lock sha1:KE/vJnL9BTpElZ0RUCT406dU3nY= sha1:QUGo7yUk64NoxW6edBbRtV9DM3o=
Mail-Copies-To never
Xref csiph.com comp.windows.x:598

Show key headers only | View raw


I originally asked (in part):
> However, I'd like to have a Resize function that gets called when the
> application window resizes, without having to create a widget just to
> have Resize() called.

> What's a proper way to do that?

Found it: one good way is by adding a "<ResizeRequest>: action()" X11
translation.  The XtActionProc is passed the (XResizeRequestEvent*) with
the new width and height as the (XEvent*) argument.
 -WBE

Back to comp.windows.x | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

proper way to get Shell widget resized calls? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-07-13 18:07 -0400
  Re: proper way to get Shell widget resized calls? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-07-14 22:08 +0000
    Re: proper way to get Shell widget resized calls? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-07-15 00:34 -0400
      Re: proper way to get Shell widget resized calls? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-07-15 02:19 -0400
      Re: proper way to get Shell widget resized calls? Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-07-16 07:11 +0000
  Re: proper way to get Shell widget resized calls? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-08-02 10:38 -0400
    Re: proper way to get Shell widget resized calls? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-08-04 13:09 -0400
      Re: proper way to get Shell widget resized calls? Winston <wbe@UBEBLOCK.psr.com.invalid> - 2025-08-04 15:46 -0400

csiph-web