Re: proper way to get Shell widget resized calls?

Liste des GroupesRevenir à cw x 
Sujet : Re: proper way to get Shell widget resized calls?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.windows.x
Date : 16. Jul 2025, 08:11:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1057jab$jsvg$2@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.162 (Pokrosvk)
On Tue, 15 Jul 2025 00:34:46 -0400, Winston wrote:

I originally asked:
>
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.
>
to which Lawrence D'Oliveiro <ldo@nz.invalid> kindly replied:
>
At the lowest level, there is no fundamental distinction in X11
between a “window” and a “widget”. So if you can attach a handler
for a particular message to one, you should be able to do the same
to the other. Any reason why you can’t would be down to limitations
of your GUI toolkit, not X11 itself.
>
Ah, I wasn't careful enough in my wording: I was using "window" in
the window manager sense, not in the X11 Widget+Window object sense.

It shouldn’t be up to the window manager to control what happens
within a window.

Date Sujet#  Auteur
13 Jul 25 * proper way to get Shell widget resized calls?5Winston
14 Jul 25 `* Re: proper way to get Shell widget resized calls?4Lawrence D'Oliveiro
15 Jul 25  `* Re: proper way to get Shell widget resized calls?3Winston
15 Jul 25   +- Re: proper way to get Shell widget resized calls?1Winston
16 Jul 25   `- Re: proper way to get Shell widget resized calls?1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal