Commit 9716930a authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Add some ids to reduce dangling links.

parent 1e5d33a2
2002-12-11 Matthias Clasen <maclas@gmx.de>
* gdk/tmpl/pixmaps.sgml: Make "GdkPixmap" a valid id to reduce
dangling links.
* gdk/tmpl/windows.sgml: Make "GdkWindow" a valid id to reduce
dangling links.
* gdk/tmpl/drawing.sgml: Make "GdkDrawable" a valid id to reduce
dangling links.
* gdk/tmpl/gcs.sgml: Make "GdkGC" a valid id to reduce dangling links.
2002-12-10 Matthias Clasen <maclas@gmx.de> 2002-12-10 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtktextview.sgml: Add docs. * gtk/tmpl/gtktextview.sgml: Add docs.
......
...@@ -26,7 +26,7 @@ more information. ...@@ -26,7 +26,7 @@ more information.
</para> </para>
<!-- ##### STRUCT GdkDrawable ##### --> <!-- ##### STRUCT GdkDrawable ##### -->
<para> <para><anchor id="GdkDrawable"/>
An opaque structure representing an object that can be An opaque structure representing an object that can be
drawn onto. This can be a #GdkPixmap, a #GdkBitmap, drawn onto. This can be a #GdkPixmap, a #GdkBitmap,
or a #GdkWindow. or a #GdkWindow.
......
...@@ -31,7 +31,7 @@ be set by the latter method. ...@@ -31,7 +31,7 @@ be set by the latter method.
</para> </para>
<!-- ##### STRUCT GdkGC ##### --> <!-- ##### STRUCT GdkGC ##### -->
<para> <para><anchor id="GdkGC"/>
The #GdkGC structure represents a graphics context. The #GdkGC structure represents a graphics context.
It is an opaque structure with no user-visible It is an opaque structure with no user-visible
elements. elements.
......
...@@ -19,7 +19,7 @@ pixel can be either on or off). ...@@ -19,7 +19,7 @@ pixel can be either on or off).
</para> </para>
<!-- ##### STRUCT GdkPixmap ##### --> <!-- ##### STRUCT GdkPixmap ##### -->
<para> <para><anchor id="GdkPixmap"/>
An opaque structure representing an offscreen drawable. An opaque structure representing an offscreen drawable.
Pointers to structures of type #GdkPixmap, #GdkBitmap, Pointers to structures of type #GdkPixmap, #GdkBitmap,
and #GdkWindow, can often be used interchangeably. and #GdkWindow, can often be used interchangeably.
...@@ -33,14 +33,16 @@ these types. ...@@ -33,14 +33,16 @@ these types.
Create a new pixmap with a given size and depth. Create a new pixmap with a given size and depth.
</para> </para>
@window: a #GdkWindow, used to determine default values for the @drawable:
new pixmap. Can be %NULL if @depth is specified,
@width: The width of the new pixmap in pixels. @width: The width of the new pixmap in pixels.
@height: The height of the new pixmap in pixels. @height: The height of the new pixmap in pixels.
@depth: The depth (number of bits per pixel) of the new pixmap. @depth: The depth (number of bits per pixel) of the new pixmap.
If -1, and @window is not %NULL, the depth of the new If -1, and @window is not %NULL, the depth of the new
pixmap will be equal to that of @window. pixmap will be equal to that of @window.
@Returns: the #GdkPixmap @Returns: the #GdkPixmap
<!-- # Unused Parameters # -->
@window: a #GdkWindow, used to determine default values for the
new pixmap. Can be %NULL if @depth is specified,
<!-- ##### FUNCTION gdk_bitmap_create_from_data ##### --> <!-- ##### FUNCTION gdk_bitmap_create_from_data ##### -->
...@@ -48,13 +50,15 @@ Create a new pixmap with a given size and depth. ...@@ -48,13 +50,15 @@ Create a new pixmap with a given size and depth.
Creates a new bitmap from data in XBM format. Creates a new bitmap from data in XBM format.
</para> </para>
@window: a #GdkWindow, used to determine default values for the @drawable:
new pixmap. Can be %NULL, in which case the root window is
used.
@data: a pointer to the XBM data. @data: a pointer to the XBM data.
@width: the width of the new pixmap in pixels. @width: the width of the new pixmap in pixels.
@height: the height of the new pixmap in pixels. @height: the height of the new pixmap in pixels.
@Returns: the #GdkBitmap @Returns: the #GdkBitmap
<!-- # Unused Parameters # -->
@window: a #GdkWindow, used to determine default values for the
new pixmap. Can be %NULL, in which case the root window is
used.
<!-- ##### FUNCTION gdk_pixmap_create_from_data ##### --> <!-- ##### FUNCTION gdk_pixmap_create_from_data ##### -->
...@@ -62,8 +66,7 @@ Creates a new bitmap from data in XBM format. ...@@ -62,8 +66,7 @@ Creates a new bitmap from data in XBM format.
Create a two-color pixmap from data in XBM data. Create a two-color pixmap from data in XBM data.
</para> </para>
@window: a #GdkWindow, used to determine default values for the @drawable:
new pixmap. Can be %NULL, if the depth is given.
@data: a pointer to the data. @data: a pointer to the data.
@width: the width of the new pixmap in pixels. @width: the width of the new pixmap in pixels.
@height: the height of the new pixmap in pixels. @height: the height of the new pixmap in pixels.
...@@ -71,6 +74,9 @@ Create a two-color pixmap from data in XBM data. ...@@ -71,6 +74,9 @@ Create a two-color pixmap from data in XBM data.
@fg: the foreground color. @fg: the foreground color.
@bg: the background color. @bg: the background color.
@Returns: the #GdkPixmap @Returns: the #GdkPixmap
<!-- # Unused Parameters # -->
@window: a #GdkWindow, used to determine default values for the
new pixmap. Can be %NULL, if the depth is given.
<!-- ##### FUNCTION gdk_pixmap_create_from_xpm ##### --> <!-- ##### FUNCTION gdk_pixmap_create_from_xpm ##### -->
...@@ -78,8 +84,7 @@ Create a two-color pixmap from data in XBM data. ...@@ -78,8 +84,7 @@ Create a two-color pixmap from data in XBM data.
Create a pixmap from a XPM file. Create a pixmap from a XPM file.
</para> </para>
@window: a #GdkWindow, used to determine default values for the @drawable:
new pixmap.
@mask: a pointer to a place to store a bitmap representing @mask: a pointer to a place to store a bitmap representing
the transparency mask of the XPM file. Can be %NULL, the transparency mask of the XPM file. Can be %NULL,
in which case transparency will be ignored. in which case transparency will be ignored.
...@@ -88,6 +93,9 @@ that are transparent in the input file. Can be %NULL, ...@@ -88,6 +93,9 @@ that are transparent in the input file. Can be %NULL,
in which case a default color will be used. in which case a default color will be used.
@filename: the filename of a file containing XPM data. @filename: the filename of a file containing XPM data.
@Returns: the #GdkPixmap @Returns: the #GdkPixmap
<!-- # Unused Parameters # -->
@window: a #GdkWindow, used to determine default values for the
new pixmap.
<!-- ##### FUNCTION gdk_pixmap_colormap_create_from_xpm ##### --> <!-- ##### FUNCTION gdk_pixmap_colormap_create_from_xpm ##### -->
...@@ -95,8 +103,7 @@ in which case a default color will be used. ...@@ -95,8 +103,7 @@ in which case a default color will be used.
Create a pixmap from a XPM file using a particular colormap. Create a pixmap from a XPM file using a particular colormap.
</para> </para>
@window: a #GdkWindow, used to determine default values for the @drawable:
new pixmap. Can be %NULL if @colormap is given.
@colormap: the #GdkColormap that the new pixmap will be use. @colormap: the #GdkColormap that the new pixmap will be use.
If omitted, the colormap for @window will be used. If omitted, the colormap for @window will be used.
@mask: a pointer to a place to store a bitmap representing @mask: a pointer to a place to store a bitmap representing
...@@ -107,6 +114,9 @@ that are transparent in the input file. Can be %NULL, ...@@ -107,6 +114,9 @@ that are transparent in the input file. Can be %NULL,
in which case a default color will be used. in which case a default color will be used.
@filename: the filename of a file containing XPM data. @filename: the filename of a file containing XPM data.
@Returns: the #GdkPixmap. @Returns: the #GdkPixmap.
<!-- # Unused Parameters # -->
@window: a #GdkWindow, used to determine default values for the
new pixmap. Can be %NULL if @colormap is given.
<!-- ##### FUNCTION gdk_pixmap_create_from_xpm_d ##### --> <!-- ##### FUNCTION gdk_pixmap_create_from_xpm_d ##### -->
...@@ -114,8 +124,7 @@ in which case a default color will be used. ...@@ -114,8 +124,7 @@ in which case a default color will be used.
Create a pixmap from data in XPM format. Create a pixmap from data in XPM format.
</para> </para>
@window: a #GdkWindow, used to determine default values for the @drawable:
new pixmap.
@mask: Pointer to a place to store a bitmap representing @mask: Pointer to a place to store a bitmap representing
the transparency mask of the XPM file. Can be %NULL, the transparency mask of the XPM file. Can be %NULL,
in which case transparency will be ignored. in which case transparency will be ignored.
...@@ -124,6 +133,9 @@ that are transparent in the input file. Can be %NULL ...@@ -124,6 +133,9 @@ that are transparent in the input file. Can be %NULL
in which case a default color will be used. in which case a default color will be used.
@data: Pointer to a string containing the XPM data. @data: Pointer to a string containing the XPM data.
@Returns: the #GdkPixmap @Returns: the #GdkPixmap
<!-- # Unused Parameters # -->
@window: a #GdkWindow, used to determine default values for the
new pixmap.
<!-- ##### FUNCTION gdk_pixmap_colormap_create_from_xpm_d ##### --> <!-- ##### FUNCTION gdk_pixmap_colormap_create_from_xpm_d ##### -->
...@@ -132,8 +144,7 @@ Create a pixmap from data in XPM format using a particular ...@@ -132,8 +144,7 @@ Create a pixmap from data in XPM format using a particular
colormap. colormap.
</para> </para>
@window: a #GdkWindow, used to determine default values for the @drawable:
new pixmap. Can be %NULL if @colormap is given.
@colormap: the #GdkColormap that the new pixmap will be use. @colormap: the #GdkColormap that the new pixmap will be use.
If omitted, the colormap for @window will be used. If omitted, the colormap for @window will be used.
@mask: a pointer to a place to store a bitmap representing @mask: a pointer to a place to store a bitmap representing
...@@ -144,6 +155,9 @@ that are transparent in the input file. Can be %NULL, ...@@ -144,6 +155,9 @@ that are transparent in the input file. Can be %NULL,
in which case a default color will be used. in which case a default color will be used.
@data: Pointer to a string containing the XPM data. @data: Pointer to a string containing the XPM data.
@Returns: the #GdkPixmap. @Returns: the #GdkPixmap.
<!-- # Unused Parameters # -->
@window: a #GdkWindow, used to determine default values for the
new pixmap. Can be %NULL if @colormap is given.
<!-- ##### MACRO gdk_pixmap_ref ##### --> <!-- ##### MACRO gdk_pixmap_ref ##### -->
......
...@@ -19,7 +19,7 @@ For example, each #GtkButton has a #GdkWindow associated with it. ...@@ -19,7 +19,7 @@ For example, each #GtkButton has a #GdkWindow associated with it.
</para> </para>
<!-- ##### STRUCT GdkWindow ##### --> <!-- ##### STRUCT GdkWindow ##### -->
<para> <para><anchor id="GdkWindow"/>
An opaque structure representing an onscreen drawable. An opaque structure representing an onscreen drawable.
Pointers to structures of type #GdkPixmap, #GdkBitmap, Pointers to structures of type #GdkPixmap, #GdkBitmap,
and #GdkWindow, can often be used interchangeably. and #GdkWindow, can often be used interchangeably.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment