Gimp.Display.prototype.get_id
function get_id(): Number(gint32) {
// Gjs wrapper for gimp_display_get_id()
}
Note: in most use cases, you should not need a display's ID which is mostly internal data and not reusable across sessions.
Since 3.0
- Returns
the display ID.