Closing a window ?



I am trying to close a window (dialog box) which would return me back to
the main window.

Below I am showing how I am trying to close the dialog but obviously
dosen't work.

What am I doing wrong ?

Pete



void on_buttonCancel_clicked(GtkButton *button,gpointer user_data)
{
	GtkWidget *commswindow;
	commswindow = create_commswindow();
	gtk_widget_hide(commswindow);
}




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