if (a.has_argument ("type")) {
ctype = a.get_string ("type");
}
+ if (a.has_argument ("pos")) {
+ cparameter_position = a.get_double ("pos");
+ }
if (a.has_argument ("array_length")) {
no_array_length = !a.get_bool ("array_length");
}
}
namespace Idle {
- public static uint add (SourceFunc function);
+ [CCode (cname = "g_idle_add_full")]
+ public static uint add (owned SourceFunc function, [CCode (pos = 0.1)] int priority = 0);
public static uint add_full (int priority, owned SourceFunc function);
public static bool remove_by_data (void* data);
}