Secure Global Desktop Administration Guide > Applets > unregisterProperty (X emulator applet)

unregisterProperty (X emulator applet)

Syntax

void unregisterProperty(window, property)

Description

The unregisterProperty method tells Secure Global Desktop to stop checking for changes in a previously registered X property.

window is the name of the X window whose property you want to unregister. (This name is contained in the X window's WM_NAME X property.) Use an empty string ("") to specify the root window.

property is the name of the X property you want to unregister. For example, the WM_COMMAND X property contains the command used to start the application that the X window is displaying.

Unregistering X properties when you're finished with them helps keep performance overheads to a minimum.

Note Once you've unregistered an X property in this way, you won't be able to use the getProperty method to retrieve its value.

Examples

See the example for the registerProperty method to see how unregisterProperty is used.

Related topics