gnome-res.h File Reference

#include <gtk/gtk.h>
#include <libgnome/libgnome.h>

Go to the source code of this file.

Classes

struct  GnomeResEntryInfoType
struct  GnomeResPreferences
struct  GnomeResNewUserDruid

Defines

#define GNOME_RES_ENTRY(type, edit_type, path, name, vdefault, var, options, option_text_format, option_data, group, comment, level, depend_func, changed_callback, moreinfo)   { type, edit_type, path, name, vdefault, var, options, option_text_format, option_data, group, comment, level, depend_func, changed_callback, moreinfo, NULL, NULL }
#define GNOME_RES_ENTRY_NAME(type, edit_type, path, name, vdefault, var, options, group, comment, level, depend_func, moreinfo)   GNOME_RES_ENTRY(type, edit_type, path, name, vdefault, var, options, NULL, NULL, group, comment, level, depend_func, NULL, moreinfo )
#define GNOME_RES_ENTRY_FLOAT(path, name, vdefault, var, group, comment, changed_callback)   GNOME_RES_ENTRY(GNOME_RES_FLOAT, GNOME_RES_EDIT_ENTRY, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
#define GNOME_RES_ENTRY_FLOAT_VEC3(path, name, vdefault, var, group, comment, changed_callback)   GNOME_RES_ENTRY(GNOME_RES_FLOAT_VEC3, GNOME_RES_EDIT_ENTRY, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
#define GNOME_RES_ENTRY_FLOAT_VEC4(path, name, vdefault, var, group, comment, changed_callback)   GNOME_RES_ENTRY(GNOME_RES_FLOAT_VEC4, GNOME_RES_EDIT_ENTRY, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
#define GNOME_RES_ENTRY_FLOATSLIDER(path, name, vdefault, var, options, group, comment, changed_callback)   GNOME_RES_ENTRY(GNOME_RES_FLOAT, GNOME_RES_EDIT_VALSLIDER, path, name, vdefault, var, options, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
#define GNOME_RES_ENTRY_COLORSEL(path, name, vdefault, var, group, comment, changed_callback)   GNOME_RES_ENTRY(GNOME_RES_FLOAT_VEC4, GNOME_RES_EDIT_COLORSEL, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
#define GNOME_RES_ENTRY_FONTSEL(path, name, vdefault, var, group, comment, changed_callback)   GNOME_RES_ENTRY(GNOME_RES_STRING, GNOME_RES_EDIT_FONTSEL, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
#define GNOME_RES_ENTRY_OPTION(type, path, vdefault, var, options, group, comment)   GNOME_RES_ENTRY(type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, NULL, NULL )
#define GNOME_RES_ENTRY_MARK(type)   GNOME_RES_ENTRY(type, GNOME_RES_EDIT_NO, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GNOME_RES_LEVEL_IGNORE, NULL, NULL, NULL )
#define GNOME_RES_ENTRY_MARK_NAME(type, pathname)   GNOME_RES_ENTRY(type, GNOME_RES_EDIT_NO, pathname, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GNOME_RES_LEVEL_IGNORE, NULL, NULL, NULL )
#define GNOME_RES_ENTRY_FIRST   GNOME_RES_ENTRY_MARK (GNOME_RES_FIRST)
#define GNOME_RES_ENTRY_FIRST_NAME(pathname)   GNOME_RES_ENTRY_MARK_NAME (GNOME_RES_FIRST, pathname)
#define GNOME_RES_ENTRY_LAST   GNOME_RES_ENTRY_MARK (GNOME_RES_LAST)
#define GNOME_RES_ENTRY_PATH(type, path, vdefault, var, options, group, comment, level, depend_func)   GNOME_RES_ENTRY_NAME( type, GNOME_RES_EDIT_ENTRY, path, NULL, vdefault, var, options, group, comment, level, depend_func, NULL )
#define GNOME_RES_ENTRY_PATH_OPTION(type, path, vdefault, var, options, group, comment, level, depend_func)   GNOME_RES_ENTRY_NAME( type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, group, comment, level, depend_func, NULL )
#define GNOME_RES_ENTRY_INFOTEXT(group, comment)   GNOME_RES_ENTRY_NAME( GNOME_RES_IGNORE_INFO, GNOME_RES_EDIT_NO, NULL, NULL, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_INFOTEXT, NULL, NULL )
#define GNOME_RES_ENTRY_SEPARATOR(group, comment)   GNOME_RES_ENTRY_NAME( GNOME_RES_SEPARATOR, GNOME_RES_EDIT_NO, NULL, NULL, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, NULL )
#define GNOME_RES_ENTRY_INFOTEXT_DEPEND(group, comment, depend_func)   GNOME_RES_ENTRY_NAME( GNOME_RES_IGNORE_INFO, GNOME_RES_EDIT_NO, NULL, NULL, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_INFOTEXT, depend_func, NULL )
#define GNOME_RES_ENTRY_AUTO_PATH(type, path, vdefault, var, group, comment)   GNOME_RES_ENTRY_PATH(type, path, vdefault, var, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL )
#define GNOME_RES_ENTRY_AUTO_PATH_UNIT(type, path, vdefault, var, option_unit, group, comment)   GNOME_RES_ENTRY_PATH(type, path, vdefault, var, option_unit, group, comment, GNOME_RES_LEVEL_AUTO, NULL )
#define GNOME_RES_ENTRY_AUTO_PATH_OPTION(type, path, vdefault, var, options, group, comment)   GNOME_RES_ENTRY_PATH_OPTION(type, path, vdefault, var, options, group, comment, GNOME_RES_LEVEL_AUTO, NULL )
#define GNOME_RES_ENTRY_AUTO_PATH_OPTION_FMT(type, path, vdefault, var, options, option_text_format, option_data, group, comment)   GNOME_RES_ENTRY( type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, option_text_format, option_data, group, comment, GNOME_RES_LEVEL_AUTO, NULL, NULL, NULL )
#define GNOME_RES_ENTRY_ASK_PATH(type, path, vdefault, var, group, comment)   GNOME_RES_ENTRY_PATH(type, path, vdefault, var, NULL, group, comment, GNOME_RES_LEVEL_ASKFOR, NULL )
#define GNOME_RES_ENTRY_ASK_PATH_UNIT(type, path, vdefault, var, option_unit, group, comment)   GNOME_RES_ENTRY_PATH(type, path, vdefault, var, option_unit, group, comment, GNOME_RES_LEVEL_ASKFOR, NULL )
#define GNOME_RES_ENTRY_ASK_PATH_OPTION(type, path, vdefault, var, options, group, comment)   GNOME_RES_ENTRY_PATH_OPTION(type, path, vdefault, var, options, group, comment, GNOME_RES_LEVEL_ASKFOR, NULL )
#define GNOME_RES_ENTRY_ASK_PATH_OPTION_FMT(type, path, vdefault, var, options, option_text_format, option_data, group, comment)   GNOME_RES_ENTRY( type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, option_text_format, option_data, group, comment, GNOME_RES_LEVEL_ASKFOR, NULL, NULL, NULL )
#define GNOME_RES_ENTRY_ASK_PATH_DEPEND(type, path, vdefault, var, group, comment, depend_func)   GNOME_RES_ENTRY_PATH(type, path, vdefault, var, NULL, group, comment, GNOME_RES_LEVEL_ASKFOR_DEPEND, depend_func )
#define GNOME_RES_ENTRY_ASK_PATH_DEPEND_UNIT(type, path, vdefault, var, option_unit, group, comment, depend_func)   GNOME_RES_ENTRY_PATH(type, path, vdefault, var, option_unit, group, comment, GNOME_RES_LEVEL_ASKFOR_DEPEND, depend_func )
#define GNOME_RES_ENTRY_ASK_PATH_OPTION_DEPEND(type, path, vdefault, var, options, group, comment, depend_func)   GNOME_RES_ENTRY(type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, NULL, NULL, group, comment, GNOME_RES_LEVEL_ASKFOR_DEPEND, depend_func, NULL, NULL )
#define GNOME_RES_ENTRY_ASK_PATH_OPTION_FMT_DEPEND(type, path, vdefault, var, options, option_text_format, option_data, group, comment, depend_func)   GNOME_RES_ENTRY( type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, option_text_format, option_data, group, comment, GNOME_RES_LEVEL_ASKFOR_DEPEND, depend_func, NULL, NULL )

