Note that subclassing is not strictly necessary to add actions.
It’s also possible to insert a Gio.SimpleActionGroup()
to any widget, and add custom actions to it.
I gave a few examples in old topics:
Note that subclassing is not strictly necessary to add actions.
It’s also possible to insert a Gio.SimpleActionGroup()
to any widget, and add custom actions to it.
I gave a few examples in old topics: