MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / setup_project_ui

Method setup_project_ui

tools/sconsui.py:316–333  ·  view source on GitHub ↗
(self, frame)

Source from the content-addressed store, hash-verified

314 self.output.pack(fill=X)
315
316 def setup_project_ui(self, frame):
317 label = ttk.Label(frame, relief = 'flat', text = 'Choose Integrated Development Environment:')
318 label.pack(fill=X, pady = 5)
319
320 separator = ttk.Separator(frame)
321 separator.pack(fill=X)
322
323 self.ide = StringVar()
324 self.ide.set("mdk4") # initialize
325
326 for text,mode in IDE:
327 radiobutton = ttk.Radiobutton(frame, text=text, variable = self.ide, value = mode)
328 radiobutton.pack(fill=X, padx=10)
329
330 bottom = ttk.Frame(frame)
331 bottom.pack(side=BOTTOM, fill=X)
332 button = ttk.Button(bottom, text="Make Project", command = self.do_make_project)
333 button.pack(side=RIGHT, padx = 10, pady = 10)
334
335 def setup_setting_ui(self, frame):
336 row = 0

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected