Standard Parameter Types

Name

Standard Parameter Types -- 

Synopsis


#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);

Description

Details

G_IS_PARAM_SPEC_CHAR()

#define G_IS_PARAM_SPEC_CHAR(pspec)     (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR))

pspec : 


G_PARAM_SPEC_CHAR()

#define G_PARAM_SPEC_CHAR(pspec)        (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar))

pspec : 


G_IS_PARAM_SPEC_UCHAR()

#define G_IS_PARAM_SPEC_UCHAR(pspec)    (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR))

pspec : 


G_PARAM_SPEC_UCHAR()

#define G_PARAM_SPEC_UCHAR(pspec)       (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar))

pspec : 


G_IS_PARAM_SPEC_BOOLEAN()

#define G_IS_PARAM_SPEC_BOOLEAN(pspec)  (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN))

pspec : 


G_PARAM_SPEC_BOOLEAN()

#define G_PARAM_SPEC_BOOLEAN(pspec)     (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean))

pspec : 


G_IS_PARAM_SPEC_INT()

#define G_IS_PARAM_SPEC_INT(pspec)      (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT))

pspec : 


G_PARAM_SPEC_INT()

#define G_PARAM_SPEC_INT(pspec)         (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt))

pspec : 


G_IS_PARAM_SPEC_UINT()

#define G_IS_PARAM_SPEC_UINT(pspec)     (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT))

pspec : 


G_PARAM_SPEC_UINT()

#define G_PARAM_SPEC_UINT(pspec)        (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt))

pspec : 


G_IS_PARAM_SPEC_LONG()

#define G_IS_PARAM_SPEC_LONG(pspec)     (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG))

pspec : 


G_PARAM_SPEC_LONG()

#define G_PARAM_SPEC_LONG(pspec)        (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong))

pspec : 


G_IS_PARAM_SPEC_ULONG()

#define G_IS_PARAM_SPEC_ULONG(pspec)    (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG))

pspec : 


G_PARAM_SPEC_ULONG()

#define G_PARAM_SPEC_ULONG(pspec)       (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong))

pspec : 


G_IS_PARAM_SPEC_ENUM()

#define G_IS_PARAM_SPEC_ENUM(pspec)     (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM))

pspec : 


G_PARAM_SPEC_ENUM()

#define G_PARAM_SPEC_ENUM(pspec)        (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum))

pspec : 


G_IS_PARAM_SPEC_FLAGS()

#define G_IS_PARAM_SPEC_FLAGS(pspec)    (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS))

pspec : 


G_PARAM_SPEC_FLAGS()

#define G_PARAM_SPEC_FLAGS(pspec)       (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags))

pspec : 


G_IS_PARAM_SPEC_FLOAT()

#define G_IS_PARAM_SPEC_FLOAT(pspec)    (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT))

pspec : 


G_PARAM_SPEC_FLOAT()

#define G_PARAM_SPEC_FLOAT(pspec)       (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat))

pspec : 


G_IS_PARAM_SPEC_DOUBLE()

#define G_IS_PARAM_SPEC_DOUBLE(pspec)   (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE))

pspec : 


G_PARAM_SPEC_DOUBLE()

#define G_PARAM_SPEC_DOUBLE(pspec)      (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble))

pspec : 


G_IS_PARAM_SPEC_STRING()

#define G_IS_PARAM_SPEC_STRING(pspec)   (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING))

pspec : 


G_PARAM_SPEC_STRING()

#define G_PARAM_SPEC_STRING(pspec)      (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString))

pspec : 


G_IS_PARAM_SPEC_OBJECT()

#define G_IS_PARAM_SPEC_OBJECT(pspec)   (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT))

pspec : 


G_PARAM_SPEC_OBJECT()

#define G_PARAM_SPEC_OBJECT(pspec)      (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject))

pspec : 


struct GParamSpecChar

struct GParamSpecChar
{
  GParamSpec    parent_instance;
  
  gint8         minimum;
  gint8         maximum;
  gint8         default_value;
};


struct GParamSpecUChar

struct GParamSpecUChar
{
  GParamSpec    parent_instance;
  
  guint8        minimum;
  guint8        maximum;
  guint8        default_value;
};


struct GParamSpecBoolean

struct GParamSpecBoolean
{
  GParamSpec    parent_instance;
  
  gboolean      default_value;
};


struct GParamSpecInt

struct GParamSpecInt
{
  GParamSpec    parent_instance;
  
  gint          minimum;
  gint          maximum;
  gint          default_value;
};


struct GParamSpecUInt

struct GParamSpecUInt
{
  GParamSpec    parent_instance;
  
  guint         minimum;
  guint         maximum;
  guint         default_value;
};


struct GParamSpecLong

struct GParamSpecLong
{
  GParamSpec    parent_instance;
  
  glong         minimum;
  glong         maximum;
  glong         default_value;
};


struct GParamSpecULong

struct GParamSpecULong
{
  GParamSpec    parent_instance;
  
  gulong        minimum;
  gulong        maximum;
  gulong        default_value;
};


struct GParamSpecEnum

struct GParamSpecEnum
{
  GParamSpec    parent_instance;
  
  GEnumClass   *enum_class;
  glong         default_value;
};


struct GParamSpecFlags

struct GParamSpecFlags
{
  GParamSpec    parent_instance;
  
  GFlagsClass  *flags_class;
  gulong        default_value;
};


struct GParamSpecFloat

struct GParamSpecFloat
{
  GParamSpec    parent_instance;
  
  gfloat        minimum;
  gfloat        maximum;
  gfloat        default_value;
  gfloat        epsilon;
};


struct GParamSpecDouble

struct GParamSpecDouble
{
  GParamSpec    parent_instance;
  
  gdouble       minimum;
  gdouble       maximum;
  gdouble       default_value;
  gdouble       epsilon;
};


struct GParamSpecString

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 GParamSpecObject

struct GParamSpecObject
{
  GParamSpec    parent_instance;
  
  GType         object_type;
};


g_param_spec_char ()

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 : 


g_param_spec_uchar ()

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 : 


g_param_spec_boolean ()

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 : 


g_param_spec_int ()

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 : 


g_param_spec_uint ()

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 : 


g_param_spec_long ()

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 : 


g_param_spec_ulong ()

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 : 


g_param_spec_enum ()

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 : 


g_param_spec_flags ()

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 : 


g_param_spec_float ()

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 : 


g_param_spec_double ()

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 : 


g_param_spec_string ()

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 : 


g_param_spec_string_c ()

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 : 


g_param_spec_object ()

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 :