]>
Dogcows Code - chaz/openbox/blob - cwmcc/prop.h
c046f5b8b9653c2c20d90cce94b91e4643359ae7
7 /* with the exception of prop_get32, all other prop_get_* functions require
8 you to free the returned value with g_free or g_strfreev (for the char**s)
11 gboolean
prop_get32(Window win
, Atom prop
, Atom type
, gulong
*ret
);
13 gboolean
prop_get_array32(Window win
, Atom prop
, Atom type
, gulong
**ret
,
16 gboolean
prop_get_string(Window win
, Atom prop
, Atom type
, char **ret
);
18 /*! Gets a string from a property which is stored in UTF-8 encoding. */
19 gboolean
prop_get_string_utf8(Window win
, Atom prop
, char **ret
);
21 /*! Gets a string from a property which is stored in the current local
22 encoding. The returned string is in UTF-8 encoding. */
23 gboolean
prop_get_string_locale(Window win
, Atom prop
, char **ret
);
25 /*! Gets a null terminated array of strings from a property which is stored in
27 gboolean
prop_get_strings_utf8(Window win
, Atom prop
, char ***ret
);
29 /*! Gets a null terminated array of strings from a property which is stored in
30 the current locale encoding. The returned string is in UTF-8 encoding. */
31 gboolean
prop_get_strings_locale(Window win
, Atom prop
, char ***ret
);
33 /*! Sets a null terminated array of strings in a property encoded as UTF-8. */
34 void prop_set_strings_utf8(Window win
, Atom prop
, char **strs
);
36 void prop_erase(Window win
, Atom prop
);
This page took 0.036171 seconds and 4 git commands to generate.