Logo Search packages:      
Sourcecode: jockey version File versions  Download package

def jockey::ui::AbstractUI::get_handler_tooltip (   self,
  handler 
)

Format handler rationale as a tooltip.

Return None if the handler is None or does not have a rationale.

Definition at line 157 of file ui.py.

00157                                           :
        '''Format handler rationale as a tooltip.

        Return None if the handler is None or does not have a rationale.
        '''
        try:
            tip = ''
            for par in handler.rationale().split('\n'):
                if tip:
                    tip += '\n'
                tip += '\n'.join(textwrap.wrap(par, 60))
            return tip
        except AttributeError:
            return None

    def parse_argv(self):


Generated by  Doxygen 1.6.0   Back to index