[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( deprecated = true , deprecated_since = "4.18.1" , since = "4.8" ) ]
public PanelImage.from_source (string? source)
Warning: PanelImage.from_source is deprecated since 4.18.1.
Creates a new PanelImage displaying source.
Use Image and panel_set_image_from_source instead.
PanelImage will detect if source points to an absolute file or it and
icon-name. For icon-names it will also look for files in the pixbuf folder or strip the extensions, which makes it suitable for usage with
icon keys in .desktop files.
| source |
source of the image. This can be an absolute path or an icon-name or null. |
|
a newly created XfcePanelImage widget. |