parameters: (self, client, mime=False)
docstring: Gets the path of the resource directory to get
          the bitmaps from.
          @param client: wx.ART_MENU/wx.ART_TOOLBAR
          @keyword mime: is this a filetype icon lookup
          @return: path of art resource
          @rtype: string
docstring_summary: Gets the path of the resource directory to get
          the bitmaps from.
          @param client: wx.ART_MENU/wx.ART_TOOLBAR
          @keyword mime: is this a filetype icon lookup
          @return: path of art resource
          @rtype: string
docstring_tokens: Gets the path of the resource directory to get the bitmaps from . @param client : wx . ART_MENU / wx . ART_TOOLBAR @keyword mime : is this a filetype icon lookup @return : path of art resource @rtype : string
function: def __GetArtPath(self, client, mime=False):
          """Gets the path of the resource directory to get
          the bitmaps from.
          @param client: wx.ART_MENU/wx.ART_TOOLBAR
          @keyword mime: is this a filetype icon lookup
          @return: path of art resource
          @rtype: string
  
          """
          clients = { wx.ART_MENU : u"menu",
                      wx.ART_TOOLBAR : u"toolbar",
                      wx.ART_OTHER : u"other" }
  
          # Get the path
          if ed_glob.CONFIG['THEME_DIR'] == u'':
              theme = util.ResolvConfigDir(os.path.join(u"pixmaps", u"theme"))
              ed_glob.CONFIG['THEME_DIR'] = theme
  
          if mime:
              path = os.path.join(ed_glob.CONFIG['THEME_DIR'],
                                  self.GetName(), u'mime')
          else:
              path = os.path.join(ed_glob.CONFIG['THEME_DIR'],
                                  self.GetName(),
                                  clients.get(client, u"menu"))
  
          path += os.sep
          if os.path.exists(path):
              return path
          else:
              return None
function_tokens: def __GetArtPath ( self , client , mime = False ) : clients = { wx . ART_MENU : u"menu" , wx . ART_TOOLBAR : u"toolbar" , wx . ART_OTHER : u"other" } # Get the path if ed_glob . CONFIG [ 'THEME_DIR' ] == u'' : theme = util . ResolvConfigDir ( os . path . join ( u"pixmaps" , u"theme" ) ) ed_glob . CONFIG [ 'THEME_DIR' ] = theme if mime : path = os . path . join ( ed_glob . CONFIG [ 'THEME_DIR' ] , self . GetName ( ) , u'mime' ) else : path = os . path . join ( ed_glob . CONFIG [ 'THEME_DIR' ] , self . GetName ( ) , clients . get ( client , u"menu" ) ) path += os . sep if os . path . exists ( path ) : return path else : return None