parameters: (self, bmp_id)
return_statement: return wx.NullBitmap
docstring: Get a mime type bitmap from the theme
          @param bmp_id: Id of filetype bitmap to look up
          @see: L{syntax.synglob}
docstring_summary: Get a mime type bitmap from the theme
          @param bmp_id: Id of filetype bitmap to look up
          @see: L{syntax.synglob}
docstring_tokens: Get a mime type bitmap from the theme @param bmp_id : Id of filetype bitmap to look up @see : L { syntax . synglob }
function: def GetFileBitmap(self, bmp_id):
          """Get a mime type bitmap from the theme
          @param bmp_id: Id of filetype bitmap to look up
          @see: L{syntax.synglob}
  
          """
          path = self.__GetArtPath(wx.ART_MENU, mime=True)
          if path is not None and bmp_id in SYNTAX_IDS:
              if bmp_id in MIME_ART:
                  req = path + MIME_ART[bmp_id]
                  if os.path.exists(req):
                      return wx.Bitmap(req, wx.BITMAP_TYPE_PNG)
  
              # Try to fall back to bmp for plain text when above is not found
              bkup = path + MIME_ART[synglob.ID_LANG_TXT]
              if os.path.exists(bkup):
                  return wx.Bitmap(bkup, wx.BITMAP_TYPE_PNG)
  
          return wx.NullBitmap
function_tokens: def GetFileBitmap ( self , bmp_id ) : path = self . __GetArtPath ( wx . ART_MENU , mime = True ) if path is not None and bmp_id in SYNTAX_IDS : if bmp_id in MIME_ART : req = path + MIME_ART [ bmp_id ] if os . path . exists ( req ) : return wx . Bitmap ( req , wx . BITMAP_TYPE_PNG ) # Try to fall back to bmp for plain text when above is not found bkup = path + MIME_ART [ synglob . ID_LANG_TXT ] if os . path . exists ( bkup ) : return wx . Bitmap ( bkup , wx . BITMAP_TYPE_PNG ) return wx . NullBitmap