calling sequence



In my code I have a sequence of statements that look like this:

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.

Thanks for any help,

Lourdes T. Maldonado



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