eclipse.platform.swt icon indicating copy to clipboard operation
eclipse.platform.swt copied to clipboard

MenuItem.setImage not implemented on Gtk 4.x

Open akurtakov opened this issue 6 months ago • 4 comments

It's just a no-op.

akurtakov avatar Jul 10 '25 08:07 akurtakov

I'm starting to work on this now, Can it be assigned to me?

I see surfaces are deprecated so I plan to replace the functionality with paintables instead. @akurtakov Does that sound reasonable to you?

@Theo-Dann-Muirhead-Renesas I will need more info/sampe/draft PR best to understand what you try to do. I will assume that you want to use gtk_set_image_from_paintable which sounds the right approach. As a rule of thumb make sure that the implementation(or multiple ones) you have will work with the full set of Gtk 4.x versions.

akurtakov avatar Aug 07 '25 18:08 akurtakov

Yes, I plan on adding support for paintables alongside surfaces in MenuItem.Java, ImageList.Java and Image.Java.