/* gcc -Wall -o test-postion-window test-postion-window.c `pkg-config --cflags --libs gtk+-2.0` */ #include int main( int argc, char *argv[] ) { GtkWidget *tool_window; gtk_init (&argc, &argv); tool_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_container_set_border_width (GTK_CONTAINER (tool_window), 10); gtk_window_move (GTK_WINDOW (tool_window), 100, 100); gtk_widget_show (tool_window); gtk_main (); return 0; }