gtk4/subclass/application_window.rs
1// Take a look at the license at the top of the repository in the LICENSE file.
2
3// rustdoc-stripper-ignore-next
4//! Traits intended for subclassing [`ApplicationWindow`].
5
6use crate::{prelude::*, subclass::prelude::*, ApplicationWindow};
7
8pub trait ApplicationWindowImpl:
9 WindowImpl
10 + ObjectSubclass<Type: IsA<ApplicationWindow> + IsA<gio::ActionGroup> + IsA<gio::ActionMap>>
11 + 'static
12{
13}
14
15unsafe impl<T: ApplicationWindowImpl> IsSubclassable<T> for ApplicationWindow {}