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.
This commit is contained in:
Niels De Graef 2023-02-16 08:47:06 +01:00
parent 1bdb368e8b
commit 779f9e5071

View File

@ -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,