KatzePreferences

KatzePreferences

Functions

Includes

#include <katze/katze.h>

Description

Functions

katze_preferences_new ()

GtkWidget *
katze_preferences_new (GtkWindow *parent);

Creates a new preferences dialog.

Parameters

parent

the parent window, or NULL

 

Returns

a new KatzePreferences

Since 0.2.1


katze_preferences_add_category ()

GtkWidget *
katze_preferences_add_category (KatzePreferences *preferences,
                                const gchar *label,
                                const gchar *icon);

Adds a new category with the specified label to the dialog.

Parameters

preferences

a KatzePreferences instance

 

label

a category label

 

icon

an icon name

 

Since 0.2.1


katze_preferences_add_group ()

void
katze_preferences_add_group (KatzePreferences *preferences,
                             const gchar *label);

Adds a new group with the specified label to the dialog.

Parameters

preferences

a KatzePreferences instance

 

label

a group label, or NULL

 

Since 0.2.1


katze_preferences_add_widget ()

void
katze_preferences_add_widget (KatzePreferences *preferences,
                              GtkWidget *widget,
                              const gchar *type);

Adds a widget to the dialog.

Parameters

preferences

a KatzePreferences instance

 

widget

a widget representing an option

 

type

"filled", "indented", or "spanned"

 

Since 0.2.1

Types and Values