#include <gtk/gtk.h>

int main (int argc, char **argv)
{
  GtkWindow *main_window;
  GtkWidget *button;
  GtkNotebook *notebook;
  
  gtk_init (&argc, &argv);

  main_window = GTK_WINDOW (gtk_window_new (GTK_WINDOW_TOPLEVEL));
  if (argc == 1)
    button = GTK_WIDGET (gtk_check_button_new ());
  else
    button = GTK_WIDGET (gtk_check_button_new_with_label (argv[1]));
  gtk_container_add (GTK_CONTAINER (main_window), GTK_WIDGET (button));
  gtk_widget_set_valign (button, GTK_ALIGN_FILL);
  g_object_set (G_OBJECT (button), "height-request", 100, NULL);
  g_object_set (G_OBJECT (button), "draw-indicator", TRUE, NULL);

  g_signal_connect(G_OBJECT (main_window), "destroy", G_CALLBACK(gtk_main_quit), NULL);
  gtk_widget_show_all (GTK_WIDGET (main_window));

  gtk_main ();

  return 0;
}
