GtkToggleAction problem



Hello!

I wish to switch state GtkToggleAction without a signal "toggled", but it is
impossible.
Can be to substitute string in a file gtktoggleaction.c
gtk_toggle_action_set_active (action, g_value_get_boolean (value));
on string
action->private_data->active = g_value_get_boolean (value);
Then by means of function g_object_set it will be possible to switch a state
widget without a signal.

Excuse for my English, I Russian.:)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]