| Top |
| #define | AGS_CONVERSION_GET_OBJ_MUTEX() |
| gdouble | ags_conversion_convert () |
| AgsConversion * | ags_conversion_new () |
#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
“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