## AnjutaSavePrompt AnjutaSavePrompt — Save dialog prompt for unsaved data |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

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

    gboolean            (*AnjutaSavePromptSaveFunc)         (AnjutaSavePrompt *save_prompt,
                                                             gpointer item,
                                                             gpointer user_data);
    struct              AnjutaSavePrompt;
    struct              AnjutaSavePromptClass;
    AnjutaSavePrompt *  anjuta_save_prompt_new              (GtkWindow *parent);
    gint                anjuta_save_prompt_get_items_count  (AnjutaSavePrompt *save_prompt);
    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);

## Object Hierarchy

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

## Implemented Interfaces

AnjutaSavePrompt implements AtkImplementorIface and GtkBuildable.

## Description

## Details

### AnjutaSavePromptSaveFunc ()

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

### struct AnjutaSavePrompt

    struct AnjutaSavePrompt;

### struct AnjutaSavePromptClass

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

### anjuta_save_prompt_new ()

    AnjutaSavePrompt *  anjuta_save_prompt_new              (GtkWindow *parent);

### anjuta_save_prompt_get_items_count ()

    gint                anjuta_save_prompt_get_items_count  (AnjutaSavePrompt *save_prompt);

### 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);