Skip to content

API Reference / @gtkx/react / useParentWindow

Variable: useParentWindow

const useParentWindow: () => Gtk.Window | null

Defined in: react/dist/hooks/use-parent-window.d.ts:7

Returns the Gtk.Window provided by the nearest window ancestor, or null when there is none.

Returns

Gtk.Window | null

Released under the MPL-2.0 License.