Hari Prasad Nadig wrote:
within a dialog box called 'popup',
I've this cancel button in the action area..
button = gtk_button_new_with_label ("Cancel");
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (close_dialog), (gpointer) popup);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (popup)->
On Sun, 2003-11-30 at 08:52, Hari Prasad Nadig wrote:
[Snip]
> Basically, I'm trying to put a cancel button which closes the dialog..
>
> Is this a proper method or is there any 'proper' way of doing this?
How about using a GtkDialog?
http://developer.gnome.org/doc/API/2.0/gtk/G
within a dialog box called 'popup',
I've this cancel button in the action area..
button = gtk_button_new_with_label ("Cancel");
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (close_dialog), (gpointer) popup);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (popup)->action_area),