message dialog box/signal question
- From: Casey Creighton <lost 7pks net>
- To: gtk-app-devel-list gnome org
- Subject: message dialog box/signal question
- Date: Wed, 1 Jan 2003 23:32:03 -0700
I can't seem to figure out what selection the user chose when presented with a
message dialog box, here is the code creating the widget.
GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW(window),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
"Current message changed, would you like to save it?");
g_signal_connect(GTK_OBJECT (dialog), "response",
G_CALLBACK (saveCallback), ???);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
as you can see there is the ??? as the 4th param for g_signal_connect(), i
don't know what to pass there, or how to get the data.
thanks in advance for the help.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]