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:
“It is impossible to give a clear account of the world, but art can teach us to reproduce itjust as the world reproduces itself in the course of its eternal gyrations. The primordial sea indefatigably repeats the same words and casts up the same astonished beings on the same sea-shore.”
—Albert Camus (19131960)