xid_read


Description:

[ CCode ( cname = "wnck_xid_read_resource_usage" ) ]
public static ResourceUsage xid_read (Display gdk_display, ulong xid)

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 Display.

xid

an X window ID.

usage

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