Method
ShellScreenshotpick_color
Declaration [src]
void
shell_screenshot_pick_color (
  ShellScreenshot* screenshot,
  int x,
  int y,
  GAsyncReadyCallback callback,
  gpointer user_data
)
Description [src]
Picks the pixel at x, y and returns its color as CoglColor.
This method completes asynchronously. Use shell_screenshot_pick_color_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
- x
- 
            Type: intThe X coordinate to pick. 
- y
- 
            Type: intThe Y coordinate to pick. 
- callback
- 
            Type: GAsyncReadyCallbackFunction to call returning success or failure of the async grabbing. The argument can be NULL.
- user_data
- 
            Type: gpointerNo description available. The argument can be NULL.The data is owned by the caller of the method.