by chris » Tue Jan 17, 2017 2:00 am
Try GA_TextAttr.
You can get the screen's TextAttr from the Screen structure or (better) using GetScreenAttr. Copy and modify ta_Style to add FSF_BOLD, and pass this.
It's not quite as easy, but it should work for all gadgetclass subclasses.
Another option is to create the string using label.image and pass it as a GA_Image. Creating labels like this is more flexible than the simple text processing most gadgets are lumbered with, the downside is they can't reformat them as they can with text, so sometimes they need a bit of extra care.