Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_CONVERSION_GET_OBJ_MUTEX() |
gdouble | ags_conversion_convert () |
AgsConversion * | ags_conversion_new () |
#define | AGS_CONVERSION() |
#define | AGS_CONVERSION_CLASS() |
#define | AGS_CONVERSION_GET_CLASS() |
#define | AGS_IS_CONVERSION() |
#define | AGS_IS_CONVERSION_CLASS() |
GType | ags_conversion_get_type () |
#define AGS_CONVERSION_GET_OBJ_MUTEX(obj) (&(((AgsConversion *) obj)->obj_mutex))
gdouble ags_conversion_convert (AgsConversion *conversion
,gdouble x
,gboolean reverse
);
Convert a value if reverse
is FALSE
then use the target format
otherwise if TRUE
convert back to original format.
Since: 3.0.0
AgsConversion * ags_conversion_new ();
Instantiate a new AgsConversion.
Since: 3.0.0
#define AGS_CONVERSION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CONVERSION, AgsConversion))
#define AGS_CONVERSION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CONVERSION, AgsConversionClass))
#define AGS_CONVERSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_CONVERSION, AgsConversionClass))
#define AGS_IS_CONVERSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CONVERSION))
#define AGS_IS_CONVERSION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_CONVERSION))
“description”
property “description” char *
The description of the conversion.
Owner: AgsConversion
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“convert”
signaldouble user_function (AgsConversion *conversion, double x, gboolean reverse, gpointer user_data)
The ::convert signal notifies about converted value.
conversion |
the AgsConversion to modify |
|
x |
the value to convert |
|
reverse |
the direction to translate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0