(self)
return res
Return the value of the control as given by normalized labels.
Return the value of the control as given by normalized labels.
Return the value of the control as given by normalized labels .
def get_value_by_label(self):
        """Return the value of the control as given by normalized labels."""
        res = []
        compat = self._form.backwards_compat
        for o in self.items:
            if (not o.disabled or compat) and o.selected:
                for l in o.get_labels():
                    if l.text:
                        res.append(l.text)
                        break
                else:
                    res.append(None)
        return res
def get_value_by_label ( self ) : res = [ ] compat = self . _form . backwards_compat for o in self . items : if ( not o . disabled or compat ) and o . selected : for l in o . get_labels ( ) : if l . text : res . append ( l . text ) break else : res . append ( None ) return res