Lines Matching refs:Style
6 TIP #48 (http://tip.tcl.tk/48) specified style engine.
22 "Separator", "Sizegrip", "Style", "Treeview",
155 """Formats a layout list so we can pass the result to ttk::style
156 layout and ttk::style settings. Note that the layout doesn't has to
214 script.append("ttk::style configure %s %s;" % (name, s))
218 script.append("ttk::style map %s %s;" % (name, s))
225 script.append("ttk::style layout %s {\n%s\n}" % (name, s))
240 script.append("ttk::style element create %s %s %s %s" % (
364 class Style(object):
365 """Manipulate style database."""
367 _name = "ttk::style"
380 def configure(self, style, query_opt=None, **kw):
382 style.
388 return _val_or_dict(kw, self.tk.call, self._name, "configure", style)
391 def map(self, style, query_opt=None, **kw):
393 style.
401 self.tk.call(self._name, "map", style, '-%s' % query_opt))
404 self.tk.call(self._name, "map", style, *(_format_mapdict(kw))))
407 def lookup(self, style, option, state=None, default=None):
408 """Returns the value specified for option in style.
415 return self.tk.call(self._name, "lookup", style, '-%s' % option,
419 def layout(self, style, layoutspec=None):
420 """Define the widget layout for given style. If layoutspec is
421 omitted, return the layout specification for given style.
424 None that evaluates to False if you want to "turn off" that style.
456 # when calling layout(style
459 self.tk.call(self._name, "layout", style, lspec))
500 Each key in settings is a style and each value may contain the
522 # using "ttk::setTheme" instead of "ttk::style theme use" causes
524 # "ttk::style theme use" in order to change theme.
536 class, cursor, takefocus, style
602 class, compound, cursor, image, state, style, takefocus,
625 class, compound, cursor, image, state, style, takefocus,
655 class, cursor, style, takefocus, xscrollcommand
697 class, cursor, style, takefocus
729 class, cursor, style, takefocus
746 class, compound, cursor, image, style, takefocus, text,
767 class, cursor, style, takefocus
787 class, compound, cursor, image, state, style, takefocus,
807 class, cursor, style, takefocus
939 class, cursor, style, takefocus
1001 class, cursor, style, takefocus
1040 class, compound, cursor, image, state, style, takefocus,
1068 class, cursor, style, takefocus
1106 class, cursor, style, takefocus
1124 class, cursor, style, takefocus
1142 class, cursor, state, style, takefocus
1159 class, cursor, style, takefocus, xscrollcommand,
1565 style: stylename
1566 Menubutton style.
1572 kw = {'textvariable': variable, 'style': kwargs.pop('style', None),