#include <gtk/gtk.h>

int
main (int argc, char *argv[])
{
  GtkWidget *window, *box, *label, *bar;

  gtk_init (&argc, &argv);

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
  gtk_container_add (GTK_CONTAINER (window), box);
  
  label = gtk_label_new (" some label text here ");
  gtk_container_add (GTK_CONTAINER (box), label);

  bar = gtk_statusbar_new ();
  gtk_container_set_resize_mode (GTK_CONTAINER (bar),
  				 GTK_RESIZE_QUEUE);
  gtk_container_add (GTK_CONTAINER (box), bar);

  gtk_widget_show_all (window);

  gtk_statusbar_push (GTK_STATUSBAR (bar), 0, "some test");

  gtk_main ();

  return 0;
}
