XDeleteProperty()XDeleteProperty()NameXDeleteProperty – 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.
DescriptionXDeleteProperty() deletes a window property, so that it no longer con‐
tains 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 Con‐
cepts, or more detailed information in Volume One, Chapter 12, Inter‐
client Communication.
Errors
BadAtom
BadWindow
See AlsoXChangeProperty(), XGetAtomName(), XGetFontProperty(), XGetWindowProp‐
erty(), XInternAtom(), XListProperties(), XRotateWindowProperties(),
XSetStandardProperties().
Xlib - Properties XDeleteProperty()