ANNOUNCE: GDK documentation update.
- From: Preben Randhol <randhol pvv ntnu no>
- To: gtk-list redhat com
- Subject: ANNOUNCE: GDK documentation update.
- Date: 04 Jun 1998 12:01:03 +0200
I haven't documented the functions as I do not know GDK nor X
programming yet. What I have done is to go through some of the GDK files
(from the gtk+-1.0.4 release) and copied the function declaration. I
have included comments that I have found, but they are scares. I plan
to continue this till I have included all the functions and also the
structures which are necessary.
I did this because one at least can look up what arguments a function
requires and which functions that are available.
I hope that people who know GDK or X programming could contribute to
get the most important functions documented. If you want to help
please send me a email at <randhol@pvv.org> so that we don't cross
wires.
I have included the patch below. You apply it with
patch -p0 < gdk-dok.diff (in the gtk+-1.0.4 source directory).
Hope you find it useful.
--
Preben Randhol | Affliction is enamoured of thy parts,
Tlf 73940929/(735)94076 [arb] | And thou art wedded to calamity.
Email randhol@pvv.org |
http://www.pvv.org/~randhol/ | - W. Shakespeare
-----&<-------------&<----------
*** docs.orig/gdk.texi Sun Mar 1 21:24:38 1998
--- docs/gdk.texi Thu Jun 4 00:29:24 1998
***************
*** 5,18 ****
@setchapternewpage odd
@c %**end of header
! @set edition 1.0
! @set update-date 16 May 1996
! @set update-month May 1996
@ifinfo
This file documents GDK, the General Drawing Kit
Copyright (C) 1996 Peter Mattis
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
--- 5,19 ----
@setchapternewpage odd
@c %**end of header
! @set edition 1.1
! @set update-date 04 June 1998
! @set update-month June 1998
@ifinfo
This file documents GDK, the General Drawing Kit
Copyright (C) 1996 Peter Mattis
+ 1998 Preben Randhol
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
***************
*** 38,50 ****
@titlepage
@title The General Drawing Kit
! @subtitle Version 1.0
@subtitle @value{update-month}
! @author by Peter Mattis
@page
@vskip 0pt plus 1filll
! Copyright @copyright{} 1996 Peter Mattis
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
--- 39,51 ----
@titlepage
@title The General Drawing Kit
! @subtitle Version 1.1
@subtitle @value{update-month}
! @author by Peter Mattis, Preben Randhol
@page
@vskip 0pt plus 1filll
! Copyright @copyright{} 1996 Peter Mattis, 1998 Preben Randhol
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
***************
*** 252,292 ****
--- 253,1084 ----
@chapter Understanding and using visuals
@cindex Visuals
+ What I have done is to go through the @code{gdkvisual.c} and take out
+ all the functions I found. There are no documentation other than the
+ comments found in the file. I do not know GDK nor X programming yet so I
+ encourage people that do to contribute to get GDK documented. Please
+ send me a email at @email{randhol@@pvv.org} so that efforts can be
+ coordinated. -- Preben Randhol
+
+ @deftypefun void gdk_visual_init (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdk_visual_ref (GdkVisual *visual)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_visual_unref (GdkVisual *visual)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_visual_get_best_depth (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisualType gdk_visual_get_best_type (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdk_visual_get_system (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdk_visual_get_best (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdk_visual_get_best_with_depth (gint depth)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdk_visual_get_best_with_both (gint depth, GdkVisualType visual_type)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_query_depths (gint **depths, gint *count)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_query_visual_types (GdkVisualType **visual_types, gint *count)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GList* gdk_list_visuals (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdk_visual_lookup (Visual *xvisual)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdkx_visual_get (VisualID xvisualid)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_visual_add (GdkVisual *visual)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_visual_decompose_mask (gulong mask, gint *shift, gint *prec)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static guint} gdk_visual_hash (Visual *key)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static gint} gdk_visual_compare (Visual *a, Visual *b)
+ Not documented yet...
+ @end deftypefun
+
@node Windows, Graphics Contexts, Visuals, Top
@comment node-name, next, previous, up
@chapter Creating and using windows
@cindex Windows
+ What I have done is to go through the @code{gdkwindow.c} and take out
+ all the functions I found. There are no documentation other than the
+ comments found in the file. I do not know GDK nor X programming yet so I
+ encourage people that do to contribute to get GDK documented. Please
+ send me a email at @email{randhol@@pvv.org} so that efforts can be
+ coordinated. -- Preben Randhol
+
+ @deftypefun Window gdk_window_xid_at(Window base, gint bx, gint by, gint x, gint y, GList *excludes, gboolean excl_child)
+
+ Internal function created for and used by gdk_window_xid_at_coords
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun Window gdk_window_xid_at_coords(gint x, gint y, GList *excludes, gboolean excl_child)
+
+ The following fucntion by The Rasterman @email{raster@@redhat.com} This
+ function returns the X Window ID in which the x y location is in (x
+ and y being relative to the root window), excluding any windows listed
+ in the GList excludes (this is a list of X Window ID's - gpointer
+ being the Window ID).
+
+ This is primarily designed for internal gdk use - for DND for example
+ when using a shaped icon window as the drag object - you exclude the X
+ Window ID of the "icon" (perhaps more if excludes may be needed) and
+ You can get back an X Window ID as to what X Window ID is infact under
+ those X,Y co-ordinates.
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_init (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkWindow* gdk_window_new (GdkWindow *parent, GdkWindowAttr *attributes, gint attributes_mask)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkWindow* gdk_window_foreign_new (guint32 anid)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_window_internal_destroy (GdkWindow *window, gboolean xdestroy, gboolean our_destroy)
+
+ Call this function when you want a window and all its children to
+ disappear. When xdestroy is true, a request to destroy the XWindow is
+ sent out. When it is false, it is assumed that the XWindow has been
+ or will be destroyed by destroying some ancestor of this window.
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_destroy (GdkWindow *window)
+
+ Like internal_destroy, but also destroys the reference created by
+ gdk_window_new.
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_destroy_notify (GdkWindow *window)
+
+ This function is called when the XWindow is really gone.
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkWindow* gdk_window_ref (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_unref (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_show (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_hide (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_withdraw (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_move (GdkWindow *window, gint x, gint y)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_resize (GdkWindow *window, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_move_resize (GdkWindow *window, gint x, gint y, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_reparent (GdkWindow *window, GdkWindow *new_parent, gint x, gint y)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_clear (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_clear_area (GdkWindow *window, gint x, gint y, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_clear_area_e (GdkWindow *window, gint x, gint y, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_copy_area (GdkWindow *window, GdkGC *gc, gint x, gint y, GdkWindow *source_window, gint source_x, gint source_y, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_raise (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_lower (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_user_data (GdkWindow *window, gpointer user_data)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_hints (GdkWindow *window, gint x, gint y, gint min_width, gint min_height, gint max_width, gint max_height, gint flags)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_title (GdkWindow *window, const gchar *title)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_background (GdkWindow *window, GdkColor *color)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_back_pixmap (GdkWindow *window, GdkPixmap *pixmap, gint parent_relative)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_cursor (GdkWindow *window, GdkCursor *cursor)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_colormap (GdkWindow *window, GdkColormap *colormap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_get_user_data (GdkWindow *window, gpointer *data)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_get_geometry (GdkWindow *window, gint *x, gint *y, gint *width, gint *height, gint *depth)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_get_position (GdkWindow *window, gint *x, gint *y)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_get_size (GdkWindow *window, gint *width, gint *height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkVisual* gdk_window_get_visual (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkColormap* gdk_window_get_colormap (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkWindowType gdk_window_get_type (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_window_get_origin (GdkWindow *window, gint *x, gint *y)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkWindow* gdk_window_get_pointer (GdkWindow *window, gint *x, gint *y, GdkModifierType *mask)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkWindow* gdk_window_get_parent (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkWindow* gdk_window_get_toplevel (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GList* gdk_window_get_children (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkEventMask gdk_window_get_events (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_events (GdkWindow *window, GdkEventMask event_mask)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_add_colormap_windows (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_shape_combine_mask (GdkWindow *window, GdkBitmap *mask, gint x, gint y)
+
+ This needs the X11 shape extension. If not available, shaped windows
+ will look ugly, but programs still work. Stefan Wille
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_dnd_drag_addwindow (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_dnd_drag_set (GdkWindow *window, guint8 drag_enable, gchar **typelist, guint numtypes)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_dnd_drop_set (GdkWindow *window, guint8 drop_enable, gchar **typelist, guint numtypes, guint8 destructive_op)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_dnd_data_set (GdkWindow *window, GdkEvent *event, gpointer data, gulong data_numbytes)
+
+ This is used to reply to a GDK_DRAG_REQUEST event (which may be
+ generated by XdeRequest or a confirmed drop...
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_add_filter (GdkWindow *window, GdkFilterFunc function, gpointer data)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_remove_filter (GdkWindow *window, GdkFilterFunc function, gpointer data)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_override_redirect(GdkWindow *window, gboolean override_redirect)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_icon (GdkWindow *window, GdkWindow *icon_window, GdkPixmap *pixmap, GdkBitmap *mask)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_icon_name (GdkWindow *window, gchar *name)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_group (GdkWindow *window, GdkWindow *leader)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_window_set_mwm_hints (GdkWindow *window, MotifWmHints *new_hints)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_decorations (GdkWindow *window, GdkWMDecoration decorations)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_window_set_functions (GdkWindow *window, GdkWMFunction functions)
+ Not documented yet...
+ @end deftypefun
+
+
@node Graphics Contexts, Pixmaps, Windows, Top
@comment node-name, next, previous, up
@chapter Creating and modifying GCs
@cindex Graphics Contexts
@cindex GC
+ What I have done is to go through the @code{gdkgc.c} and take out
+ all the functions I found. There are no documentation other than the
+ comments found in the file. I do not know GDK nor X programming yet so I
+ encourage people that do to contribute to get GDK documented. Please
+ send me a email at @email{randhol@@pvv.org} so that efforts can be
+ coordinated. -- Preben Randhol
+
+ @deftypefun GdkGC* gdk_gc_new (GdkWindow *window)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkGC* gdk_gc_new_with_values (GdkWindow *window, GdkGCValues *values, GdkGCValuesMask values_mask)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_destroy (GdkGC *gc)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkGC* gdk_gc_ref (GdkGC *gc)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_unref (GdkGC *gc)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_get_values (GdkGC *gc, GdkGCValues *values)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_foreground (GdkGC *gc, GdkColor *color)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_background (GdkGC *gc, GdkColor *color)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_font (GdkGC *gc, GdkFont *font)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_function (GdkGC *gc, GdkFunction function)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_fill (GdkGC *gc, GdkFill fill)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_tile (GdkGC *gc, GdkPixmap *tile)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_stipple (GdkGC *gc, GdkPixmap *stipple)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_ts_origin (GdkGC *gc, gint x, gint y)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_clip_origin (GdkGC *gc, gint x, gint y)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_clip_mask (GdkGC *gc, GdkBitmap *mask)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_clip_rectangle (GdkGC *gc, GdkRectangle *rectangle)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_clip_region (GdkGC *gc, GdkRegion *region)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_subwindow (GdkGC *gc, GdkSubwindowMode mode)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_exposures (GdkGC *gc, gint exposures)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_set_line_attributes (GdkGC *gc, gint line_width, GdkLineStyle line_style, GdkCapStyle cap_style, GdkJoinStyle join_style)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_gc_copy (GdkGC *dst_gc, GdkGC *src_gc)
+ Not documented yet...
+ @end deftypefun
+
@node Pixmaps, Images, Graphics Contexts, Top
@comment node-name, next, previous, up
@chapter Creating pixmaps
@cindex Pixmaps
+ What I have done is to go through the @code{gdkpixmap.c} and take out
+ all the functions I found. There are no documentation other than the
+ comments found in the file. I do not know GDK nor X programming yet so I
+ encourage people that do to contribute to get GDK documented. Please
+ send me a email at @email{randhol@@pvv.org} so that efforts can be
+ coordinated. -- Preben Randhol
+
+ @deftypefun GdkPixmap* gdk_pixmap_new (GdkWindow *window, gint width, gint height, gint depth)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkPixmap* gdk_bitmap_create_from_data (GdkWindow *window, gchar *data, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkPixmap* gdk_pixmap_create_from_data (GdkWindow *window, gchar *data, gint width, gint height, gint depth, GdkColor *fg, GdkColor *bg)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_pixmap_seek_string (FILE *infile, const gchar *str, gint skip_comments)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_pixmap_seek_char (FILE *infile, gchar c)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_pixmap_read_string (FILE *infile, gchar **buffer, guint *buffer_size)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gchar* gdk_pixmap_skip_whitespaces (gchar *buffer)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gchar* gdk_pixmap_skip_string (gchar *buffer)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gchar* gdk_pixmap_extract_color (gchar *buffer)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkPixmap* gdk_pixmap_colormap_create_from_xpm (GdkWindow *window, GdkColormap *colormap, GdkBitmap **mask, GdkColor *transparent_color, const gchar *filename)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkPixmap* gdk_pixmap_create_from_xpm (GdkWindow *window, GdkBitmap **mask, GdkColor *transparent_color, const gchar *filename)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d (GdkWindow *window, GdkColormap *colormap, GdkBitmap **mask, GdkColor *transparent_color, gchar **data)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkPixmap* gdk_pixmap_create_from_xpm_d (GdkWindow *window, GdkBitmap **mask, GdkColor *transparent_color, gchar **data)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkPixmap* gdk_pixmap_ref (GdkPixmap *pixmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_pixmap_unref (GdkPixmap *pixmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkBitmap* gdk_bitmap_ref (GdkBitmap *bitmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_bitmap_unref (GdkBitmap *bitmap)
+ Not documented yet...
+ @end deftypefun
+
@node Images, Color, Pixmaps, Top
@comment node-name, next, previous, up
@chapter Creating images
@cindex Images
+ What I have done is to go through the @code{gdkimage.c} and take out
+ all the functions I found. There are no documentation other than the
+ comments found in the file. I do not know GDK nor X programming yet so I
+ encourage people that do to contribute to get GDK documented. Please
+ send me a email at @email{randhol@@pvv.org} so that efforts can be
+ coordinated. -- Preben Randhol
+
+ @deftypefun void gdk_image_exit (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkImage* gdk_image_new_bitmap(GdkVisual *visual, gpointer data, gint w, gint h)
+ Desc: create a new bitmap image
+ @end deftypefun
+
+ @deftypefun @w{static int} gdk_image_check_xshm(Display *display)
+ Desc: query the server for support for the MIT_SHM extension
+ Return: 0 = not available
+ 1 = shared XImage support available
+ 2 = shared Pixmap support available also
+ @end deftypefun
+
+ @deftypefun void gdk_image_init (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkImage* gdk_image_new (GdkImageType type, GdkVisual *visual, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkImage* gdk_image_get (GdkWindow *window, gint x, gint y, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun guint32 gdk_image_get_pixel (GdkImage *image, gint x, gint y)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_image_put_pixel (GdkImage *image, gint x, gint y, guint32 pixel)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_image_destroy (GdkImage *image)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_image_put_normal (GdkDrawable *drawable, GdkGC *gc, GdkImage *image, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_image_put_shared (GdkDrawable *drawable, GdkGC *gc, GdkImage *image, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
@node Color, Fonts, Images, Top
@comment node-name, next, previous, up
@chapter Specifying color
@cindex Color
+ What I have done is to go through the @code{gdkcolor.c} and take out
+ all the functions I found. There are no documentation other than the
+ comments found in the file. I do not know GDK nor X programming yet so I
+ encourage people that do to contribute to get GDK documented. Please
+ send me a email at @email{randhol@@pvv.org} so that efforts can be
+ coordinated. -- Preben Randhol
+
+ @deftypefun GdkColormap* gdk_colormap_new (GdkVisual *visual, gint private_cmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_colormap_real_destroy (GdkColormap *colormap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkColormap* gdk_colormap_ref (GdkColormap *cmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_colormap_unref (GdkColormap *cmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkColormap* gdk_colormap_get_system (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_colormap_get_system_size (void)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_colormap_change (GdkColormap *colormap, gint ncolors)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_colors_store (GdkColormap *colormap, GdkColor *colors, gint ncolors)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_colors_alloc (GdkColormap *colormap, gint contiguous, gulong *planes, gint nplanes, gulong *pixels, gint npixels)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_colors_free (GdkColormap *colormap, gulong *pixels, gint npixels, gulong planes)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_color_white (GdkColormap *colormap, GdkColor *color)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_color_black (GdkColormap *colormap, GdkColor *color)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_color_parse (const gchar *spec, GdkColor *color)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_color_alloc (GdkColormap *colormap, GdkColor *color)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_color_change (GdkColormap *colormap, GdkColor *color)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_color_equal (GdkColor *colora, GdkColor *colorb)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkColormap* gdkx_colormap_get (Colormap xcolormap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static gint} gdk_colormap_match_color (GdkColormap *cmap, GdkColor *color, const gchar *available)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkColormap* gdk_colormap_lookup (Colormap xcolormap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_colormap_add (GdkColormap *cmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static void} gdk_colormap_remove (GdkColormap *cmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static guint} gdk_colormap_hash (Colormap *cmap)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun @w{static gint} gdk_colormap_cmp (Colormap *a, Colormap *b)
+ Not documented yet...
+ @end deftypefun
+
@node Fonts, Drawing, Color, Top
@comment node-name, next, previous, up
@chapter Creating Fonts
@cindex Fonts
+ What I have done is to go through the @code{gdkfont.c} and take out
+ all the functions I found. There are no documentation other than the
+ comments found in the file. I do not know GDK nor X programming yet so I
+ encourage people that do to contribute to get GDK documented. Please
+ send me a email at @email{randhol@@pvv.org} so that efforts can be
+ coordinated. -- Preben Randhol
+
+ @deftypefun GdkFont* gdk_font_load (const gchar *font_name)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkFont* gdk_fontset_load (gchar *fontset_name)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun GdkFont* gdk_font_ref (GdkFont *font)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_font_unref (GdkFont *font)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_font_id (GdkFont *font)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_font_equal (GdkFont *fonta, GdkFont *fontb)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_string_width (GdkFont *font, const gchar *string)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_text_width (GdkFont *font, const gchar *text, gint text_length)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_char_width (GdkFont *font, gchar character)
+ /* Problem: What if a character is a 16 bits character ?? */
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_string_measure (GdkFont *font, const gchar *string)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_text_measure (GdkFont *font, const gchar *text, gint text_length)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun gint gdk_char_measure (GdkFont *font, gchar character)
+ Not documented yet...
+ @end deftypefun
+
@node Drawing, XInput Support, Fonts, Top
@comment node-name, next, previous, up
@chapter Drawing Commands
@cindex Drawing
+
+ What I have done is to go through the @code{gdkdraw.c} and take out
+ all the functions I found. There are no documentation other than the
+ comments found in the file. I do not know GDK nor X programming yet so I
+ encourage people that do to contribute to get GDK documented. Please
+ send me a email at @email{randhol@@pvv.org} so that efforts can be
+ coordinated. -- Preben Randhol
+
+ @deftypefun void gdk_draw_point (GdkDrawable *drawable, GdkGC *gc, gint x, gint y)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_line (GdkDrawable *drawable, GdkGC *gc, gint x1, gint y1, gint x2, gint y2)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_rectangle (GdkDrawable *drawable, GdkGC *gc, gint filled, gint x, gint y, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_arc (GdkDrawable *drawable, GdkGC *gc, gint filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_polygon (GdkDrawable *drawable, GdkGC *gc, gint filled, GdkPoint *points, gint npoints)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_string (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *string)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_text (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *text, gint text_length)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_pixmap (GdkDrawable *drawable, GdkGC *gc, GdkPixmap *src, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_image (GdkDrawable *drawable, GdkGC *gc, GdkImage *image, gint xsrc, gint ysrc, gint xdest, gint ydest, gint width, gint height)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_points (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_segments (GdkDrawable *drawable, GdkGC *gc, GdkSegment *segs, gint nsegs)
+ Not documented yet...
+ @end deftypefun
+
+ @deftypefun void gdk_draw_lines (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints)
+ Not documented yet...
+ @end deftypefun
@node XInput Support, Miscellany, Drawing, Top
@comment node-name, next, previous, up
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]