'''
Created on Jan 15, 2017

@author: Marlon_2
'''
import tkinter as tk # import
from tkinter import ttk   # impork ttk from tkinter

win = tk.Tk();       # create instance

#add a title
win.title("Python Hospital Information System");

#add a label
#ttk.Label(win, text="Welcome to Python Hospital Information System").grid(column=0,row=0);

aLabel = ttk.Label(win, text="Welcome to Python Hospital Information System");
aLabel.grid(column=0,row=0);

def clickMe():
    action.configure(text="** I have been clicked **")
    aLabel.configure(foreground='red',background='yellow')

#Adding a button
action = ttk.Button(win, text="Click Me!", command=clickMe)
action.grid(column=0, row=1);


    

#button click event callback function


#win.resizable(200, 100); # disable resizing of the GUI

win.mainloop(); # start GUI
'''
Created on Jan 15, 2017

@author: Marlon_2
'''
import tkinter as tk # import
from tkinter import ttk   # impork ttk from tkinter

win = tk.Tk();       # create instance

#add a title
win.title("Python Hospital Information System");

#add a label
#ttk.Label(win, text="Welcome to Python Hospital Information System").grid(column=0,row=0);

aLabel = ttk.Label(win, text="Welcome to Python Hospital Information System");
aLabel.grid(column=0,row=0);

def clickMe():
    action.configure(text="** I have been clicked **")
    aLabel.configure(foreground='red',background='yellow')
#     action = ttk.Button(win, command=clickMeReset)
#     action.grid(column=0, row=1);
    
def clickMeReset():
    action.configure(text="** Click Me! **")
    aLabel.configure(foreground='black',background='white')
#     action = ttk.Button(win, command=clickMe)
#     action.grid(column=0, row=1);

#Adding a button
action = ttk.Button(win, text="Click Me!", command=clickMe)
action.grid(column=0, row=1);


    

#button click event callback function


#win.resizable(200, 100); # disable resizing of the GUI

win.mainloop(); # start GUI
Stop experimenting on this project for the moment
Stop experimenting on this project for the moment
  '''
  Created on Jan 15, 2017
  
  @author: Marlon_2
  '''
  import tkinter as tk # import
  from tkinter import ttk   # impork ttk from tkinter
  
  win = tk.Tk();       # create instance
  
  #add a title
  win.title("Python Hospital Information System");
  
  #add a label
  #ttk.Label(win, text="Welcome to Python Hospital Information System").grid(column=0,row=0);
  
  aLabel = ttk.Label(win, text="Welcome to Python Hospital Information System");
  aLabel.grid(column=0,row=0);
  
  def clickMe():
      action.configure(text="** I have been clicked **")
      aLabel.configure(foreground='red',background='yellow')
+ #     action = ttk.Button(win, command=clickMeReset)
+ #     action.grid(column=0, row=1);
+     
+ def clickMeReset():
+     action.configure(text="** Click Me! **")
+     aLabel.configure(foreground='black',background='white')
+ #     action = ttk.Button(win, command=clickMe)
+ #     action.grid(column=0, row=1);
  
  #Adding a button
  action = ttk.Button(win, text="Click Me!", command=clickMe)
  action.grid(column=0, row=1);
  
  
      
  
  #button click event callback function
  
  
  #win.resizable(200, 100); # disable resizing of the GUI
  
  win.mainloop(); # start GUI
Stop experimenting on this project for the moment
## Code Before:
'''
Created on Jan 15, 2017

@author: Marlon_2
'''
import tkinter as tk # import
from tkinter import ttk   # impork ttk from tkinter

win = tk.Tk();       # create instance

#add a title
win.title("Python Hospital Information System");

#add a label
#ttk.Label(win, text="Welcome to Python Hospital Information System").grid(column=0,row=0);

aLabel = ttk.Label(win, text="Welcome to Python Hospital Information System");
aLabel.grid(column=0,row=0);

def clickMe():
    action.configure(text="** I have been clicked **")
    aLabel.configure(foreground='red',background='yellow')

#Adding a button
action = ttk.Button(win, text="Click Me!", command=clickMe)
action.grid(column=0, row=1);


    

#button click event callback function


#win.resizable(200, 100); # disable resizing of the GUI

win.mainloop(); # start GUI
## Instruction:
Stop experimenting on this project for the moment
## Code After:
'''
Created on Jan 15, 2017

@author: Marlon_2
'''
import tkinter as tk # import
from tkinter import ttk   # impork ttk from tkinter

win = tk.Tk();       # create instance

#add a title
win.title("Python Hospital Information System");

#add a label
#ttk.Label(win, text="Welcome to Python Hospital Information System").grid(column=0,row=0);

aLabel = ttk.Label(win, text="Welcome to Python Hospital Information System");
aLabel.grid(column=0,row=0);

def clickMe():
    action.configure(text="** I have been clicked **")
    aLabel.configure(foreground='red',background='yellow')
#     action = ttk.Button(win, command=clickMeReset)
#     action.grid(column=0, row=1);
    
def clickMeReset():
    action.configure(text="** Click Me! **")
    aLabel.configure(foreground='black',background='white')
#     action = ttk.Button(win, command=clickMe)
#     action.grid(column=0, row=1);

#Adding a button
action = ttk.Button(win, text="Click Me!", command=clickMe)
action.grid(column=0, row=1);


    

#button click event callback function


#win.resizable(200, 100); # disable resizing of the GUI

win.mainloop(); # start GUI