class ImageView(Gtk.Layout): (source)
| Method | __init__ |
Constructor @param bgcolor: background color as color hex code, (e.g. "#FFF") |
| Method | on_size_allocate |
Undocumented |
| Method | set_bgcolor |
Set background color @param bgcolor: background color as color hex code, (e.g. "#FFF") |
| Method | set_file |
Set the image to display from a file @param file: a File object |
| Method | set_pixbuf |
Set the image to display from a pixbuf @param pixbuf: a GdkPixbuf.Pixbuf or None to display a broken image icon. |
| Method | set_scaling |
No summary |
| Constant | SCALE_FIT |
Undocumented |
| Constant | SCALE_STATIC |
Undocumented |
| Instance Variable | factor |
Undocumented |
| Instance Variable | scaling |
Undocumented |
| Method | _render |
Undocumented |
| Instance Variable | _image |
Undocumented |
| Instance Variable | _pixbuf |
Undocumented |
| Instance Variable | _render_size |
Undocumented |
| Instance Variable | _render_timeout |
Undocumented |
| Parameters | |
| pixbuf | a GdkPixbuf.Pixbuf or None to display a broken image icon. |