Where GTK finds icon names to use with gtk_image_new_from_icon_name()?

后端 未结 3 1184
时光取名叫无心
时光取名叫无心 2021-02-07 07:28

GTK can construct images by name of the \"icon from current icon theme\". For example:

#!/usr/bin/env python
import gtk; wnd=gtk.Window(); img=gtk.Image();
img.s         


        
3条回答
  •  不要未来只要你来
    2021-02-07 08:23

    The names are in the Icon Naming Specification. If this doesn't work on Windows or OSX, then report it as a bug - GTK needs at least one icon theme installed in order to work properly.

提交回复
热议问题