diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-03-28 15:20:01 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-03-28 15:35:43 -0700 |
commit | e3c1bed1e977f06fa63fa4baf57c79fe7df8b965 (patch) | |
tree | 9d09034ceda6b2d272e80e36d0692d2fed60f757 /src/gtk_fb.c | |
parent | 0da5c78ec1b13044d3b6e6211c4e74e0599eb9fe (diff) |
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.
Diffstat (limited to 'src/gtk_fb.c')
0 files changed, 0 insertions, 0 deletions