Enumerations

enum  GnomeResType {
  GNOME_RES_FIRST, GNOME_RES_BOOL, GNOME_RES_STRING, GNOME_RES_INT,
  GNOME_RES_FLOAT, GNOME_RES_FLOAT_W_UNIT, GNOME_RES_FLOAT_VEC3, GNOME_RES_FLOAT_VEC4,
  GNOME_RES_IGNORE_INFO, GNOME_RES_SEPARATOR, GNOME_RES_LAST
}
enum  GnomeResEditType {
  GNOME_RES_EDIT_NO, GNOME_RES_EDIT_ENTRY, GNOME_RES_EDIT_OPTIONS, GNOME_RES_EDIT_VALSLIDER,
  GNOME_RES_EDIT_COLORSEL, GNOME_RES_EDIT_FONTSEL
}
enum  GnomeResLevel {
  GNOME_RES_LEVEL_AUTO, GNOME_RES_LEVEL_ASKFOR, GNOME_RES_LEVEL_ASKFOR_DEPEND, GNOME_RES_LEVEL_IGNORE,
  GNOME_RES_LEVEL_INFOTEXT
}
enum  GnomeResDruidFinishType { GNOME_RES_DRUID_RUNNING, GNOME_RES_DRUID_FINISH, GNOME_RES_DRUID_CANCEL }

