Function

Wnck-3.0Wnckxid_read_resource_usageSince 2.6

  • 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: Gdk.Display

      a GdkDisplay.

    • xid: number

      an X window ID.

    • usage: ResourceUsage

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

    Returns void

    2.6