2015 ソフトウェア設計及び演習用の班Wiki

15::gr11::プレイ

GtkWidget * play(GtkWidget *window){

  vbox = gtk_vbox_new (FALSE, 2);

  gtk_container_add (GTK_CONTAINER (window), vbox);
  {
    GtkWidget *image;
    GtkWidget *button;

    image = gtk_image_new_from_file ("ip12.png");

    gtk_box_pack_start (GTK_BOX (vbox), image, TRUE, TRUE, 0);

    button = gtk_button_new_with_label ("Next");

    gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);

    g_signal_connect (G_OBJECT (button), "clicked",
		      G_CALLBACK (cb_button_clicked), NULL);
  }

  return window;
}


最終更新日:2015/06/05 17:05:49