#include <gtk/gtk.h>
int main( int argc, char *argv[])
{
GtkWidget *window;
gtk_init(&argc, &argv);
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_show(window);
gtk_main();
return 0;
}
The above can pop up a window and a corresponding icon on taskbar.
I googled a lot but can't find any article that handles this problem.
So any information is greatly appreciated!