Logo Search packages:      
Sourcecode: ion3 version File versions

property.h

/*
 * ion/ioncore/property.h
 *
 * Copyright (c) Tuomo Valkonen 1999-2006. 
 *
 * Ion is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 */

#ifndef ION_IONCORE_PROPERTY_H
#define ION_IONCORE_PROPERTY_H

#include <X11/Xatom.h>

#include "common.h"

extern ulong xwindow_get_property(Window win, Atom atom, Atom type,
                                  ulong n32expected, bool more, uchar **p);
extern char *xwindow_get_string_property(Window win, Atom a, int *nret);
extern void xwindow_set_string_property(Window win, Atom a, const char *value);
extern bool xwindow_get_integer_property(Window win, Atom a, int *vret);
extern void xwindow_set_integer_property(Window win, Atom a, int value);
extern bool xwindow_get_state_property(Window win, int *state);
extern void xwindow_set_state_property(Window win, int state);
extern char **xwindow_get_text_property(Window win, Atom a, int *nret);
extern void xwindow_set_text_property(Window win, Atom a, 
                                      const char **p, int n);

#endif /* ION_IONCORE_PROPERTY_H */


Generated by  Doxygen 1.6.0   Back to index