#include <gtk/gtk.h>

int main (int argc, char *argv[])
{
    GtkWidget *dialog, *button;

    gtk_init (&argc, &argv);

    dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_DESTROY_WITH_PARENT,
                                     GTK_MESSAGE_INFO, GTK_BUTTONS_NONE,
                                     "Where's the button?");
/*
    dialog = gtk_file_chooser_dialog_new ("Where's the button?", NULL,
                                          GTK_FILE_CHOOSER_ACTION_SAVE, NULL, NULL);
*/
    button = gtk_button_new_with_label ("Here I am");
    gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_NONE);
    g_signal_connect (button, "clicked", G_CALLBACK (gtk_main_quit), NULL);

    gtk_widget_show_all (dialog);

    gtk_main ();

    return 0;
}
