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)
Пример #3
0
 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
		def make_widgets(self):
				Hello.make_widgets(self)
				Button(self,text='extend',command=self.quit).pack(side=RIGHT)
Пример #5
0
 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)