Method

GtkWidgetadd_mnemonic_label

since: 2.4

Declaration [src]

void
gtk_widget_add_mnemonic_label (
  GtkWidget* widget,
  GtkWidget* label
)

Description [src]

Adds a widget to the list of mnemonic labels for this widget. (See gtk_widget_list_mnemonic_labels()). Note the list of mnemonic labels for the widget is cleared when the widget is destroyed, so the caller must make sure to update its internal state at this point as well, by using a connection to the GtkWidget::destroy signal or a weak notifier.

Available since: 2.4

Parameters

label

Type: GtkWidget

A GtkWidget that acts as a mnemonic label for widget.

The data is owned by the caller of the method.