We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2910bca + b2e4fbe commit e7ca908Copy full SHA for e7ca908
gtk4/src/subclass/widget.rs
@@ -1230,6 +1230,19 @@ where
1230
}
1231
1232
1233
+impl<T> glib::HasParamSpec for TemplateChild<T>
1234
+where
1235
+ T: ObjectType + IsA<glib::Object> + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
1236
+{
1237
+ type ParamSpec = glib::ParamSpecObject;
1238
+ type SetValue = T;
1239
+ type BuilderFn = fn(&str) -> glib::ParamSpecObjectBuilder<T>;
1240
+
1241
+ fn param_spec_builder() -> Self::BuilderFn {
1242
+ Self::ParamSpec::builder
1243
+ }
1244
+}
1245
1246
impl<T> std::ops::Deref for TemplateChild<T>
1247
where
1248
T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>,
0 commit comments