Re: calling sequence



>void functionCall1(gboolen value1)
>{
>	if (retCode)
>	{
>		functionCall2();
>
>		if (value1)
>		{
>			gtk_toggle_button_set_active(toggle1, TRUE);
>		}
>
>		functionCall3();
>	}
>}
>
>/* Callback for toggle signal for toggle1 widget */
>on_toggle1_toggle(GtkToggleButton *togglebutton,
>		   gpointer user_data)
>{
>}
>
>My question is, If value1 is TRUE, Will the toggle callback be serviced
>before the call to functionCall3() is executed.

yes.

--p



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