| Deutsch English Français Italiano |
|
<1053v4k$3kipi$7@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: nntp.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.windows.x Subject: Re: proper way to get Shell widget resized calls? Date: Mon, 14 Jul 2025 22:08:20 -0000 (UTC) Organization: A noiseless patient Spider Lines: 11 Message-ID: <1053v4k$3kipi$7@dont-email.me> References: <yd8qkrwxrm.fsf@UBEblock.psr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 15 Jul 2025 00:08:21 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3fa3e526a149f498804d2c2758a7b8eb"; logging-data="3820338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0oFiW+MZ6MAkFUgHxyW0U" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:SKCmERaGEmIprciJZTtL7R7opkk= 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.