Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gcancellable.h File Reference
#include <gio/giotypes.h>

Go to the source code of this file.

Data Structures

struct  _GCancellable
 
struct  _GCancellableClass
 

Macros

#define G_TYPE_CANCELLABLE   (g_cancellable_get_type ())
 
#define G_CANCELLABLE(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_CANCELLABLE, GCancellable))
 
#define G_CANCELLABLE_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_CANCELLABLE, GCancellableClass))
 
#define G_IS_CANCELLABLE(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_CANCELLABLE))
 
#define G_IS_CANCELLABLE_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_CANCELLABLE))
 
#define G_CANCELLABLE_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_CANCELLABLE, GCancellableClass))
 

Typedefs

typedef struct _GCancellableClass GCancellableClass
 
typedef struct _GCancellablePrivate GCancellablePrivate
 

Functions

GIO_AVAILABLE_IN_ALL GType g_cancellable_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_ALL GCancellableg_cancellable_new (void)
 
GIO_AVAILABLE_IN_ALL gboolean g_cancellable_is_cancelled (GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL gboolean g_cancellable_set_error_if_cancelled (GCancellable *cancellable, GError **error)
 
GIO_AVAILABLE_IN_ALL int g_cancellable_get_fd (GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL gboolean g_cancellable_make_pollfd (GCancellable *cancellable, GPollFD *pollfd)
 
GIO_AVAILABLE_IN_ALL void g_cancellable_release_fd (GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL GSourceg_cancellable_source_new (GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL GCancellableg_cancellable_get_current (void)
 
GIO_AVAILABLE_IN_ALL void g_cancellable_push_current (GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL void g_cancellable_pop_current (GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL void g_cancellable_reset (GCancellable *cancellable)
 
GIO_AVAILABLE_IN_ALL gulong g_cancellable_connect (GCancellable *cancellable, GCallback callback, gpointer data, GDestroyNotify data_destroy_func)
 
GIO_AVAILABLE_IN_ALL void g_cancellable_disconnect (GCancellable *cancellable, gulong handler_id)
 
GIO_AVAILABLE_IN_ALL void g_cancellable_cancel (GCancellable *cancellable)
 

Macro Definition Documentation

◆ G_CANCELLABLE

#define G_CANCELLABLE ( o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_CANCELLABLE, GCancellable))

Definition at line 35 of file gcancellable.h.

◆ G_CANCELLABLE_CLASS

#define G_CANCELLABLE_CLASS ( k)    (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_CANCELLABLE, GCancellableClass))

Definition at line 36 of file gcancellable.h.

◆ G_CANCELLABLE_GET_CLASS

#define G_CANCELLABLE_GET_CLASS ( o)    (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_CANCELLABLE, GCancellableClass))

Definition at line 39 of file gcancellable.h.

◆ G_IS_CANCELLABLE

#define G_IS_CANCELLABLE ( o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_CANCELLABLE))

Definition at line 37 of file gcancellable.h.

◆ G_IS_CANCELLABLE_CLASS

#define G_IS_CANCELLABLE_CLASS ( k)    (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_CANCELLABLE))

Definition at line 38 of file gcancellable.h.

◆ G_TYPE_CANCELLABLE

#define G_TYPE_CANCELLABLE   (g_cancellable_get_type ())

Definition at line 34 of file gcancellable.h.

Typedef Documentation

◆ GCancellableClass

Definition at line 41 of file gcancellable.h.

◆ GCancellablePrivate

typedef struct _GCancellablePrivate GCancellablePrivate

Definition at line 42 of file gcancellable.h.

Function Documentation

◆ g_cancellable_cancel()

GIO_AVAILABLE_IN_ALL void g_cancellable_cancel ( GCancellable * cancellable)

◆ g_cancellable_connect()

GIO_AVAILABLE_IN_ALL gulong g_cancellable_connect ( GCancellable * cancellable,
GCallback callback,
gpointer data,
GDestroyNotify data_destroy_func )

◆ g_cancellable_disconnect()

GIO_AVAILABLE_IN_ALL void g_cancellable_disconnect ( GCancellable * cancellable,
gulong handler_id )

◆ g_cancellable_get_current()

GIO_AVAILABLE_IN_ALL GCancellable * g_cancellable_get_current ( void )

◆ g_cancellable_get_fd()

GIO_AVAILABLE_IN_ALL int g_cancellable_get_fd ( GCancellable * cancellable)

◆ g_cancellable_get_type()

GIO_AVAILABLE_IN_ALL GType g_cancellable_get_type ( void )

◆ g_cancellable_is_cancelled()

GIO_AVAILABLE_IN_ALL gboolean g_cancellable_is_cancelled ( GCancellable * cancellable)

◆ g_cancellable_make_pollfd()

GIO_AVAILABLE_IN_ALL gboolean g_cancellable_make_pollfd ( GCancellable * cancellable,
GPollFD * pollfd )

◆ g_cancellable_new()

GIO_AVAILABLE_IN_ALL GCancellable * g_cancellable_new ( void )

◆ g_cancellable_pop_current()

GIO_AVAILABLE_IN_ALL void g_cancellable_pop_current ( GCancellable * cancellable)

◆ g_cancellable_push_current()

GIO_AVAILABLE_IN_ALL void g_cancellable_push_current ( GCancellable * cancellable)

◆ g_cancellable_release_fd()

GIO_AVAILABLE_IN_ALL void g_cancellable_release_fd ( GCancellable * cancellable)

◆ g_cancellable_reset()

GIO_AVAILABLE_IN_ALL void g_cancellable_reset ( GCancellable * cancellable)

◆ g_cancellable_set_error_if_cancelled()

GIO_AVAILABLE_IN_ALL gboolean g_cancellable_set_error_if_cancelled ( GCancellable * cancellable,
GError ** error )

◆ g_cancellable_source_new()

GIO_AVAILABLE_IN_ALL GSource * g_cancellable_source_new ( GCancellable * cancellable)