### Drawing in response to input
-Create a new file with the following content named `example-4.c`.
+Create a new file with the following content named `example-3.c`.
```c
#include <gtk/gtk.h>
You can compile the program above with GCC using:
```
-gcc $( pkg-config --cflags gtk4 ) -o example-4 example-4.c $( pkg-config --libs gtk4 )
+gcc $( pkg-config --cflags gtk4 ) -o example-3 example-3.c $( pkg-config --libs gtk4 )
```
## Building user interfaces
### Packing buttons with GtkBuilder
-Create a new file with the following content named `example-3.c`.
+Create a new file with the following content named `example-4.c`.
```c
#include <gtk/gtk.h>
You can compile the program above with GCC using:
```
-gcc $( pkg-config --cflags gtk4 ) -o example-3 example-3.c $( pkg-config --libs gtk4 )
+gcc $( pkg-config --cflags gtk4 ) -o example-4 example-4.c $( pkg-config --libs gtk4 )
```
Note that `GtkBuilder` can also be used to construct objects that are