new About Dialog Box
- From: Richard Gipps <rgipps netspace net au>
- To: gtk-app-devel-list gnome org
- Subject: new About Dialog Box
- Date: Tue, 08 Feb 2005 10:50:28 +0000
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]