def get_display(self): widget = Widget() checkbox = CheckboxWdg(self.get_input_name()) widget.add(checkbox) where = self.get_option("where") count = Clipboard.get_count(where=where) widget.add("Copy from clipboard: ( %s items )" % count) return widget