GTK+ Hello World
The following code presents a graphical GTK+ hello-world program in the C programming language. This program has a window with the title "Hello, world!" and a label with similar text.
#includeUsing GCC and pkg-config in a Unix shell, this code can be compiled with the following command (assume above source has file name "helloworld.c"):
$ gcc -Wall helloworld.c -o helloworld $(pkg-config --cflags --libs gtk+-3.0)
Read more about this topic: Gtk
Famous quotes containing the word world:
“The alcoholic trance is not just a haze, as though the eyes were also unshaven. It is not a mere buzzing in the ears, a dizziness or disturbance of balance. One arrives in the garden again, at nursery time, when the gentle animals are fed and in all the world there are only toys.”
—William Gass (b. 1924)