X Window System Interaction X backend-specific functions The functions in this section are specific to the GDK X11 backend. To use them, you need to include the <gdk/gdkx.h> header and use the X11-specific pkg-config files to build your application (either gdk-x11-3.0 or gtk+-x11-3.0. To make your code compile with other GDK backends, guard backend-specific calls by an ifdef as follows: #ifdef GDK_WINDOWING_X11 /* X11-specific calls here... */ #endif Obtains the Xlib window id of the root window of the current screen. Returns the display of a #GdkWindow. @win: a #GdkWindow. @Returns: an Xlib Display*. Returns the X window belonging to a #GdkWindow. @win: a #GdkWindow. @Returns: the Xlib Window of @win. Returns the display of a #GdkDisplay. @display: a #GdkDisplay. Returns the display of a #GdkDrawable. @win: a #GdkDrawable. @Returns: an Xlib Display*. Returns the X resource (window or pixmap) belonging to a #GdkDrawable. @win: a #GdkDrawable. @Returns: the ID of @win's X resource. Returns the display of a #GdkScreen. @screen: a #GdkScreen. @Returns: an Xlib Display*. Returns the index of a #GdkScreen. @screen: a #GdkScreen @Returns: the position of @screen among the screens of its display. Returns the screen of a #GdkScreen. @screen: a #GdkScreen @Returns: an Xlib Screen*. Returns the X cursor belonging to a #GdkCursor. @cursor: a #GdkCursor. @Returns: an Xlib Cursor. Returns the display of a #GdkCursor. @cursor: a #GdkCursor. @Returns: an Xlib Display*. Another name for GDK_DRAWABLE_XID(). @xvisualid: @Returns: @anid: @Returns: @display: @anid: @Returns: @xid: @Returns: @display: @xid: @Returns: @anid: @Returns: @display: @anid: @Returns: @xdisplay: @Returns: @window: @Returns: @property: @Returns: @screen: @property: @Returns: @screen: @Returns: @screen: @monitor_num: @Returns: @screen: @xvisualid: @Returns: @window: @timestamp: @window: @display: @Returns: @cursor: @Returns: @cursor: @Returns: @display: @message_type: @Varargs: @display: @Returns: @display: @Returns: @display: @display: @display: @display: @display: @theme: @size: @display: @event_base: @n_events: @drawable: @Returns: @drawable: @Returns: @void: @Returns: @void: @Returns: @void: @Returns: @void: @screen: @Returns: @screen: @Returns: @void: @visual: @Returns: @atom: @Returns: @display: @atom: @Returns: @xatom: @Returns: @display: @xatom: @Returns: @atom_name: @Returns: @display: @atom_name: @Returns: @xatom: @Returns: @display: @xatom: @Returns: