void add_setup_page(Gtk.Assistant assist)
{
  var label = new Gtk.Label("setup label");
  assist.append_page(label);
  assist.child_set(label,
                   "title", "Setup",
                   "page-type", Gtk.AssistantPageType.CONFIRM,
                   "complete", true);
}

void add_summary_page(Gtk.Assistant assist)
{
  var label = new Gtk.Label("summary label");
  assist.append_page(label);
  assist.child_set(label,
                   "title", "Summary",
                   "page-type", Gtk.AssistantPageType.SUMMARY);
}

void setup()
{
  var assist = new Gtk.Assistant();
  assist.title = "Assist";
  add_setup_page(assist);
  add_summary_page(assist);
  assist.show_all();
}

int main(string [] args)
{
  Gtk.init(ref args);
  setup();
  Gtk.main();
  return 0;
}
