Snapd.Screenshot¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Height of screenshot in pixels |
||
r/w/co |
URL for this screenshot |
||
r/w/co |
Width of screenshot in pixels |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Snapd.Screenshot(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Snapd.Screenshot
contains screenshot information.New in version 1.0.
- get_height()¶
- Returns:
a height
- Return type:
Get the height of the screenshot in pixels or 0 if unknown.
New in version 1.0.
- get_url()¶
- Returns:
a URL
- Return type:
Get the URL for this screenshot, e.g. “http://example.com/screenshot.png”
New in version 1.0.
Property Details¶
- Snapd.Screenshot.props.height¶
- Name:
height
- Type:
- Default Value:
0
- Flags:
Height of screenshot in pixels
- Snapd.Screenshot.props.url¶
- Name:
url
- Type:
- Default Value:
- Flags:
URL for this screenshot
- Snapd.Screenshot.props.width¶
- Name:
width
- Type:
- Default Value:
0
- Flags:
Width of screenshot in pixels