From b3f2bac38138afd5658d129dc237fbd0557c25d1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 13 Oct 2001 18:55:01 +0000 Subject: [PATCH] Update. * gdk/tmpl/x_interaction.sgml: Update. --- docs/reference/ChangeLog | 4 + docs/reference/gdk/tmpl/x_interaction.sgml | 204 ++++++++++++--------- 2 files changed, 118 insertions(+), 90 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 75331e7813..a33a344289 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2001-10-13 Matthias Clasen + + * gdk/tmpl/x_interaction.sgml: Update. + 2001-10-10 Matthias Clasen * gtk/gtk-sections.txt, gtk/tmpl/gtkspinbutton.sgml, diff --git a/docs/reference/gdk/tmpl/x_interaction.sgml b/docs/reference/gdk/tmpl/x_interaction.sgml index dd9425fcbb..0a484e557c 100644 --- a/docs/reference/gdk/tmpl/x_interaction.sgml +++ b/docs/reference/gdk/tmpl/x_interaction.sgml @@ -16,196 +16,214 @@ X Window System Interaction - +Obtains the Xlib window id of the root window of the current screen. - - +Obtains the Xlib window id of the root window of the default screen. - - +The current display. +@Returns: an Xlib Display*. - +Returns the display of a #GdkWindow. -@win: +@win: a #GdkWindow. +@Returns: an Xlib Display*. - +Returns the X window belonging to a #GdkWindow. -@win: +@win: a #GdkWindow. +@Returns: the Xlib Window of @win. - +Returns the display of a #GdkPixmap. -@win: +@win: a #GdkPixmap. +@Returns: an Xlib Display*. - +Returns the X pixmap belonging to a #GdkPixmap. -@win: +@win: a #GdkPixmap. +@Returns: the Xlib XPixmap of @win. - +Returns the display of a #GdkDrawable. -@win: +@win: a #GdkDrawable. +@Returns: an Xlib Display*. - +Returns the X resource (window or pixmap) belonging to a #GdkDrawable. -@win: +@win: a #GdkDrawable. +@Returns: the ID of @win's X resource. - +Returns the display of a #GdkImage. -@image: +@image: a #GdkImage. +@Returns: an Xlib Display*. - +Returns the X image belonging to a #GdkImage. -@image: +@image: a #GdkImage. +@Returns: an XImage*. - +Returns the display of a #GdkGC. -@gc: +@gc: a #GdkGC. +@Returns: an Xlib Display*. - +Returns the display of a #GdkColormap. -@cmap: +@cmap: a #GdkColormap. +@Returns: an Xlib Display*. - +Returns the X colormap belonging to a #GdkColormap. -@cmap: +@cmap: a #GdkColormap. +@Returns: an Xlib Colormap. - +Returns the X visual belonging to a #GdkVisual. -@vis: +@vis: a #GdkVisual. +@Returns: an Xlib Visual*. - +Returns the display of a #GdkFont. -@font: +@font: a #GdkFont. +@Returns: an Xlib Display*. - +Returns the X font belonging to a #GdkFont. -@font: +@font: a #GdkFont. +@Returns: an Xlib XFontStruct* or an XFontSet. - +Returns the X cursor belonging to a #GdkCursor. -@cursor: - -@win: +@cursor: a #GdkCursor. +@Returns: an Xlib Cursor - +Returns the display of a #GdkCursor. -@cursor: - -@win: +@cursor: a #GdkCursor. +@Returns: an Xlib Display*. - +Returns the X GC of a #GdkGC. + +Note that the clip origin, clip region and tile/stipple origin fields of the +returned GC may not be in sync with @gc. If you need that, +use GDK_GC_GET_XGC(). + -@gc: +@gc: a #GdkGC. +@Returns: an Xlib GC. - +Returns the X GC of a #GdkGC. -@gc: +@gc: a #GdkGC. +@Returns: an Xlib GC. - +Another name for GDK_DRAWABLE_XID(). - +Returns a #GdkVisual corresponding to a X visual. -@xvisualid: -@Returns: +@xvisualid: a X visual id. +@Returns: the #GdkVisual. - +Returns a #GdkColormap corresponding to a X colormap. -@xcolormap: -@Returns: +@xcolormap: a X colormap. +@Returns: the #GdkColormap. @@ -228,11 +246,12 @@ X Window System Interaction - +Returns the Gdk object associated with the given X id. -@xid: -@Returns: +@xid: an X id. +@Returns: the associated Gdk object, which may be a #GdkPixmap, +a #GdkWindow or a #GdkFont. @@ -250,12 +269,13 @@ Obtains the #GdkPixmap for the given Xlib pixmap ID, or %NULL if no #GdkPixmap h been created for @xid. -@xid: Xlib window ID +@xid: Xlib pixmap ID - +Obtains the #GdkFont for the given Xlib pixmap ID, or %NULL if no #GdkPixmap has +been created for @xid. @xid: @@ -281,56 +301,56 @@ been created for @xid. - +Returns the X colormap belonging to a #GdkColormap. -@colormap: -@Returns: +@colormap: a #GdkColormap. +@Returns: an Xlib Colormap. - +Returns the display of a #GdkColormap. -@colormap: -@Returns: +@colormap: a #GdkColormap. +@Returns: an Xlib Display*. - +Returns the X cursor belonging to a #GdkCursor. -@cursor: -@Returns: +@cursor: a #GdkCursor. +@Retursn: an Xlib Cursor - +Returns the display of a #GdkCursor. -@cursor: -@Returns: +@cursor: a #GdkCursor. +@Returns: an Xlib Display*. - +Returns the display of a #GdkDrawable. -@drawable: -@Returns: +@drawable: a #GdkDrawable. +@Returns: an Xlib Display*. - +Returns the X resource (window or pixmap) belonging to a #GdkDrawable. -@drawable: -@Returns: +@drawable: a #GdkDrawable. +@Returns: the ID of @win's X resource. @@ -344,20 +364,20 @@ been created for @xid. - +Returns the display of a #GdkFont. -@font: -@Returns: +@font: a #GdkFont. +@Returns: an Xlib Display*. - +Returns the X font belonging to a #GdkFont. -@font: -@Returns: +@font: a #GdkFont. +@Returns: an Xlib XFontStruct* or an XFontSet. @@ -404,9 +424,12 @@ been created for @xid. - +Call XGrabServer() on the default display. +To ungrab the server again, use gdk_x11_ungrab_server(). + + +gdk_x11_grab_server()/gdk_x11_ungrab_server() calls can be nested. - @@ -420,26 +443,27 @@ been created for @xid. - +Returns the X image belonging to a #GdkImage. -@image: -@Returns: +@image: a #GdkImage. +@Returns: an XImage*. - +Ungrab the default display after it has been grabbed with +gdk_x11_grab_server(). - +Returns the X visual belonging to a #GdkVisual. -@visual: -@Returns: +@visual: a #GdkVisual. +@Returns: an Xlib Visual*.