take_screenshot
Description:
public async string? take_screenshot (Parent? parent, ScreenshotFlags flags, Cancellable? cancellable) throws Error
Takes a screenshot.
When the request is done, callback
will be called. You can then call [method@Portal.take_screenshot_finish] to get the results.
Parameters:
this |
a [class@Portal] |
parent |
parent window information |
flags |
options for this call |
cancellable |
optional [class@Gio.Cancellable] |
callback |
a callback to call when the request is done |
data |
data to pass to |