gdkproperty.h

Go to the documentation of this file.
00001 #ifndef __GDK_PROPERTY_H__
00002 #define __GDK_PROPERTY_H__
00003 
00004 #include <gdk/gdktypes.h>
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif                          /* __cplusplus */
00009 
00010    typedef enum {
00011       GDK_PROP_MODE_REPLACE,
00012       GDK_PROP_MODE_PREPEND,
00013       GDK_PROP_MODE_APPEND
00014    } GdkPropMode;
00015 
00016    GdkAtom gdk_atom_intern(const gchar * atom_name,
00017                            gboolean only_if_exists);
00018    gchar *gdk_atom_name(GdkAtom atom);
00019 
00020    gboolean gdk_property_get(GdkWindow * window,
00021                              GdkAtom property,
00022                              GdkAtom type,
00023                              gulong offset,
00024                              gulong length,
00025                              gint pdelete,
00026                              GdkAtom * actual_property_type,
00027                              gint * actual_format,
00028                              gint * actual_length, guchar ** data);
00029    void gdk_property_change(GdkWindow * window,
00030                             GdkAtom property,
00031                             GdkAtom type,
00032                             gint format,
00033                             GdkPropMode mode,
00034                             const guchar * data, gint nelements);
00035    void gdk_property_delete(GdkWindow * window, GdkAtom property);
00036 
00037    gint gdk_text_property_to_text_list(GdkAtom encoding,
00038                                        gint format,
00039                                        const guchar * text,
00040                                        gint length, gchar *** list);
00041    void gdk_free_text_list(gchar ** list);
00042    gint gdk_string_to_compound_text(const gchar * str,
00043                                     GdkAtom * encoding,
00044                                     gint * format,
00045                                     guchar ** ctext, gint * length);
00046    void gdk_free_compound_text(guchar * ctext);
00047 
00048 #ifdef __cplusplus
00049 }
00050 #endif                          /* __cplusplus */
00051 #endif                          /* __GDK_PROPERTY_H__ */

Generated on Tue Jul 5 14:14:38 2011 for ROOT_528-00b_version by  doxygen 1.5.1