From e3c1bed1e977f06fa63fa4baf57c79fe7df8b965 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 28 Mar 2022 15:20:01 -0700 Subject: glimmer: realize GtkEntry settings on "focus-out-event" too Improve settings to properly realize changes in the GtkEntry widgets without relying on "activate" (Enter) exclusively. Now when such widgets lose focus their value is committed and the settings panel rebuilt to reflect any value-dependent changes. This requires some contortions since GTK+ really doesn't like having its widgets rearranged/destroyed from their signal callbacks. So now a settings change just queues a rebuild to be performed as an idle callback, for both the "activate" and "focus-out-event" cases. In the course of rebuilding the settings panel, its vbox gets replaced with a newly constructed one. This requires some manual preservation of widget focus for things like Tab-based relative setting navigation/manipulation to function properly. --- rototiller | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rototiller') diff --git a/rototiller b/rototiller index ee8e232..9d4abba 160000 --- a/rototiller +++ b/rototiller @@ -1 +1 @@ -Subproject commit ee8e2327cda0fd093cb6660f98cc43b4e8f23296 +Subproject commit 9d4abba0d4f80b691cffea53322f0a4912653d25 -- cgit v1.2.3