EggDBus Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Synopsis
#define EGG_DBUS_TYPE_INT16 #define EGG_DBUS_TYPE_UINT16 EggDBusParamSpecInt16; EggDBusParamSpecUInt16; GParamSpec* egg_dbus_param_spec_int16 (const gchar *name, const gchar *nick, const gchar *blurb, gint16 minimum, gint16 maximum, gint16 default_value, GParamFlags flags); GParamSpec* egg_dbus_param_spec_uint16 (const gchar *name, const gchar *nick, const gchar *blurb, guint16 minimum, guint16 maximum, guint16 default_value, GParamFlags flags); #define EGG_DBUS_VALUE_HOLDS_INT16 (value) #define EGG_DBUS_VALUE_HOLDS_UINT16 (value) void egg_dbus_value_set_int16 (GValue *value, gint16 v_int16); gint16 egg_dbus_value_get_int16 (const GValue *value); void egg_dbus_value_set_uint16 (GValue *value, guint16 v_uint16); guint16 egg_dbus_value_get_uint16 (const GValue *value);
Details
EGG_DBUS_TYPE_INT16
#define EGG_DBUS_TYPE_INT16 (egg_dbus_int16_get_type())
A fundamental type corresponding to gint16.
EGG_DBUS_TYPE_UINT16
#define EGG_DBUS_TYPE_UINT16 (egg_dbus_uint16_get_type())
A fundamental type corresponding to guint16.
EggDBusParamSpecInt16
typedef struct { GParamSpec parent_instance; gint16 minimum; gint16 maximum; gint16 default_value; } EggDBusParamSpecInt16;
A GParamSpec derived structure that contains the meta data for 16bit integer properties.
GParamSpec |
private GParamSpec portion |
gint16 |
minimum value for the property specified |
gint16 |
maximum value for the property specified |
gint16 |
default value for the property specified |
EggDBusParamSpecUInt16
typedef struct { GParamSpec parent_instance; guint16 minimum; guint16 maximum; guint16 default_value; } EggDBusParamSpecUInt16;
A GParamSpec derived structure that contains the meta data for unsigned 16bit integer properties.
GParamSpec |
private GParamSpec portion |
guint16 |
minimum value for the property specified |
guint16 |
maximum value for the property specified |
guint16 |
default value for the property specified |
egg_dbus_param_spec_int16 ()
GParamSpec* egg_dbus_param_spec_int16 (const gchar *name, const gchar *nick, const gchar *blurb, gint16 minimum, gint16 maximum, gint16 default_value, GParamFlags flags);
Creates a new EggDBusParamSpecInt16 instance specifying a EGG_DBUS_TYPE_INT16
property.
See g_param_spec_internal()
for details on property names.
|
canonical name of the property specified |
|
nick name for the property specified |
|
description of the property specified |
|
minimum value for the property specified |
|
maximum value for the property specified |
|
default value for the property specified |
|
flags for the property specified |
Returns : |
a newly created parameter specification |
egg_dbus_param_spec_uint16 ()
GParamSpec* egg_dbus_param_spec_uint16 (const gchar *name, const gchar *nick, const gchar *blurb, guint16 minimum, guint16 maximum, guint16 default_value, GParamFlags flags);
Creates a new EggDBusParamSpecUInt16 instance specifying a EGG_DBUS_TYPE_UINT16
property.
See g_param_spec_internal()
for details on property names.
|
canonical name of the property specified |
|
nick name for the property specified |
|
description of the property specified |
|
minimum value for the property specified |
|
maximum value for the property specified |
|
default value for the property specified |
|
flags for the property specified |
Returns : |
a newly created parameter specification |
EGG_DBUS_VALUE_HOLDS_INT16()
#define EGG_DBUS_VALUE_HOLDS_INT16(value) (G_TYPE_CHECK_VALUE_TYPE ((value), EGG_DBUS_TYPE_INT16))
Checks whether the given GValue can hold values of type EGG_DBUS_TYPE_INT16
.
EGG_DBUS_VALUE_HOLDS_UINT16()
#define EGG_DBUS_VALUE_HOLDS_UINT16(value) (G_TYPE_CHECK_VALUE_TYPE ((value), EGG_DBUS_TYPE_UINT16))
Checks whether the given GValue can hold values of type EGG_DBUS_TYPE_UINT16
.
egg_dbus_value_set_int16 ()
void egg_dbus_value_set_int16 (GValue *value, gint16 v_int16);
Set the contents of a EGG_DBUS_TYPE_INT16
GValue to v_int16
.
|
a valid GValue of type EGG_DBUS_TYPE_INT16
|
|
16bit integer value to be set |
egg_dbus_value_get_int16 ()
gint16 egg_dbus_value_get_int16 (const GValue *value);
Get the contents of a EGG_DBUS_TYPE_INT16
GValue.
|
a valid GValue of type EGG_DBUS_TYPE_INT16
|
Returns : |
16bit integer contents of value
|
egg_dbus_value_set_uint16 ()
void egg_dbus_value_set_uint16 (GValue *value, guint16 v_uint16);
Set the contents of a EGG_DBUS_TYPE_UINT16
GValue to v_uint16
.
|
a valid GValue of type EGG_DBUS_TYPE_UINT16
|
|
unsigned 16bit integer value to be set |
egg_dbus_value_get_uint16 ()
guint16 egg_dbus_value_get_uint16 (const GValue *value);
Get the contents of a EGG_DBUS_TYPE_UINT16
GValue.
|
a valid GValue of type EGG_DBUS_TYPE_UINT16
|
Returns : |
unsigned 16bit integer contents of value
|