summaryrefslogtreecommitdiff
path: root/test-postion-window.c
blob: e215b5fa54a821cc8cc1a8b92083edd8d953040f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
  gcc -Wall -o test-postion-window test-postion-window.c `pkg-config --cflags --libs gtk+-2.0`
*/

#include <gtk/gtk.h>

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;
}