GTK_ACCESSIBLE_STATE_PRESSED, is_active,
-1);
- gtk_toggle_button_toggled (toggle_button);
+ g_signal_emit (toggle_button, toggle_button_signals[TOGGLED], 0);
g_object_notify_by_pspec (G_OBJECT (toggle_button), toggle_button_props[PROP_ACTIVE]);
}
*
* Emits the ::toggled signal on the `GtkToggleButton`.
*
- * There is no good reason for an application ever to call this function.
+ * Deprecated: 4.10: There is no good reason for an application ever to call this function.
*/
void
gtk_toggle_button_toggled (GtkToggleButton *toggle_button)
gboolean is_active);
GDK_AVAILABLE_IN_ALL
gboolean gtk_toggle_button_get_active (GtkToggleButton *toggle_button);
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_4_10
void gtk_toggle_button_toggled (GtkToggleButton *toggle_button);
GDK_AVAILABLE_IN_ALL
void gtk_toggle_button_set_group (GtkToggleButton *toggle_button,