GObject Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <gobject.h> #define G_IS_PARAM_SPEC_CHAR (pspec) #define G_PARAM_SPEC_CHAR (pspec) #define G_IS_PARAM_SPEC_UCHAR (pspec) #define G_PARAM_SPEC_UCHAR (pspec) #define G_IS_PARAM_SPEC_BOOLEAN (pspec) #define G_PARAM_SPEC_BOOLEAN (pspec) #define G_IS_PARAM_SPEC_INT (pspec) #define G_PARAM_SPEC_INT (pspec) #define G_IS_PARAM_SPEC_UINT (pspec) #define G_PARAM_SPEC_UINT (pspec) #define G_IS_PARAM_SPEC_LONG (pspec) #define G_PARAM_SPEC_LONG (pspec) #define G_IS_PARAM_SPEC_ULONG (pspec) #define G_PARAM_SPEC_ULONG (pspec) #define G_IS_PARAM_SPEC_ENUM (pspec) #define G_PARAM_SPEC_ENUM (pspec) #define G_IS_PARAM_SPEC_FLAGS (pspec) #define G_PARAM_SPEC_FLAGS (pspec) #define G_IS_PARAM_SPEC_FLOAT (pspec) #define G_PARAM_SPEC_FLOAT (pspec) #define G_IS_PARAM_SPEC_DOUBLE (pspec) #define G_PARAM_SPEC_DOUBLE (pspec) #define G_IS_PARAM_SPEC_STRING (pspec) #define G_PARAM_SPEC_STRING (pspec) #define G_IS_PARAM_SPEC_OBJECT (pspec) #define G_PARAM_SPEC_OBJECT (pspec) struct GParamSpecChar; struct GParamSpecUChar; struct GParamSpecBoolean; struct GParamSpecInt; struct GParamSpecUInt; struct GParamSpecLong; struct GParamSpecULong; struct GParamSpecEnum; struct GParamSpecFlags; struct GParamSpecFloat; struct GParamSpecDouble; struct GParamSpecString; struct GParamSpecObject; 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_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_string_c (const gchar *name, const gchar *nick, const gchar *blurb, const gchar *default_value, GParamFlags flags); GParamSpec* g_param_spec_object (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags); |
#define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR)) |
pspec : |
#define G_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar)) |
pspec : |
#define G_IS_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR)) |
pspec : |
#define G_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar)) |
pspec : |
#define G_IS_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN)) |
pspec : |
#define G_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean)) |
pspec : |
#define G_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT)) |
pspec : |
#define G_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt)) |
pspec : |
#define G_IS_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT)) |
pspec : |
#define G_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt)) |
pspec : |
#define G_IS_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG)) |
pspec : |
#define G_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong)) |
pspec : |
#define G_IS_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG)) |
pspec : |
#define G_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong)) |
pspec : |
#define G_IS_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM)) |
pspec : |
#define G_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum)) |
pspec : |
#define G_IS_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS)) |
pspec : |
#define G_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags)) |
pspec : |
#define G_IS_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT)) |
pspec : |
#define G_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat)) |
pspec : |
#define G_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE)) |
pspec : |
#define G_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble)) |
pspec : |
#define G_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING)) |
pspec : |
#define G_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString)) |
pspec : |
#define G_IS_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT)) |
pspec : |
#define G_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject)) |
pspec : |
struct GParamSpecChar { GParamSpec parent_instance; gint8 minimum; gint8 maximum; gint8 default_value; }; |
struct GParamSpecUChar { GParamSpec parent_instance; guint8 minimum; guint8 maximum; guint8 default_value; }; |
struct GParamSpecBoolean { GParamSpec parent_instance; gboolean default_value; }; |
struct GParamSpecInt { GParamSpec parent_instance; gint minimum; gint maximum; gint default_value; }; |
struct GParamSpecUInt { GParamSpec parent_instance; guint minimum; guint maximum; guint default_value; }; |
struct GParamSpecLong { GParamSpec parent_instance; glong minimum; glong maximum; glong default_value; }; |
struct GParamSpecULong { GParamSpec parent_instance; gulong minimum; gulong maximum; gulong default_value; }; |
struct GParamSpecEnum { GParamSpec parent_instance; GEnumClass *enum_class; glong default_value; }; |
struct GParamSpecFlags { GParamSpec parent_instance; GFlagsClass *flags_class; gulong 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; }; |
GParamSpec* g_param_spec_char (const gchar *name, const gchar *nick, const gchar *blurb, gint8 minimum, gint8 maximum, gint8 default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
minimum : | |
maximum : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_uchar (const gchar *name, const gchar *nick, const gchar *blurb, guint8 minimum, guint8 maximum, guint8 default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
minimum : | |
maximum : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_boolean (const gchar *name, const gchar *nick, const gchar *blurb, gboolean default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_int (const gchar *name, const gchar *nick, const gchar *blurb, gint minimum, gint maximum, gint default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
minimum : | |
maximum : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_uint (const gchar *name, const gchar *nick, const gchar *blurb, guint minimum, guint maximum, guint default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
minimum : | |
maximum : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_long (const gchar *name, const gchar *nick, const gchar *blurb, glong minimum, glong maximum, glong default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
minimum : | |
maximum : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_ulong (const gchar *name, const gchar *nick, const gchar *blurb, gulong minimum, gulong maximum, gulong default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
minimum : | |
maximum : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_enum (const gchar *name, const gchar *nick, const gchar *blurb, GType enum_type, gint default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
enum_type : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_flags (const gchar *name, const gchar *nick, const gchar *blurb, GType flags_type, guint default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
flags_type : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_float (const gchar *name, const gchar *nick, const gchar *blurb, gfloat minimum, gfloat maximum, gfloat default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
minimum : | |
maximum : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_double (const gchar *name, const gchar *nick, const gchar *blurb, gdouble minimum, gdouble maximum, gdouble default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
minimum : | |
maximum : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_string (const gchar *name, const gchar *nick, const gchar *blurb, const gchar *default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_string_c (const gchar *name, const gchar *nick, const gchar *blurb, const gchar *default_value, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
default_value : | |
flags : | |
Returns : |
GParamSpec* g_param_spec_object (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags); |
name : | |
nick : | |
blurb : | |
object_type : | |
flags : | |
Returns : |