gtk_window_set_icon_list



I What Like An Example Or Some Better Explanation On
How To Use gtk_window_set_icon_list.
I Have Managed To get gtk_window_set_icon To Work But
Not When Using A GList.
Here Is A Snippit Of The Relevent Code.
:snippit:
GList *Main_Icon_List=NULL;
gchar *Main_Icon_Names[6][13]= { "micon16.png",
"micon32.png", "micon48.png", "micon64.png",
"micon128.png" };
GdkPixbuf *Icon;

Icon = gdk_pixbuf_new_from_file(Main_Icon_Names[0],
NULL);
g_list_append(Main_Icon_List, Icon);
gtk_window_set_icon_list(GTK_WINDOW(Window),
Main_Icon_List);
:end:

mjaz

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



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