(no subject)



I have recently tried the new GTK+ About Dialog box (on Windows) and I have a
couple of questions:

1. When I open the about dialog box and then close it everything is fine, but if
I open the about dialog box, then open the credits dialog box, then close the
credits dialog box and then the about dialog box, my whole application shuts
down!  Here is my code:

static void mwc_on_Help_About_activate(GtkMenuItem* menuitem,MwcObject* mwc_object)
{
        char* authors[] = {
                            "Richard Gipps <rgipps netspace net au>",
                            NULL
                          };

        gtk_show_about_dialog(GTK_WINDOW(mwc_object->main_window_ptr),
                                                  "name","P-Syn",
                                                  "version","0.4.0",
                                                  "copyright","Copyright (C) 2004-2005 Richard Gipps",
                                                  "authors",authors,
                                                  NULL);
}

2.  I have a windows Icon file I would like to use in the about box.  What is
the most convenient way to use the "icon" porpoerty to add this icon in?

Richard. 


------------------------------------------------------------
This email was sent from Netspace Webmail: http://www.netspace.net.au




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