NAME
XDeleteProperty − delete a window property.
Synopsis
XDeleteProperty(display, w, property)
Display *display;
Window w;
Atom property;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
wSpecifies the ID of the window whose property you want to delete.
propertySpecifies the atom of the property to be deleted.
Description
XDeleteProperty() deletes a window property, so that it no longer contains any data. Its atom, specified by property, still exists after the call so that it can be used again later by any application to set the property once again. If the property was defined on the specified window, XDeleteProperty() generates a PropertyNotify event. See the introduction to properties in Volume One, Chapter 2, X Concepts, or more detailed information in Volume One, Chapter 10, Interclient Communication.
Errors
BadAtom
BadWindow
See Also
XChangeProperty(), XGetFontProperty(), XGetWindowProperty(), XInternAtom(), XListProperties(), XRotateWindowProperties(), XSetStandardProperties().
Copyright O’Reilly & Assoc. —