Functions

GnomeResPreferencesgnome_res_preferences_new (GnomeResEntryInfoType *res_def)
void gnome_res_set_ok_message (GnomeResPreferences *gnome_res_pref, const gchar *ok_msg)
void gnome_res_set_apply_message (GnomeResPreferences *gnome_res_pref, const gchar *apply_msg)
void gnome_res_set_apply_callback (GnomeResPreferences *self, void(*cb)(gpointer), gpointer data)
void gnome_res_run_change_user_config (GnomeResPreferences *gnome_res_pref, const gchar *dialog_title)
void gnome_res_set_destroy_on_close (GnomeResPreferences *self, int flg)
void gnome_res_destroy (GnomeResPreferences *gnome_res_pref)
void gnome_res_read_user_config (GnomeResPreferences *gnome_res_pref)
void gnome_res_write_user_config (GnomeResPreferences *gnome_res_pref)
GnomeResNewUserDruidgnome_res_new_user_druid_new (GnomeResEntryInfoType *res_def, const gchar *title)
GnomeResNewUserDruidgnome_res_new_user_druid_new_with_vals (GnomeResEntryInfoType *res_def, const gchar *title, GdkPixbuf *logo, GdkPixbuf *watermark, const gchar *welcome, const gchar *intro_text, const gchar *finish, const gchar *final_text)
GnomeResDruidFinishType gnome_res_new_user_druid_run_druids (GnomeResNewUserDruid *self)
void gnome_res_new_user_druid_destroy (GnomeResNewUserDruid *self)


Define Documentation

#define GNOME_RES_ENTRY type,
edit_type,
path,
name,
vdefault,
var,
options,
option_text_format,
option_data,
group,
comment,
level,
depend_func,
changed_callback,
moreinfo   )     { type, edit_type, path, name, vdefault, var, options, option_text_format, option_data, group, comment, level, depend_func, changed_callback, moreinfo, NULL, NULL }
 

Definition at line 104 of file gnome-res.h.

#define GNOME_RES_ENTRY_ASK_PATH type,
path,
vdefault,
var,
group,
comment   )     GNOME_RES_ENTRY_PATH(type, path, vdefault, var, NULL, group, comment, GNOME_RES_LEVEL_ASKFOR, NULL )
 

Definition at line 173 of file gnome-res.h.

#define GNOME_RES_ENTRY_ASK_PATH_DEPEND type,
path,
vdefault,
var,
group,
comment,
depend_func   )     GNOME_RES_ENTRY_PATH(type, path, vdefault, var, NULL, group, comment, GNOME_RES_LEVEL_ASKFOR_DEPEND, depend_func )
 

Definition at line 185 of file gnome-res.h.

