docs: Link to GResource
Since we're referring to GLib's functionality, might as well save some time to the reader, and link to the GResource API reference page.
This commit is contained in:
@ -454,9 +454,9 @@ example_app_window_class_init (ExampleAppWindowClass *class)
|
|||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>You may have noticed that we used the <literal>_from_resource(<!-- -->)</literal> variant
|
<para>You may have noticed that we used the <literal>_from_resource(<!-- -->)</literal> variant
|
||||||
of the function that sets a template. Now we need to use GLib's resource
|
of the function that sets a template. Now we need to use <ulink url="https://developer.gnome.org/gio/stable/GResource.html">GLib's resource functionality</ulink>
|
||||||
functionality to include the ui file in the binary. This is commonly
|
to include the ui file in the binary. This is commonly done by listing
|
||||||
done by listing all resources in a .gresource.xml file, such as this:
|
all resources in a .gresource.xml file, such as this:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
|
|||||||
Reference in New Issue
Block a user