// SPDX-License-Identifier: GPL-3.0-or-later package ui import "github.com/diamondburned/gotk4/pkg/glib/v2" // idleAdd runs f on the GTK main loop. Every widget touch from a goroutine // goes through it. func idleAdd(f func()) { glib.IdleAdd(f) }