## AnjutaSavePrompt

AnjutaSavePrompt — Save dialog prompt for unsaved data

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <libanjuta/anjuta-save-prompt.h>

    struct              AnjutaSavePrompt;
    struct              AnjutaSavePromptClass;
    gboolean            (*AnjutaSavePromptSaveFunc)         (AnjutaSavePrompt *save_prompt,
                                                             gpointer item,
                                                             gpointer user_data);
    void                anjuta_save_prompt_add_item         (AnjutaSavePrompt *save_prompt,
                                                             const gchar *item_name,
                                                             const gchar *item_detail,
                                                             gpointer item,
                                                             AnjutaSavePromptSaveFunc item_save_func,
                                                             gpointer user_data);
    gint                anjuta_save_prompt_get_items_count  (AnjutaSavePrompt *save_prompt);
    AnjutaSavePrompt *  anjuta_save_prompt_new              (GtkWindow *parent);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBin
                               +----GtkWindow
                                     +----GtkDialog
                                           +----GtkMessageDialog
                                                 +----AnjutaSavePrompt

## Implemented Interfaces

AnjutaSavePrompt implements AtkImplementorIface and GtkBuildable.

## Description

## Details

### struct AnjutaSavePrompt

    struct AnjutaSavePrompt;

### struct AnjutaSavePromptClass

    struct AnjutaSavePromptClass {
    	GtkMessageDialogClass parent_class;
    	/* Add Signal Functions Here */
    };

### AnjutaSavePromptSaveFunc ()

    gboolean            (*AnjutaSavePromptSaveFunc)         (AnjutaSavePrompt *save_prompt,
                                                             gpointer item,
                                                             gpointer user_data);

### anjuta_save_prompt_add_item ()

    void                anjuta_save_prompt_add_item         (AnjutaSavePrompt *save_prompt,
                                                             const gchar *item_name,
                                                             const gchar *item_detail,
                                                             gpointer item,
                                                             AnjutaSavePromptSaveFunc item_save_func,
                                                             gpointer user_data);

### anjuta_save_prompt_get_items_count ()

    gint                anjuta_save_prompt_get_items_count  (AnjutaSavePrompt *save_prompt);

### anjuta_save_prompt_new ()

    AnjutaSavePrompt *  anjuta_save_prompt_new              (GtkWindow *parent);