Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdktypes.h File Reference
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <cairo.h>
#include <pango/pango.h>
#include <gdk/gdkconfig.h>
#include <gdk/gdkenums.h>
#include <gdk/version/gdkversionmacros.h>

Go to the source code of this file.

Data Structures

struct  _GdkKeymapKey
 

Macros

#define GDK_CURRENT_TIME   0L
 
#define GDK_DECLARE_INTERNAL_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName)
 

Typedefs

typedef cairo_rectangle_int_t GdkRectangle
 
typedef struct _GdkRGBA GdkRGBA
 
typedef struct _GdkCicpParams GdkCicpParams
 
typedef struct _GdkColorState GdkColorState
 
typedef struct _GdkContentFormats GdkContentFormats
 
typedef struct _GdkContentProvider GdkContentProvider
 
typedef struct _GdkCursor GdkCursor
 
typedef struct _GdkTexture GdkTexture
 
typedef struct _GdkTextureDownloader GdkTextureDownloader
 
typedef struct _GdkDevice GdkDevice
 
typedef struct _GdkDrag GdkDrag
 
typedef struct _GdkDrop GdkDrop
 
typedef struct _GdkClipboard GdkClipboard
 
typedef struct _GdkDisplayManager GdkDisplayManager
 
typedef struct _GdkDisplay GdkDisplay
 
typedef struct _GdkSurface GdkSurface
 
typedef struct _GdkAppLaunchContext GdkAppLaunchContext
 
typedef struct _GdkSeat GdkSeat
 
typedef struct _GdkSnapshot GdkSnapshot
 
typedef struct _GdkDrawContext GdkDrawContext
 
typedef struct _GdkCairoContext GdkCairoContext
 
typedef struct _GdkGLContext GdkGLContext
 
typedef struct _GdkVulkanContext GdkVulkanContext
 
typedef struct _GdkDmabufFormats GdkDmabufFormats
 
typedef struct _GdkDmabufTexture GdkDmabufTexture
 
typedef struct _GdkKeymapKey GdkKeymapKey
 

Macro Definition Documentation

◆ GDK_CURRENT_TIME

#define GDK_CURRENT_TIME   0L

GDK_CURRENT_TIME:

Represents the current time, and can be used anywhere a time is expected.

Definition at line 55 of file gdktypes.h.

◆ GDK_DECLARE_INTERNAL_TYPE

#define GDK_DECLARE_INTERNAL_TYPE ( ModuleObjName,
module_obj_name,
MODULE,
OBJ_NAME,
ParentName )
Value:
GType module_obj_name##_get_type (void); \
G_GNUC_BEGIN_IGNORE_DEPRECATIONS \
typedef struct _##ModuleObjName ModuleObjName; \
typedef struct _##ModuleObjName##Class ModuleObjName##Class; \
\
_GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName) \
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ModuleObjName##Class, g_type_class_unref) \
\
G_GNUC_UNUSED static inline ModuleObjName * MODULE##_##OBJ_NAME (gpointer ptr) { \
return G_TYPE_CHECK_INSTANCE_CAST (ptr, module_obj_name##_get_type (), ModuleObjName); } \
G_GNUC_UNUSED static inline ModuleObjName##Class * MODULE##_##OBJ_NAME##_CLASS (gpointer ptr) { \
return G_TYPE_CHECK_CLASS_CAST (ptr, module_obj_name##_get_type (), ModuleObjName##Class); } \
G_GNUC_UNUSED static inline gboolean MODULE##_IS_##OBJ_NAME (gpointer ptr) { \
return G_TYPE_CHECK_INSTANCE_TYPE (ptr, module_obj_name##_get_type ()); } \
G_GNUC_UNUSED static inline gboolean MODULE##_IS_##OBJ_NAME##_CLASS (gpointer ptr) { \
return G_TYPE_CHECK_CLASS_TYPE (ptr, module_obj_name##_get_type ()); } \
G_GNUC_UNUSED static inline ModuleObjName##Class * MODULE##_##OBJ_NAME##_GET_CLASS (gpointer ptr) { \
return G_TYPE_INSTANCE_GET_CLASS (ptr, module_obj_name##_get_type (), ModuleObjName##Class); } \
#define _(String)
Definition gi18n-lib.h:32
#define G_GNUC_END_IGNORE_DEPRECATIONS
Definition gmacros.h:772
#define G_GNUC_UNUSED
Definition gmacros.h:644
GOBJECT_AVAILABLE_IN_ALL void g_type_class_unref(gpointer g_class)
#define G_TYPE_CHECK_CLASS_TYPE(g_class, g_type)
Definition gtype.h:610
gsize GType
Definition gtype.h:427
#define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type)
Definition gtype.h:541
#define G_TYPE_CHECK_CLASS_CAST(g_class, g_type, c_type)
Definition gtype.h:597
#define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type)
Definition gtype.h:528
#define G_TYPE_INSTANCE_GET_CLASS(instance, g_type, c_type)
Definition gtype.h:571
gint gboolean
Definition gtypes.h:56
void * gpointer
Definition gtypes.h:109

Definition at line 122 of file gdktypes.h.

122#define GDK_DECLARE_INTERNAL_TYPE(ModuleObjName, module_obj_name, MODULE, OBJ_NAME, ParentName) \
123 GType module_obj_name##_get_type (void); \
124 G_GNUC_BEGIN_IGNORE_DEPRECATIONS \
125 typedef struct _##ModuleObjName ModuleObjName; \
126 typedef struct _##ModuleObjName##Class ModuleObjName##Class; \
127 \
128 _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, ParentName) \
129 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ModuleObjName##Class, g_type_class_unref) \
130 \
131 G_GNUC_UNUSED static inline ModuleObjName * MODULE##_##OBJ_NAME (gpointer ptr) { \
132 return G_TYPE_CHECK_INSTANCE_CAST (ptr, module_obj_name##_get_type (), ModuleObjName); } \
133 G_GNUC_UNUSED static inline ModuleObjName##Class * MODULE##_##OBJ_NAME##_CLASS (gpointer ptr) { \
134 return G_TYPE_CHECK_CLASS_CAST (ptr, module_obj_name##_get_type (), ModuleObjName##Class); } \
135 G_GNUC_UNUSED static inline gboolean MODULE##_IS_##OBJ_NAME (gpointer ptr) { \
136 return G_TYPE_CHECK_INSTANCE_TYPE (ptr, module_obj_name##_get_type ()); } \
137 G_GNUC_UNUSED static inline gboolean MODULE##_IS_##OBJ_NAME##_CLASS (gpointer ptr) { \
138 return G_TYPE_CHECK_CLASS_TYPE (ptr, module_obj_name##_get_type ()); } \
139 G_GNUC_UNUSED static inline ModuleObjName##Class * MODULE##_##OBJ_NAME##_GET_CLASS (gpointer ptr) { \
140 return G_TYPE_INSTANCE_GET_CLASS (ptr, module_obj_name##_get_type (), ModuleObjName##Class); } \
141 G_GNUC_END_IGNORE_DEPRECATIONS

Typedef Documentation

◆ GdkAppLaunchContext

typedef struct _GdkAppLaunchContext GdkAppLaunchContext

Definition at line 92 of file gdktypes.h.

◆ GdkCairoContext

typedef struct _GdkCairoContext GdkCairoContext

Definition at line 97 of file gdktypes.h.

◆ GdkCicpParams

typedef struct _GdkCicpParams GdkCicpParams

Definition at line 77 of file gdktypes.h.

◆ GdkClipboard

typedef struct _GdkClipboard GdkClipboard

Definition at line 88 of file gdktypes.h.

◆ GdkColorState

typedef struct _GdkColorState GdkColorState

Definition at line 78 of file gdktypes.h.

◆ GdkContentFormats

typedef struct _GdkContentFormats GdkContentFormats

Definition at line 79 of file gdktypes.h.

◆ GdkContentProvider

Definition at line 80 of file gdktypes.h.

◆ GdkCursor

typedef struct _GdkCursor GdkCursor

Definition at line 81 of file gdktypes.h.

◆ GdkDevice

typedef struct _GdkDevice GdkDevice

Definition at line 84 of file gdktypes.h.

◆ GdkDisplay

typedef struct _GdkDisplay GdkDisplay

Definition at line 90 of file gdktypes.h.

◆ GdkDisplayManager

typedef struct _GdkDisplayManager GdkDisplayManager

Definition at line 89 of file gdktypes.h.

◆ GdkDmabufFormats

typedef struct _GdkDmabufFormats GdkDmabufFormats

Definition at line 101 of file gdktypes.h.

◆ GdkDmabufTexture

typedef struct _GdkDmabufTexture GdkDmabufTexture

Definition at line 102 of file gdktypes.h.

◆ GdkDrag

typedef struct _GdkDrag GdkDrag

Definition at line 85 of file gdktypes.h.

◆ GdkDrawContext

typedef struct _GdkDrawContext GdkDrawContext

Definition at line 96 of file gdktypes.h.

◆ GdkDrop

typedef struct _GdkDrop GdkDrop

Definition at line 86 of file gdktypes.h.

◆ GdkGLContext

typedef struct _GdkGLContext GdkGLContext

Definition at line 98 of file gdktypes.h.

◆ GdkKeymapKey

typedef struct _GdkKeymapKey GdkKeymapKey

Definition at line 143 of file gdktypes.h.

◆ GdkRectangle

Definition at line 72 of file gdktypes.h.

◆ GdkRGBA

typedef struct _GdkRGBA GdkRGBA

Definition at line 76 of file gdktypes.h.

◆ GdkSeat

typedef struct _GdkSeat GdkSeat

Definition at line 93 of file gdktypes.h.

◆ GdkSnapshot

typedef struct _GdkSnapshot GdkSnapshot

Definition at line 94 of file gdktypes.h.

◆ GdkSurface

typedef struct _GdkSurface GdkSurface

Definition at line 91 of file gdktypes.h.

◆ GdkTexture

typedef struct _GdkTexture GdkTexture

Definition at line 82 of file gdktypes.h.

◆ GdkTextureDownloader

typedef struct _GdkTextureDownloader GdkTextureDownloader

Definition at line 83 of file gdktypes.h.

◆ GdkVulkanContext

typedef struct _GdkVulkanContext GdkVulkanContext

Definition at line 99 of file gdktypes.h.