Ejemplo n.º 1
0
    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
Ejemplo n.º 2
0
    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