From c3ce484b5e804173f0cea4564b35f766df70e992 Mon Sep 17 00:00:00 2001 From: Walter Werner SCHNEIDER Date: Tue, 24 Jun 2025 13:50:59 +0300 Subject: [PATCH] layout: add Values map to Context Fixes: https://todo.sr.ht/~eliasnaur/gio/654 Signed-off-by: Walter Werner SCHNEIDER Signed-off-by: Elias Naur --- layout/context.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layout/context.go b/layout/context.go index 00d52f9b..2554924a 100644 --- a/layout/context.go +++ b/layout/context.go @@ -28,6 +28,10 @@ type Context struct { // Interested users must look up and populate these values manually. Locale system.Locale + // Values is a map of program global data associated with the context. + // It is not for use by widgets. + Values map[string]any + input.Source *op.Ops }