Helic.Interpreter.Gtk
Description
Native interpreter for Gtk. Internal.
Gtk
bracketGtk :: Members [Resource, Log, Embed IO] r => (Display -> Sem (Stop Text ': r) a) -> Sem (Stop Text ': r) a Source #
Initialize GTK, run the scoped action, then tear down the GTK environment.
interpretGtk :: Members [Resource, Log, Embed IO] r => InterpreterFor (Scoped Display (Gtk Display) !! Text) r Source #
Interpret Gtk natively, using the GI.Gtk and Gi.Gdk libraries. This uses Scoped to bracket the initialization and termination of the GTK environment.
Scoped