#define GNOME_RES_ENTRY_ASK_PATH_DEPEND_UNIT type,
path,
vdefault,
var,
option_unit,
group,
comment,
depend_func   )     GNOME_RES_ENTRY_PATH(type, path, vdefault, var, option_unit, group, comment, GNOME_RES_LEVEL_ASKFOR_DEPEND, depend_func )
 

Definition at line 188 of file gnome-res.h.

#define GNOME_RES_ENTRY_ASK_PATH_OPTION type,
path,
vdefault,
var,
options,
group,
comment   )     GNOME_RES_ENTRY_PATH_OPTION(type, path, vdefault, var, options, group, comment, GNOME_RES_LEVEL_ASKFOR, NULL )
 

Definition at line 179 of file gnome-res.h.

#define GNOME_RES_ENTRY_ASK_PATH_OPTION_DEPEND type,
path,
vdefault,
var,
options,
group,
comment,
depend_func   )     GNOME_RES_ENTRY(type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, NULL, NULL, group, comment, GNOME_RES_LEVEL_ASKFOR_DEPEND, depend_func, NULL, NULL )
 

Definition at line 191 of file gnome-res.h.

#define GNOME_RES_ENTRY_ASK_PATH_OPTION_FMT type,
path,
vdefault,
var,
options,
option_text_format,
option_data,
group,
comment   )     GNOME_RES_ENTRY( type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, option_text_format, option_data, group, comment, GNOME_RES_LEVEL_ASKFOR, NULL, NULL, NULL )
 

Definition at line 182 of file gnome-res.h.

#define GNOME_RES_ENTRY_ASK_PATH_OPTION_FMT_DEPEND type,
path,
vdefault,
var,
options,
option_text_format,
option_data,
group,
comment,
depend_func   )     GNOME_RES_ENTRY( type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, option_text_format, option_data, group, comment, GNOME_RES_LEVEL_ASKFOR_DEPEND, depend_func, NULL, NULL )
 

Definition at line 194 of file gnome-res.h.

#define GNOME_RES_ENTRY_ASK_PATH_UNIT type,
path,
vdefault,
var,
option_unit,
group,
comment   )     GNOME_RES_ENTRY_PATH(type, path, vdefault, var, option_unit, group, comment, GNOME_RES_LEVEL_ASKFOR, NULL )
 

Definition at line 176 of file gnome-res.h.

#define GNOME_RES_ENTRY_AUTO_PATH type,
path,
vdefault,
var,
group,
comment   )     GNOME_RES_ENTRY_PATH(type, path, vdefault, var, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL )
 

Definition at line 161 of file gnome-res.h.

#define GNOME_RES_ENTRY_AUTO_PATH_OPTION type,
path,
vdefault,
var,
options,
group,
comment   )     GNOME_RES_ENTRY_PATH_OPTION(type, path, vdefault, var, options, group, comment, GNOME_RES_LEVEL_AUTO, NULL )
 

Definition at line 167 of file gnome-res.h.

#define GNOME_RES_ENTRY_AUTO_PATH_OPTION_FMT type,
path,
vdefault,
var,
options,
option_text_format,
option_data,
group,
comment   )     GNOME_RES_ENTRY( type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, option_text_format, option_data, group, comment, GNOME_RES_LEVEL_AUTO, NULL, NULL, NULL )
 

Definition at line 170 of file gnome-res.h.

#define GNOME_RES_ENTRY_AUTO_PATH_UNIT type,
path,
vdefault,
var,
option_unit,
group,
comment   )     GNOME_RES_ENTRY_PATH(type, path, vdefault, var, option_unit, group, comment, GNOME_RES_LEVEL_AUTO, NULL )
 

Definition at line 164 of file gnome-res.h.

