[clue-tech] answer to Gtk/GNOME problems

Rick Burton psybercelt at gmail.com
Thu Jan 31 16:09:02 MST 2008


Dennis,

Apologies for the slow response - a bit of a family emergency has been upon
us. I'll be looking at the existing bugs such as this one that you are
addressing very soon. Talk to you at the Feb CLUE if not before!

-Rick

On Jan 9, 2008 9:51 PM, Dennis J Perkins <dennisjperkins at comcast.net> wrote:

> Assuming that I remember what you showed me yesterday, I think these
> might help you.
>
> 1. Clicking on the Close button does nothing.
>
> You need to connect the "destroy" signal to a signal handler.  You might
> need to do this for the "delete" event too, but I'm not sure exactly
> what this does.  You probably want to use the same exit routine that is
> calle from the menu.
>
> Look for the line containing g_signal_connect (G_OBJECT (window),
> "destroy", G_CALLBACK (destroy), NULL);
>
> http://www.gtk.org/tutorial/c39.html#SEC-HELLOWORLD
>
>
> 2. You need to destroy the dialog when you are done.  This is an example
> I got from the Internet.
>
>  GtkWidget * about_dlg;
>  about_dlg = create_aboutdialog ();
>  gtk_dialog_run (GTK_DIALOG (about_dlg ));
>  gtk_widget_destroy (about_dlg);
>
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20080131/db37d1d9/attachment.html


More information about the clue-tech mailing list