[CCode (finish_function = "g_async_initable_new_finish")]
public static async GLib.Object new_valist_async (GLib.Type object_type, string first_property_name, va_list var_args, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
[CCode (finish_function = "g_async_initable_new_finish")]
+ [Version (deprecated = true, deprecated_since = "2.54", since = "2.22")]
public static async GLib.Object newv_async (GLib.Type object_type, [CCode (array_length_pos = 1.1)] GLib.Parameter[] parameters, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_async_result_get_type ()")]
public abstract bool init (GLib.Cancellable? cancellable = null) throws GLib.Error;
public static GLib.Object @new (GLib.Type object_type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
public static GLib.Object new_valist (GLib.Type object_type, string first_property_name, va_list var_args, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (deprecated = true, deprecated_since = "2.54", since = "2.22")]
public static GLib.Object newv (GLib.Type object_type, [CCode (array_length_cname = "n_parameters", array_length_pos = 1.5, array_length_type = "guint")] GLib.Parameter[] parameters, GLib.Cancellable? cancellable = null) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h", type_cname = "GListModelInterface", type_id = "g_list_model_get_type ()")]
public unowned T get_qdata<T> (GLib.Quark quark);
[CCode (cname = "G_TYPE_FROM_INSTANCE")]
public GLib.Type get_type ();
+ [Version (since = "2.54")]
+ public void getv ([CCode (array_length_cname = "n_properties", array_length_pos = 0.5, array_length_type = "guint")] string[] names, [CCode (array_length_cname = "n_properties", array_length_pos = 0.5, array_length_type = "guint")] GLib.Value[] values);
public static GLib.Object @new (GLib.Type type, ...);
public static GLib.Object new_valist (GLib.Type type, string? firstprop, va_list var_args);
+ [Version (deprecated = true, deprecated_since = "2.54")]
public static GLib.Object newv (GLib.Type type, [CCode (array_length_pos = 1.9, array_length_type = "guint")] GLib.Parameter[] parameters);
+ [Version (since = "2.54")]
+ public static GLib.Object new_with_properties (GLib.Type object_type, [CCode (array_length_cname = "n_properties", array_length_pos = 1.5, array_length_type = "guint")] string[] names, [CCode (array_length_cname = "n_properties", array_length_pos = 1.5, array_length_type = "guint")] GLib.Value[] values);
+
[CCode (cname = "g_object_notify")]
public void notify_property (string property_name);
public unowned GLib.Object @ref ();
[CCode (cname = "g_object_set_qdata_full", simple_generics = true)]
public void set_qdata<T> (GLib.Quark quark, owned T data);
public void set_qdata_full (GLib.Quark quark, void* data, GLib.DestroyNotify? destroy);
+ [Version (since = "2.54")]
+ public void setv ([CCode (array_length_cname = "n_properties", array_length_pos = 0.5, array_length_type = "guint")] string[] names, [CCode (array_length_cname = "n_properties", array_length_pos = 0.5, array_length_type = "guint")] GLib.Value[] values);
[CCode (simple_generics = true)]
public T steal_data<T> (string key);
[CCode (simple_generics = true)]
public GLib.Value value;
}
[CCode (has_copy_function = false, has_destroy_function = false)]
+ [Version (deprecated = true, deprecated_since = "2.54")]
public struct Parameter {
public weak string name;
public GLib.Value value;
public uint depth ();
[Version (since = "2.34")]
public void ensure ();
+ [CCode (cname = "g_enum_to_string")]
+ [Version (since = "2.54")]
+ public string enum_to_string (int @value);
+ [CCode (cname = "g_flags_to_string")]
+ [Version (since = "2.54")]
+ public string flags_to_string (uint @value);
[CCode (cname = "G_TYPE_FROM_INSTANCE")]
public static GLib.Type from_instance (void* instance);
public static GLib.Type from_name (string name);
[CCode (finish_function = "g_async_initable_new_finish")]
public static async GLib.Object new_valist_async (GLib.Type object_type, string first_property_name, va_list var_args, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
[CCode (finish_function = "g_async_initable_new_finish")]
+ [Version (deprecated = true, deprecated_since = "2.54", since = "2.22")]
public static async GLib.Object newv_async (GLib.Type object_type, [CCode (array_length_pos = 1.1)] GLib.Parameter[] parameters, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
}