def widgets(self):
        '''
        List widgets with filter return True for this node (or without filter).

        Remove button is prepended if :property:can_remove returns true.

        :returns: list of widgets
        :rtype: list of namedtuple instances
        '''
        widgets = []
        if self.can_remove:
            widgets.append(
                self.plugin_manager.create_widget(
                    'entry-actions',
                    'button',
                    file=self,
                    css='remove',
                    endpoint='remove'
                    )
                )
        return widgets + self.plugin_manager.get_widgets(file=self)
def widgets ( self ) : widgets = [ ] if self . can_remove : widgets . append ( self . plugin_manager . create_widget ( 'entry-actions' , 'button' , file = self , css = 'remove' , endpoint = 'remove' ) ) return widgets + self . plugin_manager . get_widgets ( file = self )
List widgets with filter return True for this node (or without filter).

        Remove button is prepended if :property:can_remove returns true.

        :returns: list of widgets
        :rtype: list of namedtuple instances