From fae064d5f98fd4f6e62f7b7d4e8007267a33f912 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Mon, 9 Apr 2018 20:55:14 +0100 Subject: [PATCH] docs/reference/gtk/getting_started: cgit => GitLab master version of b685eb177932c021975a4b337e37d5911c537de0 --- docs/reference/gtk/getting_started.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/reference/gtk/getting_started.xml b/docs/reference/gtk/getting_started.xml index dd4395fddc..3313014910 100644 --- a/docs/reference/gtk/getting_started.xml +++ b/docs/reference/gtk/getting_started.xml @@ -333,7 +333,7 @@ The full, buildable sources for these examples can be found in the examples/ directory of the GTK+ source distribution, or - online in the GTK+ git repository. + online in the GTK+ git repository. You can build each example separately by using make with the Makefile.example file. For more information, see the README included in the examples directory. @@ -450,7 +450,7 @@ example_app_window_class_init (ExampleAppWindowClass *class) ... ]]> - (full source) + (full source) You may have noticed that we used the _from_resource() variant @@ -518,7 +518,7 @@ example_app_window_class_init (ExampleAppWindowClass *class) ... ]]> - (full source) + (full source) Now we revisit the example_app_window_open() function that @@ -567,7 +567,7 @@ example_app_window_open (ExampleAppWindow *win, ... ]]> - (full source) + (full source) Note that we did not have to touch the stack switcher @@ -665,7 +665,7 @@ example_app_class_init (ExampleAppClass *class) ... - (full source) + (full source) Our preferences menu item does not do anything yet, @@ -731,7 +731,7 @@ example_app_window_init (ExampleAppWindow *win) ... ]]> - (full source) + (full source) The code to connect the font setting is a little more involved, @@ -780,7 +780,7 @@ preferences_activated (GSimpleAction *action, ... ]]> - (full source) + (full source) After all this work, our application can now show @@ -866,7 +866,7 @@ example_app_window_init (ExampleAppWindow *win) ... ]]> - (full source) + (full source) With the search bar, our application now looks like this: @@ -926,7 +926,7 @@ example_app_window_init (ExampleAppWindow *win) ... ]]> - (full source) + (full source) What our application looks like now: @@ -989,12 +989,12 @@ example_app_window_init (ExampleAppWindow *win) ... - (full source) + (full source) We also need a function that counts the lines of the currently active tab, and updates the @lines label. See the - full source + full source if you are interested in the details. This brings our example application to this appearance: