| katze Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <katze/katze.h> struct KatzePreferences; struct KatzePreferencesClass;GtkWidget * katze_preferences_new ();GtkWindow *parentGtkWidget * katze_preferences_add_category (KatzePreferences *preferences,const,gchar *labelconst);gchar *iconvoid katze_preferences_add_group (KatzePreferences *preferences,const);gchar *labelvoid katze_preferences_add_widget (KatzePreferences *preferences,,GtkWidget *widgetconst);gchar *type
struct KatzePreferences {
GtkDialog parent_instance;
KatzePreferencesPrivate* priv;
};
GtkWidget * katze_preferences_new ();GtkWindow *parent
Creates a new preferences dialog.
|
the parent window, or NULL |
Returns : |
a new KatzePreferences |
Since 0.2.1
GtkWidget * katze_preferences_add_category (KatzePreferences *preferences,const,gchar *labelconst);gchar *icon
Adds a new category with the specified label to the dialog.
|
a KatzePreferences instance |
|
a category label |
|
an icon name |
Since 0.2.1
void katze_preferences_add_group (KatzePreferences *preferences,const);gchar *label
Adds a new group with the specified label to the dialog.
|
a KatzePreferences instance |
|
a group label, or NULL |
Since 0.2.1
void katze_preferences_add_widget (KatzePreferences *preferences,,GtkWidget *widgetconst);gchar *type
Adds a widget to the dialog.
|
a KatzePreferences instance |
|
a widget representing an option |
|
"filled", "indented", or "spanned" |
Since 0.2.1