MenuModel in Rust[GTK4]

I am attempting to add some MenuItems to my MenuModel in my GTK4 rust application. However, all of the options are disabled and I am unable to activate them. Is there any information maybe I’m missing in a tutorial or something for the rust bindings?


The items needs a gio::Action associated to them; have you crated those and added them to your gtk::Application or gtk::ApplicationWindow?

1 Like

Hello ,

You can check this tutorial to help you with it:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.