Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

gio ActionMap/ActionGroup subclassing support #190

Closed
bilelmoussaoui opened this issue Dec 3, 2020 · 1 comment · Fixed by #257
Closed

gio ActionMap/ActionGroup subclassing support #190

bilelmoussaoui opened this issue Dec 3, 2020 · 1 comment · Fixed by #257
Assignees

Comments

@bilelmoussaoui
Copy link
Member

bilelmoussaoui commented Dec 3, 2020

It's pretty useful to be able to subclass gio::ActionMap when creating a custom widget with it's own actions group instead of having to add an actions field into your imp::WidgetStruct

@bilelmoussaoui bilelmoussaoui self-assigned this Dec 3, 2020
@sdroege
Copy link
Member

sdroege commented Dec 3, 2020

See https://github.com/gtk-rs/gobject-subclass/tree/master/gio-subclass for the very old version of those. They need some special care because of all the transfer none return values.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants