| Anjuta Developers Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
#include <libanjuta/anjuta-preferences-dialog.h>
AnjutaPreferencesDialog;
AnjutaPreferencesDialogClass;
AnjutaPreferencesDialogPrivate;
GtkWidget * anjuta_preferences_dialog_new (void);
void anjuta_preferences_dialog_add_page (AnjutaPreferencesDialog *dlg,
const gchar *name,
const gchar *title,
GdkPixbuf *icon,
GtkWidget *page);
void anjuta_preferences_dialog_remove_page
(AnjutaPreferencesDialog *dlg,
const char *title);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkDialog
+----AnjutaPreferencesDialog
Plugins can added preferences page with anjuta_preferences_dialog_add_page().
However, read AnjutaPreferences for adding proper preferences pages.
typedef struct {
GtkDialogClass parent;
} AnjutaPreferencesDialogClass;
typedef struct _AnjutaPreferencesDialogPrivate AnjutaPreferencesDialogPrivate;
GtkWidget * anjuta_preferences_dialog_new (void);
Creates a new AnjutaPreferencesDialog object.
Returns : |
a new AnjutaPreferencesDialog object. |
void anjuta_preferences_dialog_add_page (AnjutaPreferencesDialog *dlg,const gchar *name,const gchar *title,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.
|
A AnjutaPreferencesDialog object. |
|
Name of the preferences page. |
|
Title of the page |
|
Icon file name. |
|
page widget. |
void anjuta_preferences_dialog_remove_page (AnjutaPreferencesDialog *dlg,const char *title);
Removes a preferences page.
|
A AnjutaPreferencesDialog object.g_signal_handler |
|
Name of the preferences page. |