#include <gtk/gtk.h>

static void add_setup_page (GtkWidget *assist)
{
        GtkWidget *label = gtk_label_new ("setup label");
        gtk_assistant_append_page (GTK_ASSISTANT(assist), label);
        gtk_container_child_set (GTK_CONTAINER(assist), label,
                                 "title", "Setup",
                                 "page-type", GTK_ASSISTANT_PAGE_CONFIRM,
                                 "complete", TRUE,
                                 NULL);
}

static void add_summary_page (GtkWidget *assist)
{
        GtkWidget *label = gtk_label_new ("summary label");
        gtk_assistant_append_page (GTK_ASSISTANT(assist), label);
        gtk_container_child_set (GTK_CONTAINER(assist), label,
                                 "title", "Summary",
                                 "page-type", GTK_ASSISTANT_PAGE_SUMMARY,
                                 NULL);
}

static void setup (void)
{
        GtkWidget *assist = gtk_assistant_new ();
        gtk_window_set_title (GTK_WINDOW(assist), "Assist");
        add_setup_page (assist);
        add_summary_page (assist);
        gtk_widget_show_all (assist);
}

int main (int argc, char** argv)
{
        gtk_init (&argc, &argv);
        setup ();
        gtk_main ();
        return 0;
}

