From 1e9b01bab9822076363efd60727a9b28531246a6 Mon Sep 17 00:00:00 2001 From: James Westman Date: Sun, 5 Jan 2025 15:26:25 -0600 Subject: [PATCH] gtk_a11y: Add new state and property --- blueprintcompiler/language/gtk_a11y.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blueprintcompiler/language/gtk_a11y.py b/blueprintcompiler/language/gtk_a11y.py index 7f90b6e..2a895ef 100644 --- a/blueprintcompiler/language/gtk_a11y.py +++ b/blueprintcompiler/language/gtk_a11y.py @@ -31,6 +31,7 @@ def get_property_types(gir: gir.GirContext) -> T.Dict[str, T.Optional[GirType]]: "autocomplete": gir.get_type("AccessibleAutocomplete", "Gtk"), "description": StringType(), "has-popup": BoolType(), + "help-text": StringType(), "key-shortcuts": StringType(), "label": StringType(), "level": IntType(), @@ -86,6 +87,7 @@ def get_state_types(gir: gir.GirContext) -> T.Dict[str, T.Optional[GirType]]: "invalid": gir.get_type("AccessibleInvalidState", "Gtk"), "pressed": gir.get_type("AccessibleTristate", "Gtk"), "selected": BoolType(), + "visited": BoolType(), }