GimpUi.get_display_window
function get_display_window(display: Gimp.Display): Gdk.Window {
// Gjs wrapper for gimp_ui_get_display_window()
}
Returns the Gdk.Window of a display window. The purpose is to allow to make plug-in dialogs transient to the image display as explained with gdk_window_set_transient_for().
You shouldn't have to call this function directly. Use GimpUi.window_set_transient_for_display instead.
Since 2.4
- display
a Gimp.Display.
- Returns
A reference to a Gdk.Window or null. You should unref the window using g_object_unref() as soon as you don't need it any longer.