set_icon_from_gicon
Description:
[
Version ( since =
"2.20" ) ]
public void set_icon_from_gicon (
Icon? gicon,
int size)
Sets the icon of the tooltip (which is in front of the text) to be the icon indicated by gicon
with the size indicated by
size
.
If gicon
is null, the image will be hidden.
Parameters:
this |
a Tooltip
|
gicon |
a Icon representing the icon, or null
|
size |
a stock icon size (IconSize)
|