gtk window set icon from stock?
- From: Kang Jeong-Hee <Keizi mail co kr>
- To: gtk-app-devel-list gnome org
- Subject: gtk window set icon from stock?
- Date: Wed, 10 Apr 2002 22:27:15 +0900
I tried following lines of code:
image = gtk_image_new_from_stock( GTK_STOCK_INDEX, GTK_ICON_SIZE_MENU );
pixbuf = gtk_image_get_pixbuf( GTK_IMAGE(image) );
gtk_window_set_icon( GTK_WINDOW(dialog), pixbuf );
but the dialog do have just default white-paper icon.
is there some right routine to set window icon from stock?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]