#define GNOME_RES_ENTRY_COLORSEL path,
name,
vdefault,
var,
group,
comment,
changed_callback   )     GNOME_RES_ENTRY(GNOME_RES_FLOAT_VEC4, GNOME_RES_EDIT_COLORSEL, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
 

Definition at line 122 of file gnome-res.h.

#define GNOME_RES_ENTRY_FIRST   GNOME_RES_ENTRY_MARK (GNOME_RES_FIRST)
 

Definition at line 137 of file gnome-res.h.

#define GNOME_RES_ENTRY_FIRST_NAME pathname   )     GNOME_RES_ENTRY_MARK_NAME (GNOME_RES_FIRST, pathname)
 

Definition at line 140 of file gnome-res.h.

#define GNOME_RES_ENTRY_FLOAT path,
name,
vdefault,
var,
group,
comment,
changed_callback   )     GNOME_RES_ENTRY(GNOME_RES_FLOAT, GNOME_RES_EDIT_ENTRY, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
 

Definition at line 110 of file gnome-res.h.

#define GNOME_RES_ENTRY_FLOAT_VEC3 path,
name,
vdefault,
var,
group,
comment,
changed_callback   )     GNOME_RES_ENTRY(GNOME_RES_FLOAT_VEC3, GNOME_RES_EDIT_ENTRY, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
 

Definition at line 113 of file gnome-res.h.

#define GNOME_RES_ENTRY_FLOAT_VEC4 path,
name,
vdefault,
var,
group,
comment,
changed_callback   )     GNOME_RES_ENTRY(GNOME_RES_FLOAT_VEC4, GNOME_RES_EDIT_ENTRY, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
 

Definition at line 116 of file gnome-res.h.

#define GNOME_RES_ENTRY_FLOATSLIDER path,
name,
vdefault,
var,
options,
group,
comment,
changed_callback   )     GNOME_RES_ENTRY(GNOME_RES_FLOAT, GNOME_RES_EDIT_VALSLIDER, path, name, vdefault, var, options, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
 

Definition at line 119 of file gnome-res.h.

#define GNOME_RES_ENTRY_FONTSEL path,
name,
vdefault,
var,
group,
comment,
changed_callback   )     GNOME_RES_ENTRY(GNOME_RES_STRING, GNOME_RES_EDIT_FONTSEL, path, name, vdefault, var, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, changed_callback, NULL)
 

Definition at line 125 of file gnome-res.h.

#define GNOME_RES_ENTRY_INFOTEXT group,
comment   )     GNOME_RES_ENTRY_NAME( GNOME_RES_IGNORE_INFO, GNOME_RES_EDIT_NO, NULL, NULL, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_INFOTEXT, NULL, NULL )
 

Definition at line 152 of file gnome-res.h.

#define GNOME_RES_ENTRY_INFOTEXT_DEPEND group,
comment,
depend_func   )     GNOME_RES_ENTRY_NAME( GNOME_RES_IGNORE_INFO, GNOME_RES_EDIT_NO, NULL, NULL, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_INFOTEXT, depend_func, NULL )
 

Definition at line 158 of file gnome-res.h.

#define GNOME_RES_ENTRY_LAST   GNOME_RES_ENTRY_MARK (GNOME_RES_LAST)
 

Definition at line 143 of file gnome-res.h.

#define GNOME_RES_ENTRY_MARK type   )     GNOME_RES_ENTRY(type, GNOME_RES_EDIT_NO, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GNOME_RES_LEVEL_IGNORE, NULL, NULL, NULL )
 

Definition at line 131 of file gnome-res.h.

#define GNOME_RES_ENTRY_MARK_NAME type,
pathname   )     GNOME_RES_ENTRY(type, GNOME_RES_EDIT_NO, pathname, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GNOME_RES_LEVEL_IGNORE, NULL, NULL, NULL )
 

Definition at line 134 of file gnome-res.h.

#define GNOME_RES_ENTRY_NAME type,
edit_type,
path,
name,
vdefault,
var,
options,
group,
comment,
level,
depend_func,
moreinfo   )     GNOME_RES_ENTRY(type, edit_type, path, name, vdefault, var, options, NULL, NULL, group, comment, level, depend_func, NULL, moreinfo )
 

Definition at line 107 of file gnome-res.h.

#define GNOME_RES_ENTRY_OPTION type,
path,
vdefault,
var,
options,
group,
comment   )     GNOME_RES_ENTRY(type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, NULL, NULL )
 

Definition at line 128 of file gnome-res.h.

