[Glade-users] Signal emitted by user or by code?
- From: tvb at gnome.org (Tristan Van Berkom)
- Subject: [Glade-users] Signal emitted by user or by code?
- Date: Fri, 8 Oct 2010 01:03:26 +0900
On Fri, Oct 8, 2010 at 1:00 AM, John Delaney <johndelaney at gmail.com> wrote:
I have a toggle button that's sometimes toggled by a user click, and
at other times by gtk_toggle_button_set_active().
Is there a way of detecting in the signal handler whether the toggle
signal was emitted programmatically or by the user?
typically use g_signal_handlers_block/unblock_by_func() when
updating the toggle button programmatically.
Cheers,
-Tristan
_______________________________________________
Glade-users maillist ?- ?Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]