Re: Missing SetText() API for FXShutterItem
Jeroen van der Zijp <[email protected]>
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Organization | FOX Toolkit |
| Message-ID | <20221013190342.640e12b8@leviathan> |
On Thu, 13 Oct 2022 20:22:52 +0200 Pof <[email protected]> wrote: >Dear Jeroen, >all is in the title, i.e. this would be useful if a SetText() API would >be available to be able modifying the widget text at runtime, as it is >the case for most other Fox widgets. >Just let me know if you could consider adding it (otherwise I will give >it a go on my side). >Regards, >Pof As Sander has already mentioned, you can access the FXButton. But I recognize the value of convenience, so a couple of APIs have been added to FXShutterItem for this. FYI, generally speaking, if a compound widget does not have an explicit API to let you get to a particular sub-widget, do not forget that you can walk the widget tree from the parent on down until arriving at the widget in question. This is always possible. Thus, you can change properties of any widget, even if its a compound one. Cheers, -- JVZ -- +----------------------------------------------------------------------------+ | Copyright (C) 19:00 10/13/2022 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+