>gnome-properties

gnome-properties

Name

gnome-properties -- deprecated/experimental/unfinished

Synopsis


#include <gnome.h>


struct      GnomePropertyObject;
struct      GnomePropertyDescriptor;
enum        GnomePropertyAction;
GnomePropertyObject* gnome_property_object_new
                                            (GnomePropertyDescriptor *descriptor,
                                             gpointer property_data_ptr);
void        gnome_property_object_register  (GnomePropertyBox *property_box,
                                             GnomePropertyObject *object);
void        gnome_property_object_list_walk (GList *property_object_list,
                                             GnomePropertyAction action);
void        gnome_property_object_apply     (GnomePropertyObject *object);
void        gnome_property_object_update    (GnomePropertyObject *object);
void        gnome_property_object_load      (GnomePropertyObject *object);
void        gnome_property_object_save      (GnomePropertyObject *object);
void        gnome_property_object_load_temp (GnomePropertyObject *object);
void        gnome_property_object_save_temp (GnomePropertyObject *object);
void        gnome_property_object_discard_temp
                                            (GnomePropertyObject *object);
void        gnome_property_object_changed   (GnomePropertyObject *object);

Description

This module is deprecated/experimental/unfinished. Don't use it.

Details

struct GnomePropertyObject

struct GnomePropertyObject {
	GtkWidget *label;
	GnomePropertyDescriptor *descriptor;
	gpointer prop_data, temp_data, user_data;
	GList *object_list;
};


struct GnomePropertyDescriptor

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;
};


enum GnomePropertyAction

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;


gnome_property_object_new ()

GnomePropertyObject* gnome_property_object_new
                                            (GnomePropertyDescriptor *descriptor,
                                             gpointer property_data_ptr);

descriptor : 
property_data_ptr : 
Returns : 


gnome_property_object_register ()

void        gnome_property_object_register  (GnomePropertyBox *property_box,
                                             GnomePropertyObject *object);

property_box : 
object : 


gnome_property_object_list_walk ()

void        gnome_property_object_list_walk (GList *property_object_list,
                                             GnomePropertyAction action);

property_object_list : 
action : 


gnome_property_object_apply ()

void        gnome_property_object_apply     (GnomePropertyObject *object);

object : 


gnome_property_object_update ()

void        gnome_property_object_update    (GnomePropertyObject *object);

object : 


gnome_property_object_load ()

void        gnome_property_object_load      (GnomePropertyObject *object);

object : 


gnome_property_object_save ()

void        gnome_property_object_save      (GnomePropertyObject *object);

object : 


gnome_property_object_load_temp ()

void        gnome_property_object_load_temp (GnomePropertyObject *object);

object : 


gnome_property_object_save_temp ()

void        gnome_property_object_save_temp (GnomePropertyObject *object);

object : 


gnome_property_object_discard_temp ()

void        gnome_property_object_discard_temp
                                            (GnomePropertyObject *object);

object : 


gnome_property_object_changed ()

void        gnome_property_object_changed   (GnomePropertyObject *object);

object :