📄 gparamspecs.h
字号:
guint default_value;};struct _GParamSpecFloat{ GParamSpec parent_instance; gfloat minimum; gfloat maximum; gfloat default_value; gfloat epsilon;};struct _GParamSpecDouble{ GParamSpec parent_instance; gdouble minimum; gdouble maximum; gdouble default_value; gdouble epsilon;};struct _GParamSpecString{ GParamSpec parent_instance; gchar *default_value; gchar *cset_first; gchar *cset_nth; gchar substitutor; guint null_fold_if_empty : 1; guint ensure_non_null : 1;};struct _GParamSpecParam{ GParamSpec parent_instance;};struct _GParamSpecBoxed{ GParamSpec parent_instance;};struct _GParamSpecPointer{ GParamSpec parent_instance;};struct _GParamSpecValueArray{ GParamSpec parent_instance; GParamSpec *element_spec; guint fixed_n_elements;};struct _GParamSpecObject{ GParamSpec parent_instance;};/* --- GParamSpec prototypes --- */GParamSpec* g_param_spec_char (const gchar *name, const gchar *nick, const gchar *blurb, gint8 minimum, gint8 maximum, gint8 default_value, GParamFlags flags);GParamSpec* g_param_spec_uchar (const gchar *name, const gchar *nick, const gchar *blurb, guint8 minimum, guint8 maximum, guint8 default_value, GParamFlags flags);GParamSpec* g_param_spec_boolean (const gchar *name, const gchar *nick, const gchar *blurb, gboolean default_value, GParamFlags flags);GParamSpec* g_param_spec_int (const gchar *name, const gchar *nick, const gchar *blurb, gint minimum, gint maximum, gint default_value, GParamFlags flags);GParamSpec* g_param_spec_uint (const gchar *name, const gchar *nick, const gchar *blurb, guint minimum, guint maximum, guint default_value, GParamFlags flags);GParamSpec* g_param_spec_long (const gchar *name, const gchar *nick, const gchar *blurb, glong minimum, glong maximum, glong default_value, GParamFlags flags);GParamSpec* g_param_spec_ulong (const gchar *name, const gchar *nick, const gchar *blurb, gulong minimum, gulong maximum, gulong default_value, GParamFlags flags);GParamSpec* g_param_spec_int64 (const gchar *name, const gchar *nick, const gchar *blurb, gint64 minimum, gint64 maximum, gint64 default_value, GParamFlags flags);GParamSpec* g_param_spec_uint64 (const gchar *name, const gchar *nick, const gchar *blurb, guint64 minimum, guint64 maximum, guint64 default_value, GParamFlags flags);GParamSpec* g_param_spec_unichar (const gchar *name, const gchar *nick, const gchar *blurb, gunichar default_value, GParamFlags flags);GParamSpec* g_param_spec_enum (const gchar *name, const gchar *nick, const gchar *blurb, GType enum_type, gint default_value, GParamFlags flags);GParamSpec* g_param_spec_flags (const gchar *name, const gchar *nick, const gchar *blurb, GType flags_type, guint default_value, GParamFlags flags);GParamSpec* g_param_spec_float (const gchar *name, const gchar *nick, const gchar *blurb, gfloat minimum, gfloat maximum, gfloat default_value, GParamFlags flags);GParamSpec* g_param_spec_double (const gchar *name, const gchar *nick, const gchar *blurb, gdouble minimum, gdouble maximum, gdouble default_value, GParamFlags flags);GParamSpec* g_param_spec_string (const gchar *name, const gchar *nick, const gchar *blurb, const gchar *default_value, GParamFlags flags);GParamSpec* g_param_spec_param (const gchar *name, const gchar *nick, const gchar *blurb, GType param_type, GParamFlags flags);GParamSpec* g_param_spec_boxed (const gchar *name, const gchar *nick, const gchar *blurb, GType boxed_type, GParamFlags flags);GParamSpec* g_param_spec_pointer (const gchar *name, const gchar *nick, const gchar *blurb, GParamFlags flags);GParamSpec* g_param_spec_value_array (const gchar *name, const gchar *nick, const gchar *blurb, GParamSpec *element_spec, GParamFlags flags);GParamSpec* g_param_spec_object (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags);/* --- internal --- *//* We prefix variable declarations so they can * properly get exported in windows dlls. */#ifndef GOBJECT_VAR# ifdef G_PLATFORM_WIN32# ifdef GOBJECT_STATIC_COMPILATION# define GOBJECT_VAR extern# else /* !GOBJECT_STATIC_COMPILATION */# ifdef GOBJECT_COMPILATION# ifdef DLL_EXPORT# define GOBJECT_VAR __declspec(dllexport)# else /* !DLL_EXPORT */# define GOBJECT_VAR extern# endif /* !DLL_EXPORT */# else /* !GOBJECT_COMPILATION */# define GOBJECT_VAR extern __declspec(dllimport)# endif /* !GOBJECT_COMPILATION */# endif /* !GOBJECT_STATIC_COMPILATION */# else /* !G_PLATFORM_WIN32 */# define GOBJECT_VAR extern# endif /* !G_PLATFORM_WIN32 */#endif /* GOBJECT_VAR */GOBJECT_VAR GType *g_param_spec_types;G_END_DECLS#endif /* __G_PARAMSPECS_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -