Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkx11utils.h File Reference
#include <gdk/gdk.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>

Go to the source code of this file.

Macros

#define GDK_XID_TO_POINTER(xid)   GUINT_TO_POINTER(xid)
 
#define GDK_POINTER_TO_XID(pointer)   GPOINTER_TO_UINT(pointer)
 

Macro Definition Documentation

◆ GDK_POINTER_TO_XID

#define GDK_POINTER_TO_XID ( pointer)    GPOINTER_TO_UINT(pointer)

GDK_POINTER_TO_XID: @pointer: pointer to extract an XID from

Converts a @gpointer back to an XID that was previously converted using GDK_XID_TO_POINTER().

Definition at line 55 of file gdkx11utils.h.

◆ GDK_XID_TO_POINTER

#define GDK_XID_TO_POINTER ( xid)    GUINT_TO_POINTER(xid)

GDK_XID_TO_POINTER: @xid: XID to stuff into the pointer

Converts an XID into a @gpointer. This is useful with data structures that use pointer arguments such as GHashTable. Use GDK_POINTER_TO_XID() to convert the argument back to an XID.

Definition at line 46 of file gdkx11utils.h.