Forum
  
    >> 
    
      Programmazione Python
    
  
    >> 
    
      GUI
    
  
  >>
  
    Label su Tkinter
  
  
  
  
  
  
  
   
  
    
    
    
      
      
  
Pagina: 1
  
Esegui il login per scrivere una risposta.
      
  
      
    Pagina: 1
| 
          
Scritto da robi75  | 
        
          
 2019-06-12 13:53:53 - Label su Tkinter 
  
 | 
      
| 
          
          
             Ciao a tutti
 
          
          
            
          
          
        ho appena iniziato a studiare la liberia grafica Tkinter ma mi sono già bloccato Ho scritto questo piccolo codice import tkinter as tk from tkinter import ttk win = tk.Tk() # Create a win object. win.title("Python GUI") #win.resizable(False, False) # Disable resizing the window. ttk.Label(win, text = 'A Label') win.mainloop() # Start GUI. Come mai l'etichetta di testo non viene visualizzata? Cosa sbaglio? Grazie a tutti Robertino  | 
      |
| 
          
Scritto da bluesman1991  | 
        
          
 2019-06-28 12:35:20 - Re: Label su Tkinter 
  
 | 
      
| 
          
          
             non posizioni nella griglia il label creato
 
          
          
            
          
          
        import tkinter as tk from tkinter import ttk win = tk.Tk() # Create a win object. win.title("Python GUI") #win.resizable(False, False) # Disable resizing the window. a=ttk.Label(win, text = 'A Label') a.grid(row=0,column=0) win.mainloop() # Start GUI. --- Ultima modifica di bluesman1991 in data 2019-06-28 12:36:20 ---  | 
      
Pagina: 1
Esegui il login per scrivere una risposta.
  