Merge branch 'docs/default-args' into 'main'

docs: Emphasize requirement to provide filenames as arguments

See merge request GNOME/gtk!5322
This commit is contained in:
Matthias Clasen 2022-12-13 12:17:07 +00:00
commit 66b4f2a9dd

View File

@ -1018,6 +1018,10 @@ Our application now looks like this:
In this step, we make our application show the content of all the files
that it is given on the commandline.
**Note: Providing filenames (e.g. `./exampleapp examplewin.c examplewin.h`) at
the command line is a requirement for example apps 3-9 to display as shown in
the screenshots below.**
To this end, we add a member to the struct of our application window subclass
and keep a reference to the `GtkStack` there. The first member of the struct
should be the parent type from which the class is derived. Here,