2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
11 typedef void OptionNotify(void);
12 typedef GList
* (*OptionBuildFn
)(Option
*option
, xmlNode
*node
, guchar
*label
);
19 guchar
*backup
; /* Copy of value to Revert to */
21 GtkWidget
*widget
; /* NULL => No UI yet */
22 void (*update_widget
)(Option
*option
);
23 guchar
* (*read_widget
)(Option
*option
);
28 void options_init(void);
30 void option_register_widget(char *name
, OptionBuildFn builder
);
31 void option_check_widget(Option
*option
);
33 void option_add_int(Option
*option
, const gchar
*key
, int value
);
34 void option_add_string(Option
*option
, const gchar
*key
, const gchar
*value
);
36 void options_notify(void);
37 void option_add_notify(OptionNotify
*callback
);
38 void option_add_saver(OptionNotify
*callback
);
40 GtkWidget
*options_show(void);
42 #endif /* _OPTIONS_H */