Gtk.Plug.prototype.get_id

function get_id():xlib.Window {
    // Gjs wrapper for gtk_plug_get_id()
}

Gets the window ID of a Gtk.Plug widget, which can then be used to embed this window inside another window, for instance with Gtk.add_id.

Returns

the window ID for the plug