Blog Post #0033 - Faking an ImageMenuItem with an AccelKey

Ron Tarrant rontarrant at gmail.com
Tue May 7 09:39:55 UTC 2019


While browsing the GTK source, I came across a comment showing 
how to fake the deprecated ImageMenuItem and add an AccelKey. I'm 
not sure why this was considered useful enough to write about in 
the source comments, but it sounded like an interesting exercise. 
So I ported the code from C to D which turned out to be more 
challenging than I thought it would be.

But the result is today's post: how to produce a MenuItem with an 
image AND and AccelKey.

Here's the link: 
http://gtkdcoding.com/2019/05/07/0033-fake_image_menu_and_accel.html


More information about the Digitalmars-d-learn mailing list