| Gnome User Interface Library Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
#include <gnome.h> struct GnomePropertyObject; struct GnomePropertyDescriptor; enum GnomePropertyAction; GnomePropertyObject* gnome_property_object_new (GnomePropertyDescriptor *descriptor, |
struct GnomePropertyObject {
GtkWidget *label;
GnomePropertyDescriptor *descriptor;
gpointer prop_data, temp_data, user_data;
GList *object_list;
}; |
struct GnomePropertyDescriptor {
guint size;
const gchar *label;
GtkWidget * (*init_func) (GnomePropertyObject *);
void (*apply_func) (GnomePropertyObject *);
void (*update_func) (GnomePropertyObject *);
void (*load_func) (GnomePropertyObject *);
void (*save_func) (GnomePropertyObject *);
void (*load_temp_func) (GnomePropertyObject *);
gint (*save_temp_func) (GnomePropertyObject *);
void (*discard_temp_func) (GnomePropertyObject *);
void (*changed_func) (GnomePropertyObject *);
GList *next;
}; |
typedef enum {
GNOME_PROPERTY_ACTION_APPLY = 1,
GNOME_PROPERTY_ACTION_UPDATE,
GNOME_PROPERTY_ACTION_LOAD,
GNOME_PROPERTY_ACTION_SAVE,
GNOME_PROPERTY_ACTION_LOAD_TEMP,
GNOME_PROPERTY_ACTION_SAVE_TEMP,
GNOME_PROPERTY_ACTION_DISCARD_TEMP,
GNOME_PROPERTY_ACTION_CHANGED
} GnomePropertyAction; |
GnomePropertyObject* gnome_property_object_new (GnomePropertyDescriptor *descriptor, |
| descriptor : | |
| property_data_ptr : | |
| Returns : |
void gnome_property_object_register (GnomePropertyBox *property_box, GnomePropertyObject *object); |
| property_box : | |
| object : |
void gnome_property_object_list_walk ( |
| property_object_list : | |
| action : |
void gnome_property_object_apply (GnomePropertyObject *object); |
| object : |
void gnome_property_object_update (GnomePropertyObject *object); |
| object : |
void gnome_property_object_load_temp (GnomePropertyObject *object); |
| object : |
void gnome_property_object_save_temp (GnomePropertyObject *object); |
| object : |
void gnome_property_object_discard_temp
(GnomePropertyObject *object); |
| object : |
void gnome_property_object_changed (GnomePropertyObject *object); |
| object : |