rust-qt / ritual

Use C++ libraries from Rust
Apache License 2.0
1.22k stars 49 forks source link

QMenu missing add_action_action #91

Closed jlgerber closed 4 years ago

jlgerber commented 4 years ago

Missing ability to add an pointer to an existing QAction into the menu in order to reuse actions.

Riateche commented 4 years ago

It's here. It's just called add_action. The naming is different because this method is inherited from QWidget and isn't overloaded for QWidget. Only QMenu's methods are overloaded, so only they have disambiguated names.

jlgerber commented 4 years ago

awesome. Thank you!