⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gdk-x-window-system-interaction.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"><title>X Window System Interaction</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="GDK Reference Manual"><link rel="up" href="reference.html" title="API Reference"><link rel="prev" href="gdk-Cairo-Interaction.html" title="Cairo Interaction"><link rel="next" href="ix01.html" title="Index"><meta name="generator" content="GTK-Doc V1.9 (XML mode)"><link rel="stylesheet" href="style.css" type="text/css"><link rel="reference" href="reference.html" title="API Reference"><link rel="index" href="ix01.html" title="Index"><link rel="index" href="ix02.html" title="Index of deprecated symbols"><link rel="index" href="ix03.html" title="Index of new symbols in 2.2"><link rel="index" href="ix04.html" title="Index of new symbols in 2.4"><link rel="index" href="ix05.html" title="Index of new symbols in 2.6"><link rel="index" href="ix06.html" title="Index of new symbols in 2.8"><link rel="index" href="ix07.html" title="Index of new symbols in 2.10"><link rel="index" href="ix08.html" title="Index of new symbols in 2.12"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="gdk-Cairo-Interaction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="reference.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">GDK Reference Manual</th><td><a accesskey="n" href="ix01.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr><tr><td colspan="5" class="shortcuts"><nobr><a href="#id3302571" class="shortcut">Top</a>                  &#160;|&#160;                  <a href="#id3304385" class="shortcut">Description</a></nobr></td></tr></table><div class="refentry" lang="en"><a name="gdk-X-Window-System-Interaction"></a><div class="titlepage"></div><div class="refnamediv"><table width="100%"><tr><td valign="top"><h2><a name="id3302571"></a><span class="refentrytitle">X Window System Interaction</span></h2><p>X Window System Interaction &#8212; X backend-specific functions</p></td><td valign="top" align="right"></td></tr></table></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">#include &lt;gdk/gdkx.h&gt;#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-ROOT-WINDOW:CAPS">GDK_ROOT_WINDOW</a>                     ()#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-ROOT-PARENT:CAPS">GDK_ROOT_PARENT</a>                     ()#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DISPLAY:CAPS">GDK_DISPLAY</a>                         ()#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-WINDOW-XDISPLAY:CAPS">GDK_WINDOW_XDISPLAY</a>                 (win)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-WINDOW-XID:CAPS">GDK_WINDOW_XID</a>                      (win)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-PIXMAP-XDISPLAY:CAPS">GDK_PIXMAP_XDISPLAY</a>                 (pix)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-PIXMAP-XID:CAPS">GDK_PIXMAP_XID</a>                      (pix)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DISPLAY-XDISPLAY:CAPS">GDK_DISPLAY_XDISPLAY</a>                (display)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DRAWABLE-XDISPLAY:CAPS">GDK_DRAWABLE_XDISPLAY</a>               (win)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-DRAWABLE-XID:CAPS">GDK_DRAWABLE_XID</a>                    (win)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-IMAGE-XDISPLAY:CAPS">GDK_IMAGE_XDISPLAY</a>                  (image)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-IMAGE-XIMAGE:CAPS">GDK_IMAGE_XIMAGE</a>                    (image)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-GC-XDISPLAY:CAPS">GDK_GC_XDISPLAY</a>                     (gc)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-COLORMAP-XDISPLAY:CAPS">GDK_COLORMAP_XDISPLAY</a>               (cmap)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-COLORMAP-XCOLORMAP:CAPS">GDK_COLORMAP_XCOLORMAP</a>              (cmap)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-SCREEN-XDISPLAY:CAPS">GDK_SCREEN_XDISPLAY</a>                 (screen)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-SCREEN-XNUMBER:CAPS">GDK_SCREEN_XNUMBER</a>                  (screen)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-SCREEN-XSCREEN:CAPS">GDK_SCREEN_XSCREEN</a>                  (screen)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-VISUAL-XVISUAL:CAPS">GDK_VISUAL_XVISUAL</a>                  (vis)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-FONT-XDISPLAY:CAPS">GDK_FONT_XDISPLAY</a>                   (font)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-FONT-XFONT:CAPS">GDK_FONT_XFONT</a>                      (font)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-CURSOR-XCURSOR:CAPS">GDK_CURSOR_XCURSOR</a>                  (cursor)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-CURSOR-XDISPLAY:CAPS">GDK_CURSOR_XDISPLAY</a>                 (cursor)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-GC-XGC:CAPS">GDK_GC_XGC</a>                          (gc)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-GC-GET-XGC:CAPS">GDK_GC_GET_XGC</a>                      (gc)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#GDK-WINDOW-XWINDOW:CAPS">GDK_WINDOW_XWINDOW</a><a class="link" href="gdk-Visuals.html#GdkVisual">GdkVisual</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdkx-visual-get">gdkx_visual_get</a>                     (VisualID xvisualid);<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap">GdkColormap</a>*        <a class="link" href="gdk-X-Window-System-Interaction.html#gdkx-colormap-get">gdkx_colormap_get</a>                   (Colormap xcolormap);<a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-foreign-new">gdk_pixmap_foreign_new</a>              (<a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid);<a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-foreign-new-for-display">gdk_pixmap_foreign_new_for_display</a>  (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         <a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid);<a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-foreign-new-for-screen">gdk_pixmap_foreign_new_for_screen</a>   (<a class="link" href="GdkScreen.html" title="GdkScreen">GdkScreen</a> *screen,                                                         <a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a> width,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a> height,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a> depth);<a class="link" href="gdk-Windows.html#GdkWindow">GdkWindow</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-foreign-new">gdk_window_foreign_new</a>              (<a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid);<a class="link" href="gdk-Windows.html#GdkWindow">GdkWindow</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-foreign-new-for-display">gdk_window_foreign_new_for_display</a>  (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         <a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid);<ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a>            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-xid-table-lookup">gdk_xid_table_lookup</a>                (XID xid);<ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a>            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-xid-table-lookup-for-display">gdk_xid_table_lookup_for_display</a>    (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         XID xid);<a class="link" href="gdk-Windows.html#GdkWindow">GdkWindow</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-lookup">gdk_window_lookup</a>                   (<a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid);<a class="link" href="gdk-Windows.html#GdkWindow">GdkWindow</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-window-lookup-for-display">gdk_window_lookup_for_display</a>       (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         <a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid);<a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-lookup">gdk_pixmap_lookup</a>                   (<a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid);<a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-pixmap-lookup-for-display">gdk_pixmap_lookup_for_display</a>       (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         <a class="link" href="gdk-Event-Structures.html#GdkNativeWindow">GdkNativeWindow</a> anid);#define             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-font-lookup">gdk_font_lookup</a>                     (xid)#define             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-font-lookup-for-display">gdk_font_lookup_for_display</a>         (display, xid)<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a>*         <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-lookup-xdisplay">gdk_x11_lookup_xdisplay</a>             (Display *xdisplay);<ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32">guint32</a>             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-server-time">gdk_x11_get_server_time</a>             (<a class="link" href="gdk-Windows.html#GdkWindow">GdkWindow</a> *window);<ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-net-wm-supports">gdk_net_wm_supports</a>                 (<a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom">GdkAtom</a> property);<ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint">gdk_x11_screen_supports_net_wm_hint</a> (<a class="link" href="GdkScreen.html" title="GdkScreen">GdkScreen</a> *screen,                                                         <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom">GdkAtom</a> property);const char*         <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-window-manager-name">gdk_x11_screen_get_window_manager_name</a>                                                        (<a class="link" href="GdkScreen.html" title="GdkScreen">GdkScreen</a> *screen);<a class="link" href="gdk-Visuals.html#GdkVisual">GdkVisual</a>*          <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-lookup-visual">gdk_x11_screen_lookup_visual</a>        (<a class="link" href="GdkScreen.html" title="GdkScreen">GdkScreen</a> *screen,                                                         VisualID xvisualid);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-set-user-time">gdk_x11_window_set_user_time</a>        (<a class="link" href="gdk-Windows.html#GdkWindow">GdkWindow</a> *window,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32">guint32</a> timestamp);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-window-move-to-current-desktop">gdk_x11_window_move_to_current_desktop</a>                                                        (<a class="link" href="gdk-Windows.html#GdkWindow">GdkWindow</a> *window);<ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32">guint32</a>             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-get-user-time">gdk_x11_display_get_user_time</a>       (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display);<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap">GdkColormap</a>*        <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-colormap-foreign-new">gdk_x11_colormap_foreign_new</a>        (<a class="link" href="gdk-Visuals.html#GdkVisual">GdkVisual</a> *visual,                                                         Colormap xcolormap);Colormap            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-colormap-get-xcolormap">gdk_x11_colormap_get_xcolormap</a>      (<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap">GdkColormap</a> *colormap);Display*            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-colormap-get-xdisplay">gdk_x11_colormap_get_xdisplay</a>       (<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap">GdkColormap</a> *colormap);Cursor              <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-cursor-get-xcursor">gdk_x11_cursor_get_xcursor</a>          (<a class="link" href="gdk-Cursors.html#GdkCursor">GdkCursor</a> *cursor);Display*            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-cursor-get-xdisplay">gdk_x11_cursor_get_xdisplay</a>         (<a class="link" href="gdk-Cursors.html#GdkCursor">GdkCursor</a> *cursor);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-broadcast-startup-message">gdk_x11_display_broadcast_startup_message</a>                                                        (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         const char *message_type,                                                         ...);const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a>*        <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-get-startup-notification-id">gdk_x11_display_get_startup_notification_id</a>                                                        (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display);Display*            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-get-xdisplay">gdk_x11_display_get_xdisplay</a>        (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-grab">gdk_x11_display_grab</a>                (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-ungrab">gdk_x11_display_ungrab</a>              (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-display-set-cursor-theme">gdk_x11_display_set_cursor_theme</a>    (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a> *theme,                                                         const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a> size);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-register-standard-event-type">gdk_x11_register_standard_event_type</a>                                                        (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a> event_base,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a> n_events);Display*            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-drawable-get-xdisplay">gdk_x11_drawable_get_xdisplay</a>       (<a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable">GdkDrawable</a> *drawable);XID                 <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-drawable-get-xid">gdk_x11_drawable_get_xid</a>            (<a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable">GdkDrawable</a> *drawable);const char*         <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-font-get-name">gdk_x11_font_get_name</a>               (<a class="link" href="gdk-Fonts.html#GdkFont">GdkFont</a> *font);Display*            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-font-get-xdisplay">gdk_x11_font_get_xdisplay</a>           (<a class="link" href="gdk-Fonts.html#GdkFont">GdkFont</a> *font);<ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a>            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-font-get-xfont">gdk_x11_font_get_xfont</a>              (<a class="link" href="gdk-Fonts.html#GdkFont">GdkFont</a> *font);Display*            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-gc-get-xdisplay">gdk_x11_gc_get_xdisplay</a>             (<a class="link" href="gdk-Graphics-Contexts.html#GdkGC">GdkGC</a> *gc);GC                  <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-gc-get-xgc">gdk_x11_gc_get_xgc</a>                  (<a class="link" href="gdk-Graphics-Contexts.html#GdkGC">GdkGC</a> *gc);Window              <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-default-root-xwindow">gdk_x11_get_default_root_xwindow</a>    (void);<ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a>                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-default-screen">gdk_x11_get_default_screen</a>          (void);Display*            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-default-xdisplay">gdk_x11_get_default_xdisplay</a>        (void);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-grab-server">gdk_x11_grab_server</a>                 (void);Display*            <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-image-get-xdisplay">gdk_x11_image_get_xdisplay</a>          (<a class="link" href="gdk-Images.html#GdkImage">GdkImage</a> *image);XImage*             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-image-get-ximage">gdk_x11_image_get_ximage</a>            (<a class="link" href="gdk-Images.html#GdkImage">GdkImage</a> *image);int                 <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-screen-number">gdk_x11_screen_get_screen_number</a>    (<a class="link" href="GdkScreen.html" title="GdkScreen">GdkScreen</a> *screen);Screen*             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-xscreen">gdk_x11_screen_get_xscreen</a>          (<a class="link" href="GdkScreen.html" title="GdkScreen">GdkScreen</a> *screen);void                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-ungrab-server">gdk_x11_ungrab_server</a>               (void);Visual*             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-visual-get-xvisual">gdk_x11_visual_get_xvisual</a>          (<a class="link" href="gdk-Visuals.html#GdkVisual">GdkVisual</a> *visual);Atom                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-atom-to-xatom">gdk_x11_atom_to_xatom</a>               (<a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom">GdkAtom</a> atom);Atom                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-atom-to-xatom-for-display">gdk_x11_atom_to_xatom_for_display</a>   (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         <a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom">GdkAtom</a> atom);<a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom">GdkAtom</a>             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-xatom-to-atom">gdk_x11_xatom_to_atom</a>               (Atom xatom);<a class="link" href="gdk-Properties-and-Atoms.html#GdkAtom">GdkAtom</a>             <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-xatom-to-atom-for-display">gdk_x11_xatom_to_atom_for_display</a>   (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         Atom xatom);Atom                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-xatom-by-name">gdk_x11_get_xatom_by_name</a>           (const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a> *atom_name);Atom                <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-xatom-by-name-for-display">gdk_x11_get_xatom_by_name_for_display</a>                                                        (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a> *atom_name);const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a>*        <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-xatom-name">gdk_x11_get_xatom_name</a>              (Atom xatom);const <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar">gchar</a>*        <a class="link" href="gdk-X-Window-System-Interaction.html#gdk-x11-get-xatom-name-for-display">gdk_x11_get_xatom_name_for_display</a>  (<a class="link" href="GdkDisplay.html" title="GdkDisplay">GdkDisplay</a> *display,                                                         Atom xatom);</pre></div><div class="refsect1" lang="en"><a name="id3304385"></a><h2>Description</h2><p></p></div><div class="refsect1" lang="en"><a name="id3304399"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id3304410"></a><h3><a name="GDK-ROOT-WINDOW:CAPS"></a>GDK_ROOT_WINDOW()</h3><a class="indexterm" name="id3304423"></a><pre class="programlisting">#define GDK_ROOT_WINDOW()             (gdk_x11_get_default_root_xwindow ())</pre><p>Obtains the Xlib window id of the root window of the current screen. </p></div><hr><div class="refsect2" lang="en"><a name="id3304440"></a><h3><a name="GDK-ROOT-PARENT:CAPS"></a>GDK_ROOT_PARENT()</h3><a class="indexterm" name="id3304456"></a><pre class="programlisting">#define GDK_ROOT_PARENT()             (gdk_get_default_root_window ())</pre><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p><code class="literal">GDK_ROOT_PARENT</code> is deprecated and should not be used in newly-written code.</p></div><p>Obtains the Xlib window id of the root window of the default screen.</p></div><hr><div class="refsect2" lang="en"><a name="id3304486"></a><h3><a name="GDK-DISPLAY:CAPS"></a>GDK_DISPLAY()</h3><a class="indexterm" name="id3304498"></a><pre class="programlisting">#define GDK_DISPLAY()                 gdk_display</pre><p>The current display.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td>an Xlib <span class="type">Display*</span>.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -