Window.getAttachedTo

gtk.widget.Widget getAttachedTo()

Fetches the attach widget for this window. See [gtk.window.Window.setAttachedTo].

Returns

the widget where the window

is attached, or null if the window is not attached to any widget.