docs: Fix link to GtkLabel.set_mnemonic_widget()

This commit is contained in:
Emmanuele Bassi
2024-01-04 13:48:06 +00:00
parent a8b1c90303
commit 9c71469c67

View File

@@ -131,8 +131,9 @@
* Mnemonics automatically activate any activatable widget the label is
* inside, such as a [class@Gtk.Button]; if the label is not inside the
* mnemonics target widget, you have to tell the label about the target
* using [class@Gtk.Label.set_mnemonic_widget]. Heres a simple example where
* the label is inside a button:
* using [method@Gtk.Label.set_mnemonic_widget].
*
* Heres a simple example where the label is inside a button:
*
* ```c
* // Pressing Alt+H will activate this button