Sujet : Re: proper way to get Shell widget resized calls?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.windows.xDate : 14. Jul 2025, 23:08:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1053v4k$3kipi$7@dont-email.me>
References : 1
User-Agent : Pan/0.162 (Pokrosvk)
On Sun, 13 Jul 2025 18:07:09 -0400, Winston wrote:
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.
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.