Skip to main content

gtk4/subclass/
grid.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 [`Grid`].
5
6use crate::{Grid, Orientable, prelude::*, subclass::prelude::*};
7
8pub trait GridImpl: WidgetImpl + ObjectSubclass<Type: IsA<Grid> + IsA<Orientable>> {}
9
10unsafe impl<T: GridImpl> IsSubclassable<T> for Grid {}