-struct _GdkColormapClass
-{
- GObjectClass parent_class;
-
-};
-
-GType gdk_colormap_get_type (void) G_GNUC_CONST;
-
-GdkColormap* gdk_colormap_new (GdkVisual *visual,
- gboolean allocate);
-
-#ifndef GDK_DISABLE_DEPRECATED
-GdkColormap* gdk_colormap_ref (GdkColormap *cmap);
-void gdk_colormap_unref (GdkColormap *cmap);
-#endif
-
-#ifndef GDK_MULTIHEAD_SAFE
-GdkColormap* gdk_colormap_get_system (void);
-#endif
-
-GdkScreen *gdk_colormap_get_screen (GdkColormap *cmap);
-
-#ifndef GDK_DISABLE_DEPRECATED
-gint gdk_colormap_get_system_size (void);
-#endif
-
-#if !defined (GDK_DISABLE_DEPRECATED) || defined (GDK_COMPILATION)
-/* Used by gdk_colors_store () */
-void gdk_colormap_change (GdkColormap *colormap,
- gint ncolors);
-#endif
-
-gint gdk_colormap_alloc_colors (GdkColormap *colormap,
- GdkColor *colors,
- gint ncolors,
- gboolean writeable,
- gboolean best_match,
- gboolean *success);
-gboolean gdk_colormap_alloc_color (GdkColormap *colormap,
- GdkColor *color,
- gboolean writeable,
- gboolean best_match);
-void gdk_colormap_free_colors (GdkColormap *colormap,
- GdkColor *colors,
- gint ncolors);
-void gdk_colormap_query_color (GdkColormap *colormap,
- gulong pixel,
- GdkColor *result);