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:
“Stevenson had noble ideasas did the young Franklin for that matter. But Stevenson felt that the way to implement them was to present himself as a thoughtful idealist and wait for the world to flock to him. He considered it below him, or wrong, to scramble out among the people and ask them what they wanted. Roosevelt grappled voters to him. Stevenson shied off from them. Some thought him too pure to desire power, though he showed ambition when it mattered.”
—Garry Wills, U.S. historian. Certain Trumpets: The Call of Leaders, ch. 9, Simon & Schuster (1994)