MCPcopy Index your code
hub / github.com/python/cpython / create_extra

Method create_extra

Lib/idlelib/query.py:355–366  ·  view source on GitHub ↗

Add run mode on rows 10-12.

(self)

Source from the content-addressed store, hash-verified

353 _htest=_htest, _utest=_utest)
354
355 def create_extra(self):
356 "Add run mode on rows 10-12."
357 frame = self.frame
358 self.restartvar = BooleanVar(self, value=True)
359 restart = Checkbutton(frame, variable=self.restartvar, onvalue=True,
360 offvalue=False, text='Restart shell')
361 self.args_error = Label(frame, text=' ', foreground='red',
362 font=self.error_font)
363
364 restart.grid(column=0, row=10, columnspan=3, padx=5, sticky='w')
365 self.args_error.grid(column=0, row=12, columnspan=3, padx=5,
366 sticky='we')
367
368 def cli_args_ok(self):
369 "Return command line arg list or None if error."

Callers

nothing calls this directly

Calls 4

BooleanVarClass · 0.90
CheckbuttonClass · 0.90
LabelClass · 0.90
gridMethod · 0.45

Tested by

no test coverage detected