mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
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:
parent
1bdb368e8b
commit
779f9e5071
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user