示例#1
0
	def modules_connections(self):
		LineMain(self.pad)
		Scrollbar(self.pad)
		StationeryFunctions(self.pad)
		Popup(self.pad)
		FindReplaceFunctions(self.pad)
		return
	def modules_connections(self):
		LineMain(self.pad)
		Scrollbar(self.pad)
		StationeryFunctions(self.pad)
		Popup(self.pad)
		FindReplaceFunctions(self.pad)
		FileHandler(self.pad)
		FontChooser(self.pad)
		Configuration(self.pad)
		return
示例#3
0
	def modules_connections(self):
		LineMain(self.pad)
		Scrollbar(self.pad)
		StationeryFunctions(self.pad)
		Popup(self.pad)
		FindReplaceFunctions(self.pad)
		InterpreterFunctions(self.pad)
		FileHandler(self.pad)
		FontChooser(self.pad)
		Configuration(self.pad)
		ColorLight(self.pad)
		MenuBar(self.pad)
		#AutoWrite(self.pad)
		return
示例#4
0
文件: main.py 项目: mw491/PyCoder
bottomscrollbar = ttk.Scrollbar(window, orient='horizontal')
bottomscrollbar.pack(fill=X, side=BOTTOM)

textarea = MyText(window,
                  font=("Ubuntu Mono", 14),
                  undo=True,
                  yscrollcommand=topscrollbar.set,
                  xscrollcommand=bottomscrollbar.set)
textarea.configure(wrap=NONE,
                   insertbackground="white",
                   selectforeground="white",
                   selectbackground="#595959",
                   bg="#2b2b2b",
                   fg="white")

linenumbers = LineMain(textarea)

textarea.pack(fill=BOTH, expand=True)
textarea.focus_set()

topscrollbar.config(command=textarea.yview)
bottomscrollbar.config(command=textarea.xview)

SyntaxHighlight(textarea)

menubar = Menu(window, activebackground="#bfbfbf")
menubar.configure(bg="darkgrey", fg="black")
window.configure(menu=menubar)

filemenu = Menu(menubar, tearoff=0)
filemenu.add_command(label="New", command=newfile, accelerator="Ctrl+N")
示例#5
0
 def modules_connections(self):
     LineMain(self.pad)
     Scrollbar(self.pad)
     return
示例#6
0
 def modules_connections(self):
     LineMain(self.pad)
     ColorLight(self.pad)
     return
 def modules_connections(self):
     LineMain(self.pad)
     Scrollbar(self.pad)
     ColorLight(self.pad)
     StationeryFunctions(self.pad)
     return