I think you're reading it correctly. Depending on this across platforms
would be a tricky proposition; even if NSMenuItem supports it, I expect
only partial compatibility on native themes on various platforms.

A great way to support this would be to try implementing it NSMenuItem and
in gnustep-back, and in drawing methods in various themes etc, and
contributing back. (Specifically, I'm wondering about win32 theme and, if
DBusMenu gets used, what happens with that.)

As far as I can tell, views in menus are also not supported, so that's not
a way out.

sent from phone

On Mon, Oct 19, 2020, 20:22 Aaron Carr <[email protected]> wrote:

> Hi
>
> Ive been  trying to change the font of an NSMenuItem, looking at the
> source, setAttributedTitle is:
>
> -(void) setAttributedTitle: (NSAttributedString *)title
> {
>   // FIXME
>   [self setTitle: [title string]];
> }
>
> Am i reading this right, is it essentially bypassed ? if so, what is the
> best way to say bold/italic/underline an NSMenuItem ?
>
> Thanks
>
> Aaron
>

Reply via email to