Commit f900039c authored by Matthias Clasen's avatar Matthias Clasen

Gdk API doc updates.

parent f1b8a1ce
2002-10-23 Matthias Clasen <maclas@gmx.de>
* gdk/linux-fb/gdkselection-fb.c (gdk_text_property_to_utf8_list_for_display):
(gdk_utf8_to_compound_text_for_display): Fix doc comments - why
do these overwrite the ones from gdk/x11/*.c ?!
* gdk/gdkdisplaymanager.c
(gdk_display_manager_get_default_display):
Documentation fix.
* gdk/gdkevents.c (gdk_event_new):
* gdk/x11/gdkdnd-x11.c (gdk_drag_find_window_for_screen):
* gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name):
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_grab):
(gdk_x11_display_ungrab): Add documentation.
* gdk/x11/gdkimage-x11.c (gdk_x11_image_get_xdisplay):
(gdk_x11_image_get_ximage):
* gdk/x11/gdkgc-x11.c (gdk_x11_gc_get_xdisplay):
(gdk_x11_gc_get_xgc):
* gdk/x11/gdkfont-x11.c (gdk_x11_font_get_xdisplay):
(gdk_x11_font_get_xfont):
* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xdisplay):
(gdk_x11_drawable_get_xid):
* gdk/x11/gdkcursor-x11.c (gdk_x11_cursor_get_xdisplay):
(gdk_x11_cursor_get_xcursor):
* gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xcolormap):
(gdk_x11_colormap_get_xdisplay):
* gdk/x11/gdkxid.c (gdk_xid_table_lookup):
* gdk/x11/gdkvisual-x11.c (gdkx_visual_get):
(gdk_x11_visual_get_xvisual):
* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server):
(gdk_x11_ungrab_server):
(gdk_x11_get_default_root_xwindow):
(gdk_x11_get_default_xdisplay):
Some docs moved inline.
Tue Oct 22 16:37:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c: Multihead safety fixes, handle
......
2002-10-23 Matthias Clasen <maclas@gmx.de>
* gdk/linux-fb/gdkselection-fb.c (gdk_text_property_to_utf8_list_for_display):
(gdk_utf8_to_compound_text_for_display): Fix doc comments - why
do these overwrite the ones from gdk/x11/*.c ?!
* gdk/gdkdisplaymanager.c
(gdk_display_manager_get_default_display):
Documentation fix.
* gdk/gdkevents.c (gdk_event_new):
* gdk/x11/gdkdnd-x11.c (gdk_drag_find_window_for_screen):
* gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name):
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_grab):
(gdk_x11_display_ungrab): Add documentation.
* gdk/x11/gdkimage-x11.c (gdk_x11_image_get_xdisplay):
(gdk_x11_image_get_ximage):
* gdk/x11/gdkgc-x11.c (gdk_x11_gc_get_xdisplay):
(gdk_x11_gc_get_xgc):
* gdk/x11/gdkfont-x11.c (gdk_x11_font_get_xdisplay):
(gdk_x11_font_get_xfont):
* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xdisplay):
(gdk_x11_drawable_get_xid):
* gdk/x11/gdkcursor-x11.c (gdk_x11_cursor_get_xdisplay):
(gdk_x11_cursor_get_xcursor):
* gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xcolormap):
(gdk_x11_colormap_get_xdisplay):
* gdk/x11/gdkxid.c (gdk_xid_table_lookup):
* gdk/x11/gdkvisual-x11.c (gdkx_visual_get):
(gdk_x11_visual_get_xvisual):
* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server):
(gdk_x11_ungrab_server):
(gdk_x11_get_default_root_xwindow):
(gdk_x11_get_default_xdisplay):
Some docs moved inline.
Tue Oct 22 16:37:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c: Multihead safety fixes, handle
......
2002-10-23 Matthias Clasen <maclas@gmx.de>
* gdk/linux-fb/gdkselection-fb.c (gdk_text_property_to_utf8_list_for_display):
(gdk_utf8_to_compound_text_for_display): Fix doc comments - why
do these overwrite the ones from gdk/x11/*.c ?!
* gdk/gdkdisplaymanager.c
(gdk_display_manager_get_default_display):
Documentation fix.
* gdk/gdkevents.c (gdk_event_new):
* gdk/x11/gdkdnd-x11.c (gdk_drag_find_window_for_screen):
* gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name):
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_grab):
(gdk_x11_display_ungrab): Add documentation.
* gdk/x11/gdkimage-x11.c (gdk_x11_image_get_xdisplay):
(gdk_x11_image_get_ximage):
* gdk/x11/gdkgc-x11.c (gdk_x11_gc_get_xdisplay):
(gdk_x11_gc_get_xgc):
* gdk/x11/gdkfont-x11.c (gdk_x11_font_get_xdisplay):
(gdk_x11_font_get_xfont):
* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xdisplay):
(gdk_x11_drawable_get_xid):
* gdk/x11/gdkcursor-x11.c (gdk_x11_cursor_get_xdisplay):
(gdk_x11_cursor_get_xcursor):
* gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xcolormap):
(gdk_x11_colormap_get_xdisplay):
* gdk/x11/gdkxid.c (gdk_xid_table_lookup):
* gdk/x11/gdkvisual-x11.c (gdkx_visual_get):
(gdk_x11_visual_get_xvisual):
* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server):
(gdk_x11_ungrab_server):
(gdk_x11_get_default_root_xwindow):
(gdk_x11_get_default_xdisplay):
Some docs moved inline.
Tue Oct 22 16:37:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c: Multihead safety fixes, handle
......
2002-10-23 Matthias Clasen <maclas@gmx.de>
* gdk/linux-fb/gdkselection-fb.c (gdk_text_property_to_utf8_list_for_display):
(gdk_utf8_to_compound_text_for_display): Fix doc comments - why
do these overwrite the ones from gdk/x11/*.c ?!
* gdk/gdkdisplaymanager.c
(gdk_display_manager_get_default_display):
Documentation fix.
* gdk/gdkevents.c (gdk_event_new):
* gdk/x11/gdkdnd-x11.c (gdk_drag_find_window_for_screen):
* gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name):
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_grab):
(gdk_x11_display_ungrab): Add documentation.
* gdk/x11/gdkimage-x11.c (gdk_x11_image_get_xdisplay):
(gdk_x11_image_get_ximage):
* gdk/x11/gdkgc-x11.c (gdk_x11_gc_get_xdisplay):
(gdk_x11_gc_get_xgc):
* gdk/x11/gdkfont-x11.c (gdk_x11_font_get_xdisplay):
(gdk_x11_font_get_xfont):
* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xdisplay):
(gdk_x11_drawable_get_xid):
* gdk/x11/gdkcursor-x11.c (gdk_x11_cursor_get_xdisplay):
(gdk_x11_cursor_get_xcursor):
* gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xcolormap):
(gdk_x11_colormap_get_xdisplay):
* gdk/x11/gdkxid.c (gdk_xid_table_lookup):
* gdk/x11/gdkvisual-x11.c (gdkx_visual_get):
(gdk_x11_visual_get_xvisual):
* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server):
(gdk_x11_ungrab_server):
(gdk_x11_get_default_root_xwindow):
(gdk_x11_get_default_xdisplay):
Some docs moved inline.
Tue Oct 22 16:37:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c: Multihead safety fixes, handle
......
2002-10-23 Matthias Clasen <maclas@gmx.de>
* gdk/linux-fb/gdkselection-fb.c (gdk_text_property_to_utf8_list_for_display):
(gdk_utf8_to_compound_text_for_display): Fix doc comments - why
do these overwrite the ones from gdk/x11/*.c ?!
* gdk/gdkdisplaymanager.c
(gdk_display_manager_get_default_display):
Documentation fix.
* gdk/gdkevents.c (gdk_event_new):
* gdk/x11/gdkdnd-x11.c (gdk_drag_find_window_for_screen):
* gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name):
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_grab):
(gdk_x11_display_ungrab): Add documentation.
* gdk/x11/gdkimage-x11.c (gdk_x11_image_get_xdisplay):
(gdk_x11_image_get_ximage):
* gdk/x11/gdkgc-x11.c (gdk_x11_gc_get_xdisplay):
(gdk_x11_gc_get_xgc):
* gdk/x11/gdkfont-x11.c (gdk_x11_font_get_xdisplay):
(gdk_x11_font_get_xfont):
* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xdisplay):
(gdk_x11_drawable_get_xid):
* gdk/x11/gdkcursor-x11.c (gdk_x11_cursor_get_xdisplay):
(gdk_x11_cursor_get_xcursor):
* gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xcolormap):
(gdk_x11_colormap_get_xdisplay):
* gdk/x11/gdkxid.c (gdk_xid_table_lookup):
* gdk/x11/gdkvisual-x11.c (gdkx_visual_get):
(gdk_x11_visual_get_xvisual):
* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server):
(gdk_x11_ungrab_server):
(gdk_x11_get_default_root_xwindow):
(gdk_x11_get_default_xdisplay):
Some docs moved inline.
Tue Oct 22 16:37:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c: Multihead safety fixes, handle
......
2002-10-23 Matthias Clasen <maclas@gmx.de>
* gdk/linux-fb/gdkselection-fb.c (gdk_text_property_to_utf8_list_for_display):
(gdk_utf8_to_compound_text_for_display): Fix doc comments - why
do these overwrite the ones from gdk/x11/*.c ?!
* gdk/gdkdisplaymanager.c
(gdk_display_manager_get_default_display):
Documentation fix.
* gdk/gdkevents.c (gdk_event_new):
* gdk/x11/gdkdnd-x11.c (gdk_drag_find_window_for_screen):
* gdk/x11/gdkevents-x11.c (gdk_x11_screen_get_window_manager_name):
* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_grab):
(gdk_x11_display_ungrab): Add documentation.
* gdk/x11/gdkimage-x11.c (gdk_x11_image_get_xdisplay):
(gdk_x11_image_get_ximage):
* gdk/x11/gdkgc-x11.c (gdk_x11_gc_get_xdisplay):
(gdk_x11_gc_get_xgc):
* gdk/x11/gdkfont-x11.c (gdk_x11_font_get_xdisplay):
(gdk_x11_font_get_xfont):
* gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xdisplay):
(gdk_x11_drawable_get_xid):
* gdk/x11/gdkcursor-x11.c (gdk_x11_cursor_get_xdisplay):
(gdk_x11_cursor_get_xcursor):
* gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xcolormap):
(gdk_x11_colormap_get_xdisplay):
* gdk/x11/gdkxid.c (gdk_xid_table_lookup):
* gdk/x11/gdkvisual-x11.c (gdkx_visual_get):
(gdk_x11_visual_get_xvisual):
* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server):
(gdk_x11_ungrab_server):
(gdk_x11_get_default_root_xwindow):
(gdk_x11_get_default_xdisplay):
Some docs moved inline.
Tue Oct 22 16:37:12 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c: Multihead safety fixes, handle
......
2002-10-22 Matthias Clasen <maclas@gmx.de>
* gdk/tmpl/gdkdisplay.sgml: Document GdkDisplayPointerHooks.
* gdk/tmpl/x_interaction.sgml: Some docs moved inline.
2002-10-20 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf/Makefile.am (SCANOBJ_FILES):
......
......@@ -221,12 +221,25 @@ of an X display. All its fields are private and should not be accessed directly.
<!-- ##### STRUCT GdkDisplayPointerHooks ##### -->
<para>
A table of pointers to functions for getting quantities related to
the current pointer position. Each #GdkDisplay has a table of this type,
which can be set using gdk_display_set_pointer_hooks().
</para>
<para>
This is only useful for such low-level tools as an event recorder.
Applications should never have any reason to use this facility
</para>
@get_pointer:
@window_get_pointer:
@window_at_pointer:
@get_pointer: Obtains the current pointer position and modifier state.
The position is given in coordinates relative to the window containing
the pointer, which is returned in @window.
@window_get_pointer: Obtains the window underneath the mouse pointer.
Current pointer position and modifier state are returned in @x, @y and
@mask. The position is given in coordinates relative to @window.
@window_at_pointer: Obtains the window underneath the mouse pointer,
returning the location of that window in @win_x, @win_y. Returns %NULL
if the window under the mouse pointer is not known to GDK (for example,
belongs to another application).
<!-- ##### FUNCTION gdk_display_set_pointer_hooks ##### -->
<para>
......
......@@ -252,19 +252,19 @@ Another name for GDK_DRAWABLE_XID().
<!-- ##### FUNCTION gdkx_visual_get ##### -->
<para>
Returns a #GdkVisual corresponding to a X visual.
</para>
@xvisualid: a X visual id.
@Returns: the #GdkVisual.
@xvisualid:
@Returns:
<!-- ##### FUNCTION gdkx_colormap_get ##### -->
<para>
</para>
@xcolormap: a X colormap.
@Returns: the #GdkColormap.
@xcolormap:
@Returns:
<!-- ##### FUNCTION gdk_pixmap_foreign_new ##### -->
......@@ -307,12 +307,11 @@ Returns a #GdkVisual corresponding to a X visual.
<!-- ##### FUNCTION gdk_xid_table_lookup ##### -->
<para>
Returns the Gdk object associated with the given X id.
</para>
@xid: an X id.
@Returns: the associated Gdk object, which may be a #GdkPixmap,
a #GdkWindow or a #GdkFont.
@xid:
@Returns:
<!-- ##### FUNCTION gdk_xid_table_lookup_for_display ##### -->
......@@ -448,40 +447,38 @@ Obtains the #GdkFont for the given Xlib font ID on @display, or %NULL if no
<!-- ##### FUNCTION gdk_x11_colormap_get_xcolormap ##### -->
<para>
Returns the X colormap belonging to a #GdkColormap.
</para>
@colormap: a #GdkColormap.
@Returns: an Xlib <type>Colormap</type>.
@colormap:
@Returns:
<!-- ##### FUNCTION gdk_x11_colormap_get_xdisplay ##### -->
<para>
Returns the display of a #GdkColormap.
</para>
@colormap: a #GdkColormap.
@Returns: an Xlib <type>Display*</type>.
@colormap:
@Returns:
<!-- ##### FUNCTION gdk_x11_cursor_get_xcursor ##### -->
<para>
Returns the X cursor belonging to a #GdkCursor.
</para>
@cursor: a #GdkCursor.
@cursor:
@Returns:
<!-- # Unused Parameters # -->
@Retursn: an Xlib <type>Cursor</type.
<!-- ##### FUNCTION gdk_x11_cursor_get_xdisplay ##### -->
<para>
Returns the display of a #GdkCursor.
</para>
@cursor: a #GdkCursor.
@Returns: an Xlib <type>Display*</type>.
@cursor:
@Returns:
<!-- ##### FUNCTION gdk_x11_display_get_xdisplay ##### -->
......@@ -511,20 +508,20 @@ Returns the display of a #GdkCursor.
<!-- ##### FUNCTION gdk_x11_drawable_get_xdisplay ##### -->
<para>
Returns the display of a #GdkDrawable.
</para>
@drawable: a #GdkDrawable.
@Returns: an Xlib <type>Display*</type>.
@drawable:
@Returns:
<!-- ##### FUNCTION gdk_x11_drawable_get_xid ##### -->
<para>
Returns the X resource (window or pixmap) belonging to a #GdkDrawable.
</para>
@drawable: a #GdkDrawable.
@Returns: the ID of @win's X resource.
@drawable:
@Returns:
<!-- ##### FUNCTION gdk_x11_font_get_name ##### -->
......@@ -538,47 +535,46 @@ Returns the X resource (window or pixmap) belonging to a #GdkDrawable.
<!-- ##### FUNCTION gdk_x11_font_get_xdisplay ##### -->
<para>
Returns the display of a #GdkFont.
</para>
@font: a #GdkFont.
@Returns: an Xlib <type>Display*</type>.
@font:
@Returns:
<!-- ##### FUNCTION gdk_x11_font_get_xfont ##### -->
<para>
Returns the X font belonging to a #GdkFont.
</para>
@font: a #GdkFont.
@Returns: an Xlib <type>XFontStruct*</type> or an <type>XFontSet</type>.
@font:
@Returns:
<!-- ##### FUNCTION gdk_x11_gc_get_xdisplay ##### -->
<para>
Returns the display of a #GdkGC.
</para>
@gc: a #GdkGC.
@Returns: an Xlib <type>Display*</type>.
@gc:
@Returns:
<!-- ##### FUNCTION gdk_x11_gc_get_xgc ##### -->
<para>
Returns the X GC of a #GdkGC.
</para>
@gc: a #GdkGC.
@Returns: an Xlib <type>GC</type>.
@gc:
@Returns:
<!-- ##### FUNCTION gdk_x11_get_default_root_xwindow ##### -->
<para>
Gets the root window of the default screen
(see gdk_x11_get_default_screen()).
</para>
@Returns: an Xlib <type>Window</type>.
@Returns:
<!-- ##### FUNCTION gdk_x11_get_default_screen ##### -->
......@@ -591,43 +587,35 @@ Gets the root window of the default screen
<!-- ##### FUNCTION gdk_x11_get_default_xdisplay ##### -->
<para>
Gets the default GTK+ display.
</para>
@Returns: the Xlib <type>Display*</type> for the display
specified in the <option>--display</option> command line option
or the <envar>DISPLAY</envar> environment variable.
@Returns:
<!-- ##### FUNCTION gdk_x11_grab_server ##### -->
<para>
Call <function>XGrabServer()</function> on the default display.
To ungrab the server again, use gdk_x11_ungrab_server().
</para>
<para>
gdk_x11_grab_server()/gdk_x11_ungrab_server() calls can be nested.
</para>
<!-- ##### FUNCTION gdk_x11_image_get_xdisplay ##### -->
<para>
Returns the display of a #GdkImage.
</para>
@image:
@Returns: an Xlib <type>Display*</type>.
<!-- # Unused Parameters # -->
@drawable: a #GdkImage.
@Returns:
<!-- ##### FUNCTION gdk_x11_image_get_ximage ##### -->
<para>
Returns the X image belonging to a #GdkImage.
</para>
@image: a #GdkImage.
@Returns: an <type>XImage*</type>.
@image:
@Returns:
<!-- ##### FUNCTION gdk_x11_screen_get_screen_number ##### -->
......@@ -650,19 +638,18 @@ Returns the X image belonging to a #GdkImage.
<!-- ##### FUNCTION gdk_x11_ungrab_server ##### -->
<para>
Ungrab the default display after it has been grabbed with
gdk_x11_grab_server().
</para>
<!-- ##### FUNCTION gdk_x11_visual_get_xvisual ##### -->
<para>
Returns the X visual belonging to a #GdkVisual.
</para>
@visual: a #GdkVisual.
@Returns: an Xlib <type>Visual*</type>.
@visual:
@Returns:
<!-- ##### FUNCTION gdk_x11_atom_to_xatom ##### -->
......@@ -682,8 +669,6 @@ Returns the X visual belonging to a #GdkVisual.
@display:
@atom:
@Returns:
<!-- # Unused Parameters # -->
@virtual_atom:
<!-- ##### FUNCTION gdk_x11_xatom_to_atom ##### -->
......
......@@ -176,11 +176,7 @@ gdk_display_manager_get (void)
* gdk_display_manager_get_default_display:
* @display_manager: a #GdkDisplayManager
*
* Gets the default #GdkDisplay. This is a convenience
* function for:
* <programlisting>
* gdk_display_manager_get_default_display (gdk_display_manager_get ())
* </programlisting>
* Gets the default #GdkDisplay.
*
* Returns: a #GdkDisplay, or %NULL if there is no default
* display.
......@@ -258,3 +254,4 @@ gdk_display_manager_list_displays (GdkDisplayManager *display_manager)
{
return g_slist_copy (_gdk_displays);
}
......@@ -260,6 +260,15 @@ gdk_event_put (GdkEvent *event)
static GMemChunk *event_chunk = NULL;
static GHashTable *event_hash = NULL;
/**
* gdk_event_new:
* @type: a #GdkEventType
*
* Creates a new event of the given type. All fields are set to 0.
*
* Return value: a newly-allocated #GdkEvent. The returned #GdkEvent
* should be freed with gdk_event_free().
**/
GdkEvent*
gdk_event_new (GdkEventType type)
{
......
......@@ -285,6 +285,7 @@ gdk_utf8_to_string_target (const gchar *str)
/**
* gdk_utf8_to_compound_text_for_display:
* @display: a #GdkDisplay
* @str: a UTF-8 string
* @encoding: location to store resulting encoding
* @format: location to store format of the result
......@@ -381,6 +382,7 @@ make_list (const gchar *text,
/**
* gdk_text_property_to_utf8_list_for_display:
* @display: a #GdkDisplay
* @encoding: an atom representing the encoding of the text
* @format: the format of the property
* @text: the text to convert
......
......@@ -1344,6 +1344,14 @@ gdk_colormap_equal (Colormap *a,
return (*a == *b);
}
/**
* gdk_x11_colormap_get_xdisplay:
* @colormap: a #GdkColormap.
*
* Returns the display of a #GdkColormap.
*
* Return value: an Xlib <type>Display*</type>.
**/
Display *
gdk_x11_colormap_get_xdisplay (GdkColormap *colormap)
{
......@@ -1356,6 +1364,14 @@ gdk_x11_colormap_get_xdisplay (GdkColormap *colormap)
return private->xdisplay;
}
/**
* gdk_x11_colormap_get_xcolormap:
* @colormap: a #GdkColormap.
*
* Returns the X colormap belonging to a #GdkColormap.
*
* Return value: an Xlib <type>Colormap</type>.
**/
Colormap
gdk_x11_colormap_get_xcolormap (GdkColormap *colormap)
{
......
......@@ -187,6 +187,14 @@ _gdk_cursor_destroy (GdkCursor *cursor)
g_free (private);
}
/**
* gdk_x11_cursor_get_xdisplay:
* @cursor: a #GdkCursor.
*
* Returns the display of a #GdkCursor.
*
* Return value: an Xlib <type>Display*</type>.
**/
Display *
gdk_x11_cursor_get_xdisplay (GdkCursor *cursor)
{
......@@ -195,6 +203,14 @@ gdk_x11_cursor_get_xdisplay (GdkCursor *cursor)
return GDK_DISPLAY_XDISPLAY(((GdkCursorPrivate *)cursor)->display);
}
/**
* gdk_x11_cursor_get_xcursor:
* @cursor: a #GdkCursor.
*
* Returns the X cursor belonging to a #GdkCursor.
*
* Return value: an Xlib <type>Cursor</type>.
**/
Cursor
gdk_x11_cursor_get_xcursor (GdkCursor *cursor)
{
......
......@@ -465,6 +465,15 @@ gdk_display_sync (GdkDisplay * display)
XSync (GDK_DISPLAY_XDISPLAY (display), False);
}
/**
* gdk_x11_display_grab:
* @display: a #GdkDisplay
*