Gtk.StatusIcon.prototype.get_x11_window_id

function get_x11_window_id():guint32 {
    // Gjs wrapper for gtk_status_icon_get_x11_window_id()
}

This function is only useful on the X11/freedesktop.org platform. It returns a window ID for the widget in the underlying status icon implementation. This is useful for the Galago notification service, which can send a window ID in the protocol in order for the server to position notification windows pointing to a status icon reliably.

This function is not intended for other use cases which are more likely to be met by one of the non-X11 specific methods, such as Gtk.position_menu.

Since 2.14

Returns

An 32 bit unsigned integer identifier for the underlying X11 Window