def make_widgets(self):
     Hello.make_widgets(self)
     Button(self, text='Extend', command=self.quit).pack(side=RIGHT)
	def make_widgets(self): 		# extend method here
		Hello.make_widgets(self)	# ejecutamos el metodo original make_widgets para crear el boton hello
		Button(self, text='Extend', command=self.quit).pack(side=RIGHT)
 def make_widgets(self):  # extend method here
     Hello.make_widgets(
         self
     )  # ejecutamos el metodo original make_widgets para crear el boton hello
     Button(self, text='Extend', command=self.quit).pack(side=RIGHT)
示例#4
0
文件: gui6d.py 项目: theo-l/.blog
		def make_widgets(self):
				Hello.make_widgets(self)
				Button(self,text='extend',command=self.quit).pack(side=RIGHT)
示例#5
0
文件: gui6d.py 项目: shantanuo/pp4p
 def make_widgets(self):  # extend method here
     Hello.make_widgets(self)
     Button(self, text="Extend", command=self.quit).pack(side=RIGHT)
示例#6
0
    def make_widgets(self):
        Hello.make_widgets(self)

        Button(self, text='Extend',
               command=lambda x=self: Hello.quit(x)).pack(side=RIGHT)
示例#7
0
 def make_widgets(self):  # extend method here
     '''
     Makes the widgets
     '''
     Hello.make_widgets(self)
     Button(self, text='Extend', command=self.quit).pack(side=RIGHT)
示例#8
0
 def make_widgets(self):  # расширение метода
     Hello.make_widgets(self)
     Button(self, text='Extend', command=self.quit).pack(side=RIGHT)