AnjutaPreferencesDialog

AnjutaPreferencesDialog — Preferences dialog

Synopsis




            AnjutaPreferencesDialog;
GtkWidget*  anjuta_preferences_dialog_new   (void);
void        anjuta_preferences_dialog_add_page
                                            (AnjutaPreferencesDialog *dlg,
                                             const char *name,
                                             GdkPixbuf *icon,
                                             GtkWidget *page);
void        anjuta_preferences_dialog_remove_page
                                            (AnjutaPreferencesDialog *dlg,
                                             const char *name);


Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----GtkDialog
                                       +----AnjutaPreferencesDialog
                                             +----AnjutaPreferences

Implemented Interfaces

AnjutaPreferencesDialog implements AtkImplementorIface.

Description

Plugins can added preferences page with anjuta_preferences_dialog_add_page(). However, read AnjutaPreferences for adding proper preferences pages.

Details

AnjutaPreferencesDialog

typedef struct _AnjutaPreferencesDialog AnjutaPreferencesDialog;


anjuta_preferences_dialog_new ()

GtkWidget*  anjuta_preferences_dialog_new   (void);

Creates a new AnjutaPreferencesDialog object.

Returns : a new AnjutaPreferencesDialog object.

anjuta_preferences_dialog_add_page ()

void        anjuta_preferences_dialog_add_page
                                            (AnjutaPreferencesDialog *dlg,
                                             const char *name,
                                             GdkPixbuf *icon,
                                             GtkWidget *page);

Adds a widget page in preferences dialog. Name and icon appears on the left icon list where differnt pages are selected.

dlg : A AnjutaPreferencesDialog object.
name : Name of the preferences page.
icon : Icon file name.
page : page widget.

anjuta_preferences_dialog_remove_page ()

void        anjuta_preferences_dialog_remove_page
                                            (AnjutaPreferencesDialog *dlg,
                                             const char *name);

Removes a preferences page.

dlg : A AnjutaPreferencesDialog object.
name : Name of the preferences page.