Icons in Menus?

50 views
Skip to first unread message

Matthew Boulter

unread,
May 10, 2025, 8:00:04 PMMay 10
to VAST Community Forum
Hi all,

Does anyone have examples of menu items prefixed with an icon?

Presumably if it is possible in a menu bar , it is possible in a context popup menu.

Thanks in advance,
/Matt

Mariano Martinez Peck

unread,
May 11, 2025, 12:08:32 PMMay 11
to va-sma...@googlegroups.com
Hi Matthew,

Which VAST version? We added some support for this in VAST 12.0.1.

Regards,


--
You received this message because you are subscribed to the Google Groups "VAST Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/va-smalltalk/b2328932-4bd6-4854-9659-56aef740f08an%40googlegroups.com.


--

Mariano Martinez Peck

VAST Lead Consultant

Senior Software Engineer

 mp...@instantiations.com
 @MartinezPeck
 /mariano-martinez-peck
 instantiations.com
TwitterLinkedInVAST Community ForumGitHubYouTubepub.dev

Matthew Boulter

unread,
May 12, 2025, 6:40:31 AMMay 12
to VAST Community Forum
Oh right cool, we are on the latest v14.

Mariano Martinez Peck

unread,
May 14, 2025, 8:13:06 AMMay 14
to va-sma...@googlegroups.com
Hi,

I don't have an example at hand, but I know we added OSMenuiteminfo accessors for 'hbmpItem' and some constants like:


            (name: MiimString isConstant: true valueExpression: '64')
            (name: MiimBitmap isConstant: true valueExpression: '128')
            (name: MiimFtype isConstant: true valueExpression: '256')

See also the method #setMenuItemInfo:with:with:

More information here:


Let me know if that helps,

Regards,



Reply all
Reply to author
Forward
0 new messages