Compilation Units
Tagged Types
procedure Destroy (Data : in out User_Data_Type)
type Gasync_Ready_Callback is access procedure
(Source_Object : access Glib.Object.GObject_Record'Class;
Res : Glib.G_Async_Result;
Data : User_Data_Type);
Type definition for a function that will be called back when an asynchronous operation within GIO has been completed. Gasync_Ready_Callback callbacks from Gtask.Gtask are guaranteed to be invoked in a later iteration of the thread-default main context (see [methodGlib.MainContext.push_thread_default]) where the Gtask.Gtask was created. All other users of Gasync_Ready_Callback must likewise call it asynchronously in a later iteration of the main context. The asynchronous operation is guaranteed to have held a reference to Source_Object from the time when the *_async function was called, until after this callback returns.
the object the asynchronous operation was started with.
a Glib.G_Async_Result.
user data passed to the callback.
procedure Launch_Default_For_Uri_Async
(URI : UTF8_String;
Context : access Glib.App_Launch_Context.Gapp_Launch_Context_Record'Class;
Cancellable : access Glib.Cancellable.Gcancellable_Record'Class;
Callback : Gasync_Ready_Callback;
User_Data : User_Data_Type)
Async version of Glib.App_Info.Launch_Default_For_Uri. This version is useful if you are interested in receiving error information in the case where the application is sandboxed and the portal may present an application chooser dialog to the user. This is also useful if you want to be sure that the D-Busâactivated applications are really started before termination and if you are interested in receiving error information from their activation. Since: gtk+ 2.50
the uri to show
an optional Glib.App_Launch_Context.Gapp_Launch_Context
a Glib.Cancellable.Gcancellable
a Gasync_Ready_Callback to call when the request is done
data to pass to Callback
type User_Data_Type (<>) is private;