GRASS Programmer's Manual  6.4.2(2012)
grass2_icons.py
Go to the documentation of this file.
00001 """
00002 New GRASS icon set
00003 http://robert.szczepanek.pl/icons.php
00004 https://svn.osgeo.org/osgeo/graphics/toolbar-icons/24x24/
00005 """
00006 __author__ = "Robert Szczepanek"
00007 
00008 import os
00009 
00010 from gui_modules import globalvar
00011 
00012 iconPath = os.path.join(globalvar.ETCDIR, "gui", "icons", "grass2")
00013 
00014 iconSet = dict()
00015 
00016 for icon in os.listdir(iconPath):
00017     name, ext = os.path.splitext(icon)
00018     if ext != '.png':
00019         continue
00020     iconSet[name] = icon
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines