This repository was archived by the owner on Mar 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,15 @@ use syn::{parse_macro_input, DeriveInput};
2121/// Specify that `MyWidget` is using a composite template and load the
2222/// template file the `composite_template.ui` file.
2323///
24- /// Then, in the `ObjectSubclass` implementation you will need to call
25- /// `bind_template` in the `class_init` function, and `init_template` in
26- /// `instance_init` function.
24+ /// Then, in the [`ObjectSubclass`] implementation you will need to call
25+ /// [`bind_template`] in the [`class_init`] function, and [`init_template`] in
26+ /// [`instance_init`] function.
27+ ///
28+ /// [`ObjectSubclass`]: ../glib/subclass/types/trait.ObjectSubclass.html
29+ /// [`bind_template`]: ../gtk/subclass/widget/trait.CompositeTemplate.html#tymethod.bind_template
30+ /// [`class_init`]: ../glib/subclass/types/trait.ObjectSubclass.html#method.class_init
31+ /// [`init_template`]: ../gtk/prelude/trait.InitializingWidgetExt.html#tymethod.init_template
32+ /// [`instance_init`]: ../glib/subclass/types/trait.ObjectSubclass.html#method.instance_init
2733///
2834/// ```no_run
2935/// use gtk::prelude::*;
You can’t perform that action at this time.
0 commit comments