#define GNOME_RES_ENTRY_PATH type,
path,
vdefault,
var,
options,
group,
comment,
level,
depend_func   )     GNOME_RES_ENTRY_NAME( type, GNOME_RES_EDIT_ENTRY, path, NULL, vdefault, var, options, group, comment, level, depend_func, NULL )
 

Definition at line 146 of file gnome-res.h.

#define GNOME_RES_ENTRY_PATH_OPTION type,
path,
vdefault,
var,
options,
group,
comment,
level,
depend_func   )     GNOME_RES_ENTRY_NAME( type, GNOME_RES_EDIT_OPTIONS, path, NULL, vdefault, var, options, group, comment, level, depend_func, NULL )
 

Definition at line 149 of file gnome-res.h.

#define GNOME_RES_ENTRY_SEPARATOR group,
comment   )     GNOME_RES_ENTRY_NAME( GNOME_RES_SEPARATOR, GNOME_RES_EDIT_NO, NULL, NULL, NULL, NULL, NULL, group, comment, GNOME_RES_LEVEL_AUTO, NULL, NULL )
 

Definition at line 155 of file gnome-res.h.


Enumeration Type Documentation

enum GnomeResDruidFinishType
 

Enumerator:
GNOME_RES_DRUID_RUNNING 
GNOME_RES_DRUID_FINISH 
GNOME_RES_DRUID_CANCEL 

Definition at line 228 of file gnome-res.h.

enum GnomeResEditType
 

Enumerator:
GNOME_RES_EDIT_NO 
GNOME_RES_EDIT_ENTRY 
GNOME_RES_EDIT_OPTIONS 
GNOME_RES_EDIT_VALSLIDER 
GNOME_RES_EDIT_COLORSEL 
GNOME_RES_EDIT_FONTSEL 

Definition at line 56 of file gnome-res.h.

enum GnomeResLevel
 

Enumerator:
GNOME_RES_LEVEL_AUTO 
GNOME_RES_LEVEL_ASKFOR 
GNOME_RES_LEVEL_ASKFOR_DEPEND 
GNOME_RES_LEVEL_IGNORE 
GNOME_RES_LEVEL_INFOTEXT 

Definition at line 70 of file gnome-res.h.

enum GnomeResType
 

Enumerator:
GNOME_RES_FIRST 
GNOME_RES_BOOL 
GNOME_RES_STRING 
GNOME_RES_INT 
GNOME_RES_FLOAT 
GNOME_RES_FLOAT_W_UNIT 
GNOME_RES_FLOAT_VEC3 
GNOME_RES_FLOAT_VEC4 
GNOME_RES_IGNORE_INFO 
GNOME_RES_SEPARATOR 
GNOME_RES_LAST 

Definition at line 39 of file gnome-res.h.


Function Documentation

void gnome_res_destroy GnomeResPreferences gnome_res_pref  ) 
 

Definition at line 101 of file gnome-res.c.

References DEBUG_VERBOSE, GnomeResPreferences::dialog, GnomeResPreferences::pref_apply_message, GnomeResPreferences::pref_ok_message, and GnomeResPreferences::running.

void gnome_res_new_user_druid_destroy GnomeResNewUserDruid self  ) 
 

Definition at line 771 of file gnome-res.c.

References DEBUG_VERBOSE, GnomeResNewUserDruid::final_text, GnomeResNewUserDruid::finish, gnome_res_destroy(), GnomeResNewUserDruid::intro_text, GnomeResNewUserDruid::res_pref, GnomeResNewUserDruid::title, and GnomeResNewUserDruid::welcome.

GnomeResNewUserDruid* gnome_res_new_user_druid_new GnomeResEntryInfoType res_def,
const gchar *  title
 

Definition at line 728 of file gnome-res.c.

References gnome_res_new_user_druid_new_with_vals().

GnomeResNewUserDruid* gnome_res_new_user_druid_new_with_vals GnomeResEntryInfoType res_def,
const gchar *  title,
GdkPixbuf *  logo,
GdkPixbuf *  watermark,
const gchar *  welcome,
const gchar *  intro_text,
const gchar *  finish,
const gchar *  final_text
 

Definition at line 733 of file gnome-res.c.

References DEBUG_VERBOSE, gnome_res_new_user_druid_construct(), gnome_res_preferences_new(), and gnome_res_read_user_config().

