def get(self, path, isdir, icon_size=ICON_SIZE):
file_type = self.get_mime(path, isdir)<EOL>key = (file_type, icon_size)<EOL>if key in self._data:<EOL><INDENT>return (self._data.get(key), file_type)<EOL><DEDENT>themed_icon = Gio.content_type_get_icon(file_type)<EOL>icon_names = themed_icon.to_string().split('<STR_LIT:U+0020>')[<NUM_LIT:2>:]<EOL>icon_info = self.app.icon_theme.choose_icon(icon_names, icon_size,<EOL>Gtk.IconLookupFlags.GENERIC_FALLBACK)<EOL>if icon_info:<EOL><INDENT>pixbuf = icon_info.load_icon()<EOL>self._data[key] = pixbuf<EOL>return (pixbuf, file_type)<EOL><DEDENT>else:<EOL><INDENT>key = (UNKNOWN, icon_size)<EOL>pixbuf = self._data.get(key, None)<EOL>if not pixbuf:<EOL><INDENT>pixbuf = self.get('<STR_LIT>', isdir, icon_size)[<NUM_LIT:0>]<EOL><DEDENT>return (pixbuf, file_type)<EOL><DEDENT>
取得一个缩略图.

        path - 文件的路径, 可以包括绝对路径, 也可以是文件名.
        isdir - 是否为一个目录.
        icon_size - 图标的大小, 如果是显示在IconView中的, 48就可以;
                    如果是显示在TreView的话, 可以用Gtk.IconSize.MENU

        @return 会返回一个Pixbuf以象, 和这个文件的类型(MIME)