| Top |
| GParamSpec * | egg_dbus_param_spec_int16 () |
| GParamSpec * | egg_dbus_param_spec_uint16 () |
| #define | EGG_DBUS_VALUE_HOLDS_INT16() |
| #define | EGG_DBUS_VALUE_HOLDS_UINT16() |
| void | egg_dbus_value_set_int16 () |
| gint16 | egg_dbus_value_get_int16 () |
| void | egg_dbus_value_set_uint16 () |
| guint16 | egg_dbus_value_get_uint16 () |
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.
name |
canonical name of the property specified |
|
nick |
nick name for the property specified |
|
blurb |
description of the property specified |
|
minimum |
minimum value for the property specified |
|
maximum |
maximum value for the property specified |
|
default_value |
default value for the property specified |
|
flags |
flags for the property specified |
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.
name |
canonical name of the property specified |
|
nick |
nick name for the property specified |
|
blurb |
description of the property specified |
|
minimum |
minimum value for the property specified |
|
maximum |
maximum value for the property specified |
|
default_value |
default value for the property specified |
|
flags |
flags for the property specified |
#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.
#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.
void egg_dbus_value_set_int16 (GValue *value,gint16 v_int16);
Set the contents of a EGG_DBUS_TYPE_INT16 GValue to v_int16
.
gint16
egg_dbus_value_get_int16 (const GValue *value);
Get the contents of a EGG_DBUS_TYPE_INT16 GValue.
void egg_dbus_value_set_uint16 (GValue *value,guint16 v_uint16);
Set the contents of a EGG_DBUS_TYPE_UINT16 GValue to v_uint16
.
value |
a valid GValue of type |
|
v_uint16 |
unsigned 16bit integer value to be set |
guint16
egg_dbus_value_get_uint16 (const GValue *value);
Get the contents of a EGG_DBUS_TYPE_UINT16 GValue.
#define EGG_DBUS_TYPE_INT16 (egg_dbus_int16_get_type())
A fundamental type corresponding to gint16.
#define EGG_DBUS_TYPE_UINT16 (egg_dbus_uint16_get_type())
A fundamental type corresponding to guint16.
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.