package Glib.Cancellable is
type Gcancellable_Record is new GObject_Record with null record;
type Gcancellable is access all Gcancellable_Record'Class;
type Gcallback is access procedure;
type Cb_Gcancellable_Void is not null access procedure (Self : access Gcancellable_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
Signal_Cancelled : constant Glib.Signal_Name := "cancelled";
procedure G_New
| ( | Self | : out Gcancellable); |
procedure Initialize
| ( | Self | : not null access Gcancellable_Record'Class); |
function Gcancellable_New return Gcancellable;
function Get_Type return Glib.GType;
procedure Cancel
| ( | Self | : not null access Gcancellable_Record); |
function Connect
| ( | Self | : not null access Gcancellable_Record; |
| Callback | : Gcallback; | |
| Data_Destroy_Func | : Glib.G_Destroy_Notify_Address) return Gulong; |
procedure Disconnect
| ( | Self | : not null access Gcancellable_Record; |
| Handler_Id | : Gulong); |
function Get_Fd
| ( | Self | : not null access Gcancellable_Record) return Gint; |
function Is_Cancelled
| ( | Self | : not null access Gcancellable_Record) return Boolean; |
procedure Pop_Current
| ( | Self | : not null access Gcancellable_Record); |
procedure Push_Current
| ( | Self | : not null access Gcancellable_Record); |
procedure Release_Fd
| ( | Self | : not null access Gcancellable_Record); |
procedure Reset
| ( | Self | : not null access Gcancellable_Record); |
function Set_Error_If_Cancelled
| ( | Self | : not null access Gcancellable_Record) return Boolean; |
function Source_New
| ( | Self | : not null access Gcancellable_Record) return Glib.Main.G_Source; |
procedure On_Cancelled
| ( | Self | : not null access Gcancellable_Record; |
| Call | : Cb_Gcancellable_Void; | |
| After | : Boolean := False); |
procedure On_Cancelled
| ( | Self | : not null access Gcancellable_Record; |
| Call | : Cb_GObject_Void; | |
| Slot | : not null access Glib.Object.GObject_Record'Class; | |
| After | : Boolean := False); |