|
|
On 1 Oct 2022, at 13:07, Albrecht Schlosser wrote:
>
> On 10/1/22 12:38 Ian MacArthur wrote:
>> I suppose it wouldn’t be that tricky to write a loop that would take a window pointer, loop through all it’s children and set the face / size for each?
>
> Probably not possible w/o RTTI since not all widgets support all text/font related settings in the same way. The basics like textsize() and labelsize() would certainly work (i.e. all methods that are defined in Fl_Widget) but I doubt that this would be enough.
Yeah, fair enough.
I was really only thinking about the properties inherited from Fl_Widget, but there may well be others you’d want to set “globally” per-window and that could get complicated really fast...
The basics, like font settings, might still be “trivial” though.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/7ACC1CD5-0565-471F-8874-31EF072E717A%40gmail.com.
[ Direct Link to Message ] | |
|
| |