public static bool LaunchDefaultForUriFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = g_app_info_launch_default_for_uri_finish(result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public static unsafe GES.UriClipAsset Finish(GLib.IAsyncResult res) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = ges_uri_clip_asset_finish(res == null ? IntPtr.Zero : ((res is GLib.Object) ? (res as GLib.Object).Handle : (res as GLib.AsyncResultAdapter).Handle), out error); GES.UriClipAsset ret = GLib.Object.GetObject(raw_ret, true) as GES.UriClipAsset; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public bool MountFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = g_volume_mount_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GLib.Credentials ReceiveCredentialsFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_unix_connection_receive_credentials_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); GLib.Credentials ret = GLib.Object.GetObject(raw_ret) as GLib.Credentials; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public bool InitFinish(GLib.IAsyncResult res) { IntPtr error = IntPtr.Zero; bool raw_ret = g_async_initable_init_finish(Handle, res == null ? IntPtr.Zero : ((res is GLib.Object) ? (res as GLib.Object).Handle : (res as GLib.AsyncResultAdapter).Handle), out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public GLib.IOStream ConnectFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_proxy_connect_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); GLib.IOStream ret = GLib.Object.GetObject(raw_ret) as GLib.IOStream; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GLib.SocketConnection ConnectToUriFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_socket_client_connect_to_uri_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); GLib.SocketConnection ret = GLib.Object.GetObject(raw_ret) as GLib.SocketConnection; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GLib.TlsInteractionResult RequestCertificateFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; int raw_ret = g_tls_interaction_request_certificate_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); GLib.TlsInteractionResult ret = (GLib.TlsInteractionResult)raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe bool SendCredentialsFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = g_unix_connection_send_credentials_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe bool LoadFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = gtk_source_file_loader_load_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public static unsafe bool SaveToStreamFinish(GLib.IAsyncResult async_result) { IntPtr error = IntPtr.Zero; bool raw_ret = gdk_pixbuf_save_to_stream_finish(async_result == null ? IntPtr.Zero : ((async_result is GLib.Object) ? (async_result as GLib.Object).Handle : (async_result as GLib.AsyncResultAdapter).Handle), out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public GLib.InputStream LoadFinish(GLib.IAsyncResult res, string type) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_loadable_icon_load_finish(Handle, res == null ? IntPtr.Zero : ((res is GLib.Object) ? (res as GLib.Object).Handle : (res as GLib.AsyncResultAdapter).Handle), GLib.Marshaller.StringToPtrGStrdup(type), out error); GLib.InputStream ret = GLib.Object.GetObject(raw_ret) as GLib.InputStream; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GLib.FileInfo QueryInfoFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_file_output_stream_query_info_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); GLib.FileInfo ret = GLib.Object.GetObject(raw_ret) as GLib.FileInfo; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public static unsafe Gdk.PixbufFormat GetFileInfoFinish(GLib.IAsyncResult async_result, out int width, out int height) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = gdk_pixbuf_get_file_info_finish(async_result == null ? IntPtr.Zero : ((async_result is GLib.Object) ? (async_result as GLib.Object).Handle : (async_result as GLib.AsyncResultAdapter).Handle), out width, out height, out error); Gdk.PixbufFormat ret = raw_ret == IntPtr.Zero ? null : (Gdk.PixbufFormat)GLib.Opaque.GetOpaque(raw_ret, typeof(Gdk.PixbufFormat), false); if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe long ReadFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_input_stream_read_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); long ret = (long)raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe GLib.Bytes ReadBytesFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_input_stream_read_bytes_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); GLib.Bytes ret = new GLib.Bytes(raw_ret); if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe bool CloseFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; bool raw_ret = g_input_stream_close_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); bool ret = raw_ret; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public string LookupFinish(GLib.IAsyncResult result) { IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_proxy_resolver_lookup_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
private GLib.TlsInteractionResult InternalRequestCertificateFinish(GLib.IAsyncResult result) { RequestCertificateFinishNativeDelegate unmanaged = class_abi.BaseOverride <RequestCertificateFinishNativeDelegate>(this.LookupGType(), "request_certificate_finish"); if (unmanaged == null) { throw new InvalidOperationException("No base method to invoke"); } IntPtr error = IntPtr.Zero; int __result = unmanaged(this.Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); return((GLib.TlsInteractionResult)__result); }
private GLib.FileInfo[] InternalNextFilesFinish(GLib.IAsyncResult result) { NextFilesFinishNativeDelegate unmanaged = class_abi.BaseOverride <NextFilesFinishNativeDelegate>(this.LookupGType(), "next_files_finish"); if (unmanaged == null) { throw new InvalidOperationException("No base method to invoke"); } IntPtr error = IntPtr.Zero; IntPtr __result = unmanaged(this.Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); return((GLib.FileInfo[])GLib.Marshaller.ListPtrToArray(__result, typeof(GLib.List), true, true, typeof(GLib.FileInfo))); }
private GLib.FileInfo InternalQueryInfoFinish(GLib.IAsyncResult result) { QueryInfoFinishNativeDelegate unmanaged = class_abi.BaseOverride <QueryInfoFinishNativeDelegate>(this.LookupGType(), "query_info_finish"); if (unmanaged == null) { throw new InvalidOperationException("No base method to invoke"); } IntPtr error = IntPtr.Zero; IntPtr __result = unmanaged(this.Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); return(GLib.Object.GetObject(__result) as GLib.FileInfo); }
public unsafe string ReadUptoFinish(GLib.IAsyncResult result, out ulong length) { UIntPtr native_length; IntPtr error = IntPtr.Zero; IntPtr raw_ret = g_data_input_stream_read_upto_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out native_length, out error); string ret = GLib.Marshaller.PtrToStringGFree(raw_ret); length = (ulong)native_length; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe bool ReadAllFinish(GLib.IAsyncResult result, out ulong bytes_read) { UIntPtr native_bytes_read; IntPtr error = IntPtr.Zero; bool raw_ret = g_input_stream_read_all_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out native_bytes_read, out error); bool ret = raw_ret; bytes_read = (ulong)native_bytes_read; if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
private long InternalFillFinish(GLib.IAsyncResult result) { FillFinishNativeDelegate unmanaged = class_abi.BaseOverride <FillFinishNativeDelegate>(this.LookupGType(), "fill_finish"); if (unmanaged == null) { throw new InvalidOperationException("No base method to invoke"); } IntPtr error = IntPtr.Zero; IntPtr __result = unmanaged(this.Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); return((long)__result); }
public unsafe bool ForwardFinish(GLib.IAsyncResult result, Gtk.TextIter match_start, Gtk.TextIter match_end, out bool has_wrapped_around) { IntPtr native_match_start = GLib.Marshaller.StructureToPtrAlloc(match_start); IntPtr native_match_end = GLib.Marshaller.StructureToPtrAlloc(match_end); IntPtr error = IntPtr.Zero; bool raw_ret = gtk_source_search_context_forward_finish(Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), native_match_start, native_match_end, out has_wrapped_around, out error); bool ret = raw_ret; Marshal.FreeHGlobal(native_match_start); Marshal.FreeHGlobal(native_match_end); if (error != IntPtr.Zero) { throw new GLib.GException(error); } return(ret); }
public unsafe PixbufAnimation(GLib.IAsyncResult async_result) : base(IntPtr.Zero) { if (GetType() != typeof(PixbufAnimation)) { var vals = new List <GLib.Value> (); var names = new List <string> (); CreateNativeObject(names.ToArray(), vals.ToArray()); return; } IntPtr error = IntPtr.Zero; Raw = gdk_pixbuf_animation_new_from_stream_finish(async_result == null ? IntPtr.Zero : ((async_result is GLib.Object) ? (async_result as GLib.Object).Handle : (async_result as GLib.AsyncResultAdapter).Handle), out error); if (error != IntPtr.Zero) { throw new GLib.GException(error); } }
private GLib.TlsInteractionResult InternalRequestCertificateFinish(GLib.IAsyncResult result) { RequestCertificateFinishNativeDelegate unmanaged = null; unsafe { IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("request_certificate_finish")); unmanaged = (RequestCertificateFinishNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(RequestCertificateFinishNativeDelegate)); } if (unmanaged == null) { throw new InvalidOperationException("No base method to invoke"); } IntPtr error = IntPtr.Zero; int __result = unmanaged(this.Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); return((GLib.TlsInteractionResult)__result); }
private GLib.SocketAddress InternalNextFinish(GLib.IAsyncResult result) { NextFinishNativeDelegate unmanaged = null; unsafe { IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("next_finish")); unmanaged = (NextFinishNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(NextFinishNativeDelegate)); } if (unmanaged == null) { throw new InvalidOperationException("No base method to invoke"); } IntPtr error = IntPtr.Zero; IntPtr __result = unmanaged(this.Handle, result == null ? IntPtr.Zero : ((result is GLib.Object) ? (result as GLib.Object).Handle : (result as GLib.AsyncResultAdapter).Handle), out error); return(GLib.Object.GetObject(__result) as GLib.SocketAddress); }
protected virtual GLib.FileInfo OnQueryInfoFinish(GLib.IAsyncResult result) { return(InternalQueryInfoFinish(result)); }
protected virtual GLib.SocketAddress OnNextFinish(GLib.IAsyncResult result) { return(InternalNextFinish(result)); }