pyface.viewer.content_viewer module

Abstract base class for all content viewers.

class pyface.viewer.content_viewer.ContentViewer[source]

Bases: pyface.viewer.viewer.Viewer

Abstract base class for all content viewers.

A content viewer is a model-based adapter on some underlying toolkit-specific widget that acceses the model via a content provider and a label provider.

The content provider provides the actual elements in the model. The label provider provides a label for each element consisting of text and/or an image.