23-10-2018, 03:11 AM 
		
	
	
		Soy nuevo en el foro y debo decir que también programando. Aunque puede resultar ridícula llevo algún tiempo con una duda que pese a mi empeño no he conseguido solucionar.
Estaría muy agradecido si alguien me pudiese orientar. Muchas gracias
	
	
	
	
Código:
from Tkinter import *
import Tkinter
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# como tengo que referirme al botónn para que la función
# cambie el texto??. 
def Otro_Texto():
   
    if Boton['text'] == "Conectar":
        Boton.configure(text='xxxxxrfdfdfdf')
                
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   
class pantalla:
    def Ventana_Frame(self):
        self.Frame_Conf = Frame(Ventana, width=157, height=60, bd="0", highlightthickness=0)
        self.Frame_Conf.place(x="10",y="50")
        
        self.Boton = Button(self.Frame_Conf, text="Funcion_Otro_Texto",width="18", font=("Comic Sans MS",9), command=Otro_Texto).place(x="10",y="10")
obj_pantalla=pantalla()
if __name__ == '__main__':   
    
    Ventana = Tkinter.Tk()
    Ventana.title("Ventana")
    Ventana.configure(background="#0a0000")
    btn_Abri_conexi = Button(Ventana, text="Abrir_Frame_Conf",width="18", font=("Comic Sans MS",9), command=obj_pantalla.Ventana_Frame).place(x="20",y="10")
Ventana.mainloop()Estaría muy agradecido si alguien me pudiese orientar. Muchas gracias

