Groups | Search | Server Info | Login | Register
Groups > comp.windows.x > #593
| From | Winston <wbe@UBEBLOCK.psr.com.invalid> |
|---|---|
| Newsgroups | comp.windows.x |
| Subject | proper way to get Shell widget resized calls? |
| Date | 2025-07-13 18:07 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <yd8qkrwxrm.fsf@UBEblock.psr.com> (permalink) |
CoreClassPart contains (XtWidgetProc)resize. If I were to create my own widget, I could easily specify a Resize() function to call simply by static assignment to the compiled value of my widget's ClassRec. 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? Outright setting (application)ShellClassRec.CoreClassPart.resize looks like a bad idea: it's initially non-NULL by the time I'd consider setting it and may do useful stuff I wouldn't want to skip by preempting it with my Resize function. I haven't investigated what XawVendorShellExtResize does, though (but my application has no vendor extensions of its own). If nothing useful in my specific case, then maybe preempting it isn't a problem, but doing so strikes me as very likely the wrong answer given the way X normally works. :) Thanks in advance, -WBE
Back to comp.windows.x | Previous | Next — Next in thread | Find similar
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