Qball's Weblog

Beati pauperes spiritu

Something I Didn’t Know, but About as Useful as It Gets.

I needed to detect if the tray icon is embedded, or looses it.
There is not a signal for that in GtkStatusIcon.
And I got the following tip:
You can connect a signal to a G::Objects property. Just bind a signal to: “notify:: ” in my case: “notify::embedded”.

Now I hopefully never forget.