XDeleteProperty() XDeleteProperty()
Name
XDeleteProperty - delete a window property.
Synopsis
XDeleteProperty(display, w, property)
Display *display;
Window w;
Atom property;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
w Specifies the ID of the window whose property you want to delete.
property Specifies 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 speci-
fied 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 12, Inter-
client Communication.
Errors
BadAtom
BadWindow
See Also
XChangeProperty(), XGetAtomName(), XGetFontProperty(), XGetWindowProperty(), XInternAtom(), XListProperties(), XRotateWindowProperties(),
XSetStandardProperties().
Xlib - Properties XDeleteProperty()