Lines Matching +full:configure +full:- +full:args
31 font -- font specifier (name, system font, or (family, size, style)-tuple)
32 name -- name to use for this font configuration (defaults to a unique name)
33 exists -- does a named font by this name already exist?
39 family -- font 'family', e.g. Courier, Times, Helvetica
40 size -- font size in points
41 weight -- font thickness: NORMAL, BOLD
42 slant -- font slant: ROMAN, ITALIC
43 underline -- font underlining: false (0), true (1)
44 overstrike -- font strikeout: false (0), true (1)
53 options.append("-"+k)
57 def _get(self, args): argument
59 for k in args:
60 options.append("-"+k)
63 def _mkdict(self, args): argument
65 for i in range(0, len(args), 2):
66 options[args[i][1:]] = args[i+1]
91 tk.call("font", "configure", self.name, *font)
116 self.configure(**{key: value})
131 args = ()
133 args = ('-displayof', displayof)
135 args = args + ('-' + option, )
136 return self._call("font", "actual", self.name, *args)
139 self._split(self._call("font", "actual", self.name, *args)))
143 return self._call("font", "config", self.name, "-"+option)
154 configure = config variable in Font
158 args = (text,)
160 args = ('-displayof', displayof, text)
161 return self._tk.getint(self._call("font", "measure", self.name, *args))
168 args = ()
171 args = ('-displayof', displayof)
173 args = args + self._get(options)
175 self._call("font", "metrics", self.name, *args))
177 res = self._split(self._call("font", "metrics", self.name, *args))
188 args = ()
190 args = ('-displayof', displayof)
191 return root.tk.splitlist(root.tk.call("font", "families", *args))
201 # --------------------------------------------------------------------