Re: How do I know what signal triggered a callback?

"Daniel M. German" <> writes:

> well, I am learning that a selection one of radio button group in a
> menu creates two callbacks: one to unselect the current selection and
> one to select the new one. 
> I am using GNOMEUIINFO_RADIOITEM_DATA to create the radio button and
> attach automatically the callback.
> The question is, can I know what signal triggered the callback?  If
> so, how? 

static void
my_radio_toggled_callback (GtkToggleButton *toggle, gpointer data)
	if (!toggle->active)

	/* do something */


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