Groups | Search | Server Info | Login | Register


Groups > comp.windows.x > #598

Re: proper way to get Shell widget resized calls?

From Winston <wbe@UBEBLOCK.psr.com.invalid>
Newsgroups comp.windows.x
Subject Re: proper way to get Shell widget resized calls?
Date 2025-08-02 10:38 -0400
Organization A noiseless patient Spider
Message-ID <ydqzxtvlek.fsf@UBEblock.psr.com> (permalink)
References <yd8qkrwxrm.fsf@UBEblock.psr.com>

Show all headers | 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