Lines Matching refs:style
6 TIP #48 (http://tip.tcl.tk/48) specified style engine.
134 """Formats a layout list so we can pass the result to ttk::style
135 layout and ttk::style settings. Note that the layout doesn't have to
193 script.append("ttk::style configure %s %s;" % (name, s))
197 script.append("ttk::style map %s %s;" % (name, s))
204 script.append("ttk::style layout %s {\n%s\n}" % (name, s))
219 script.append("ttk::style element create %s %s %s %s" % (
340 """Manipulate style database."""
342 _name = "ttk::style"
350 def configure(self, style, query_opt=None, **kw):
352 style.
358 result = _val_or_dict(self.tk, kw, self._name, "configure", style)
363 def map(self, style, query_opt=None, **kw):
365 style.
372 result = self.tk.call(self._name, "map", style, '-%s' % query_opt)
375 result = self.tk.call(self._name, "map", style, *_format_mapdict(kw))
380 def lookup(self, style, option, state=None, default=None):
381 """Returns the value specified for option in style.
388 return self.tk.call(self._name, "lookup", style, '-%s' % option,
392 def layout(self, style, layoutspec=None):
393 """Define the widget layout for given style. If layoutspec is
394 omitted, return the layout specification for given style.
397 None that evaluates to False if you want to "turn off" that style.
429 # when calling layout(style) later
432 self.tk.call(self._name, "layout", style, lspec))
475 Each key in settings is a style and each value may contain the
497 # using "ttk::setTheme" instead of "ttk::style theme use" causes
499 # "ttk::style theme use" in order to change theme.
511 class, cursor, takefocus, style
575 class, compound, cursor, image, state, style, takefocus,
598 class, compound, cursor, image, state, style, takefocus,
628 class, cursor, style, takefocus, xscrollcommand
670 class, cursor, style, takefocus
704 class, cursor, style, takefocus
721 class, compound, cursor, image, style, takefocus, text,
742 class, cursor, style, takefocus
762 class, compound, cursor, image, state, style, takefocus,
782 class, cursor, style, takefocus
914 class, cursor, style, takefocus
976 class, cursor, style, takefocus
1015 class, compound, cursor, image, state, style, takefocus,
1043 class, cursor, style, takefocus
1082 class, cursor, style, takefocus
1100 class, cursor, style, takefocus
1118 class, cursor, state, style, takefocus
1135 class, cursor, style, takefocus, validate,
1162 class, cursor, style, takefocus, xscrollcommand,
1586 style: stylename
1587 Menubutton style.
1593 kw = {'textvariable': variable, 'style': kwargs.pop('style', None),