I've tried various methods
I've read the docs here https://docs.flatpak.org/en/latest/port ... tification
portal docs wrote: icon v
Serialized icon (see g_icon_serialize()).
The portal only accepts serialized GThemedIcon and GBytesIcons.
Both of these have the form (sv).
For themed icons, the string is "themed", and the value is an array of strings containing the icon names.
For bytes icons, the string is "bytes", and the value is a bytestring containing the icon data in png, jpeg or svg form.
For historical reasons, it is also possible to send a simple string for themed icons with a single icon name.
There may be further restrictions on the supported kinds of icons.
Dim cNotification As Collection
Dim s As String = User.Home & "/Pictures/Me.png"
cNotification = ["icon": ["themed": s], "title": Title, "body": "\n" & Text & "\n", "priority": $aPriorities[Priority]]
DBus["session://org.freedesktop.portal.Desktop"]["/org/freedesktop/portal/desktop", "org.freedesktop.portal.Notification"].AddNotification(Application.Id, cNotification)
I've tried as an array [s]
Ive tried as a direct string
Dim s As String = File.Load(User.Home & "/Pictures/Me.png")
cNotification = ["icon": ["bytes": s], "title": Title, "body": "\n" & Text & "\n", "priority": $aPriorities[Priority]]
looking like i may need extern library function to get g_icon_serialize() and make a proper GIcon
Or to find someone who knows a way to do this