xid_read_resource_usage


Description:


public void xid_read_resource_usage (Display gdk_display, ulong xid, ResourceUsage usage)

Looks for the X resource usage of the application owning the X window ID xid on display gdisplay.

If no resource usage can be found, then all fields of usage are set to 0.

To properly work, this function requires the XRes extension on the X server.

Parameters:

gdk_display

a <classname>GdkDisplay</classname>.

xid

an X window ID.

usage

return location for the X resource usage of the application owning the X window ID xid.


Namespace: Wnck
Package: libwnck-1.0