GTK Initialization Every GTK program needs to first initialize the GTK library. This is done using the following piece of code: int main(int argc, char* argv[]); { . . /* This is called in all GTK applications. Arguments */ /* are parsed from the command line and are returned */ /* to the application. */ gtk_init(&argc, &argv); .