GnomeResDruidFinishType gnome_res_new_user_druid_run_druids GnomeResNewUserDruid self  ) 
 

Definition at line 937 of file gnome-res.c.

References DEBUG_VERBOSE, GNOME_RES_DRUID_RUNNING, and GnomeResNewUserDruid::window.

GnomeResPreferences* gnome_res_preferences_new GnomeResEntryInfoType res_def  ) 
 

Definition at line 87 of file gnome-res.c.

References DEBUG_VERBOSE, FALSE, and TRUE.

void gnome_res_read_user_config GnomeResPreferences gnome_res_pref  ) 
 

Definition at line 146 of file gnome-res.c.

References BE_VERBOSE, DEBUG_VERBOSE, GCONF_APP_PREFIX, GNOME_RES_BOOL, GNOME_RES_FIRST, GNOME_RES_FLOAT, GNOME_RES_FLOAT_VEC3, GNOME_RES_FLOAT_VEC4, GNOME_RES_FLOAT_W_UNIT, GNOME_RES_IGNORE_INFO, GNOME_RES_INT, gnome_res_keytranslate(), GNOME_RES_LAST, GNOME_RES_STRING, GnomeResEntryInfoType::path, GnomeResPreferences::res_def, GnomeResEntryInfoType::type, GnomeResEntryInfoType::var, GnomeResEntryInfoType::vdefault, and VERSION.

void gnome_res_run_change_user_config GnomeResPreferences gnome_res_pref,
const gchar *  dialog_title
 

Definition at line 637 of file gnome-res.c.

References _, GnomeResEntryInfoType::comment, DEBUG_VERBOSE, GnomeResPreferences::dialog, GnomeResEntryInfoType::entry, FALSE, GNOME_PAD, GNOME_RES_FIRST, GNOME_RES_IGNORE_INFO, GNOME_RES_LAST, gnome_res_make_resource_variable_edit_field(), GNOME_RES_SEPARATOR, gnome_res_show_info_callback(), GnomeResEntryInfoType::group, GnomeResEntryInfoType::path, PREF_CONFDLG_XSIZE, PREF_CONFDLG_YSIZE, PREF_IN_HBOX_PACK_MODE, PREF_IN_VBOX_PACK_MODE, GnomeResPreferences::res_def, GnomeResPreferences::running, TRUE, and GnomeResEntryInfoType::type.

void gnome_res_set_apply_callback GnomeResPreferences self,
void(*)(gpointer)  cb,
gpointer  data
 

Definition at line 125 of file gnome-res.c.

void gnome_res_set_apply_message GnomeResPreferences gnome_res_pref,
const gchar *  apply_msg
 

Definition at line 119 of file gnome-res.c.

References GnomeResPreferences::pref_apply_message.

void gnome_res_set_destroy_on_close GnomeResPreferences self,
int  flg
 

Definition at line 130 of file gnome-res.c.

void gnome_res_set_ok_message GnomeResPreferences gnome_res_pref,
const gchar *  ok_msg
 

Definition at line 113 of file gnome-res.c.

References GnomeResPreferences::pref_ok_message.

void gnome_res_write_user_config GnomeResPreferences gnome_res_pref  ) 
 

Definition at line 282 of file gnome-res.c.

References BE_VERBOSE, DEBUG_VERBOSE, GnomeResEntryInfoType::entry, FALSE, GNOME_RES_BOOL, GNOME_RES_FIRST, GNOME_RES_FLOAT, GNOME_RES_FLOAT_VEC3, GNOME_RES_FLOAT_VEC4, GNOME_RES_FLOAT_W_UNIT, GNOME_RES_IGNORE_INFO, GNOME_RES_INT, gnome_res_keytranslate(), GNOME_RES_LAST, GNOME_RES_STRING, GnomeResEntryInfoType::path, GnomeResPreferences::res_def, GnomeResEntryInfoType::tmp, TRUE, GnomeResEntryInfoType::type, GnomeResEntryInfoType::var, and GnomeResEntryInfoType::vdefault.


Generated on Sat Apr 1 09:04:32 2006 for GXSM by  doxygen 1.4.6