From 779f9e5071dfb2ecf96b8cd491f8cf019e7a3c64 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Thu, 16 Feb 2023 08:47:06 +0100 Subject: [PATCH] widget: mention action_set_enabled in install_action When looking at `gtk_widget_class_install_action()`, it isn't immediately obvious how actions can be enabled or disabled. Add a reference to the `gtk_widget_action_set_enabled()` method so people have a quick link to that. --- gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index ac732533ef..a88dd0cd14 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -12598,7 +12598,8 @@ gtk_widget_class_add_action (GtkWidgetClass *widget_class, * actions to be added for all instances of this class. * * Actions installed by this function are stateless. The only state - * they have is whether they are enabled or not. + * they have is whether they are enabled or not (which can be changed with + * [method@Gtk.Widget.action_set_enabled]). */ void gtk_widget_class_install_action (GtkWidgetClass *widget_class,