Skip to content

API Reference / @gtkx/react / index / useApplication

Variable: useApplication

const useApplication: () => Gtk.Application

Defined in: hooks/use-application.d.ts:7

Returns the Gtk.Application provided by the nearest GtkApplication ancestor, throwing if used outside one.

Returns

Gtk.Application

Released under the MPL-2.0 License.