Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for adw::PreferencesPage #635

Closed
chriskilding opened this issue May 16, 2024 · 1 comment · Fixed by #639
Closed

Support for adw::PreferencesPage #635

chriskilding opened this issue May 16, 2024 · 1 comment · Fixed by #639

Comments

@chriskilding
Copy link
Contributor

chriskilding commented May 16, 2024

When I try to enclose one or more adw::PreferencesGroups inside an adw::PreferencesPage, I get the following error:

the method `container_add` exists for struct `PreferencesPage`, but its trait bounds were not satisfied

    adw::PreferencesGroup {

/Users/<me>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libadwaita-0.6.0/src/auto/preferences_page.rs:14:1
   |
14 | / glib::wrapper! {
15 | |     #[doc(alias = "AdwPreferencesPage")]
16 | |     pub struct PreferencesPage(Object<ffi::AdwPreferencesPage, ffi::AdwPreferencesPageClass>) @extends gtk::Widget, @implements gtk::Accessible, gtk::Buildable, gtk::ConstraintTarget;
17 | |
...  |
20 | |     }
21 | | }
   | |_- doesn't satisfy `PreferencesPage: RelmContainerExt` or `PreferencesPage: RelmSetChildExt`
   |
   = note: the following trait bounds were not satisfied:
           `PreferencesPage: RelmSetChildExt`
           which is required by `PreferencesPage: RelmContainerExt`

Is adw::PreferencesPage supported yet? Or is it missing some impls?

@chriskilding chriskilding changed the title Support for adw::PreferencePage Support for adw::PreferencesPage May 16, 2024
@chriskilding
Copy link
Contributor Author

Thanks :)

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

Successfully merging a pull request may close this issue.

1 participant