Re: GtkToggleAction problem



It would be inconsistent with all other GTK widgets.

Have you tried g_signal_add_emission_hook and g_signal_stop_emission ?
or g_signal_handlers_block_by_func?

Regards,

Yu
On Mon, 2009-04-06 at 23:29 +0400, sergey wrote:
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.:)
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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