(self, style, query_opt=None, **kw)
return {k: _list_from_statespec(self.tk.splitlist(v))
                for k, v in _splitdict(self.tk, result).items()}
Query or sets dynamic values of the specified option(s) in
        style.

        Each key in kw is an option and each value should be a list or a
        tuple (usually) containing statespecs grouped in tuples, or list,
        or something else of your preference. A statespec is compound of
        one or more states and then a value.
Query or sets dynamic values of the specified option(s) in
        style.
Query or sets dynamic values of the specified option ( s ) in style .
def map(self, style, query_opt=None, **kw):
        """Query or sets dynamic values of the specified option(s) in
        style.

        Each key in kw is an option and each value should be a list or a
        tuple (usually) containing statespecs grouped in tuples, or list,
        or something else of your preference. A statespec is compound of
        one or more states and then a value."""
        if query_opt is not None:
            result = self.tk.call(self._name, "map", style, '-%s' % query_opt)
            return _list_from_statespec(self.tk.splitlist(result))

        result = self.tk.call(self._name, "map", style, *_format_mapdict(kw))
        return {k: _list_from_statespec(self.tk.splitlist(v))
                for k, v in _splitdict(self.tk, result).items()}
def map ( self , style , query_opt = None , * * kw ) : if query_opt is not None : result = self . tk . call ( self . _name , "map" , style , '-%s' % query_opt ) return _list_from_statespec ( self . tk . splitlist ( result ) ) result = self . tk . call ( self . _name , "map" , style , * _format_mapdict ( kw ) ) return { k : _list_from_statespec ( self . tk . splitlist ( v ) ) for k , v in _splitdict ( self . tk , result ) . items ( ) }