You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
693 B

  1. Display images and icons in tree view
  2. =====================================
  3. This module defines a tree image widget, to be used with either binary fields
  4. or (function) fields of type character. Use widget='tree_image' in your view
  5. definition. Optionally, set a 'height' tag. Default height is 16px.
  6. If you use the widget with a character field, the content of the field can be
  7. any of the following:
  8. * the absolute or relative location of an image. For example,
  9. "/<module>/static/src/img/youricon.png"
  10. * a standard icon from the web distribution, without path or extension, For
  11. example, 'gtk-open'
  12. * A dynamic image in a data url base 64 format. Prefix with
  13. 'data:image/png;base64,'