From: Niels De Graef Date: Thu, 16 Feb 2023 07:47:06 +0000 (+0100) Subject: widget: mention action_set_enabled in install_action X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~6^2~71^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=779f9e5071dfb2ecf96b8cd491f8cf019e7a3c64;p=gtk4.git 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. --- 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,