I have been coding for a while now in purebasic but only under windows

So here is my question: is there a way to do a systray icon under pb linux ?
I already tried to open "libgtkmm2.0.so" and callfunction "gtk_status_icon_new_from_file" but with no success so far

If anyone know an answer I'd be really grateful.
Thanks