Are stock icons also named icons?



Is it OK to use stock icons as named icons, e.g. using GTK_STOCK_CANCEL
here:

  image1 = g_object_new (GTK_TYPE_IMAGE,
			 "icon_name", GTK_STOCK_CANCEL,
			 "pixel_size", 300,
			 NULL);

Currently this is working fine within Glade itself, but not in the
generated code, and I can't figure out why.

The stock icons are builtin, aren't they? So it can't be a path problem.

Damon





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