RB.FadingImage¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
fallback icon name |
||
r/w/co |
use tooltip |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted when an image is dragged and dropped on the image |
|
Emitted when a URI is dragged and dropped on the image |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class RB.FadingImage(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- set_pixbuf(pixbuf)¶
- Parameters:
pixbuf (
GdkPixbuf.Pixbuf
orNone
) – the next pixbuf to display
Sets the next image to be displayed.
- start(duration)¶
- Parameters:
duration (
int
) – length of fade in milliseconds
Starts fading to the next image. If no next image has been supplied, the fallback image will be used instead. If the next image has been supplied, but has not finished loading yet, the fade will be delayed until it finishes. If the previous fade has not yet finished, something tricky happens.
Signal Details¶
- RB.FadingImage.signals.pixbuf_dropped(fading_image, pixbuf)¶
- Signal Name:
pixbuf-dropped
- Flags:
- Parameters:
fading_image (
RB.FadingImage
) – The object which received the signalpixbuf (
GdkPixbuf.Pixbuf
) – the pixbuf that was dropped
Emitted when an image is dragged and dropped on the image
- RB.FadingImage.signals.uri_dropped(fading_image, uri)¶
- Signal Name:
uri-dropped
- Flags:
- Parameters:
fading_image (
RB.FadingImage
) – The object which received the signaluri (
str
) – the URI that was dropped
Emitted when a URI is dragged and dropped on the image
Property Details¶
- RB.FadingImage.props.fallback¶
- Name:
fallback
- Type:
- Default Value:
- Flags:
Name of an icon to display when no image is available.