<filename>lc/main.py<gh_stars>1-10
import tkinter as tk
from tkinter import  ttk, Tk, messagebox as mbox
from api.champion import Champion	
from gui.searchLayout import SearchLayout
from PIL import Image, ImageTk 


version = '0.3.0 \'Iron 2\''


class App():

	champion_list = ["Aatrox", "Ahri", "Akali", "Alistar", "Amumu", "Anivia", "Annie", 
	"Ashe", "<NAME>", "Azir", "Bard", "Blitzcrank", "Brand", "Braum", "Caitlyn", "Camille", 
	"Cassiopeia", "Cho'Gath", "Corki", "Darius", "Diana", "<NAME>", "Draven", "Ekko", 
	"Elise", "Evelynn", "Ezreal", "Fiddlesticks", "Fiora", "Fizz", "Galio", "Gangplank", 
	"Garen", "Gnar", "Gragas", "Graves", "Hecarim", "Heimerdinger", "Illaoi", "Irelia", 
	"Ivern", "Janna", "<NAME>", "Jax", "Jayce", "Jhin", "Jinx","Kai'sa", "Kalista", "Karma", 
	"Karthus", "Kassadin", "Katarina", "Kayle", "Kayn", "Kennen", "Kha'Zix", "Kindred", 
	"Kled", "Kog'Maw", "LeBlanc", "<NAME>", "Leona", "Lissandra", "Lucian", "Lulu", 
	"Lux", "Malphite", "Malzahar", "Maokai", "<NAME>", "<NAME>", "Mordekaiser", 
	"Morgana", "Nami", "Nasus", "Nautilus", "Neeko", "Nidalee", "Nocturne", "Nunu", "Olaf", 
	"Orianna", "Ornn", "Pantheon", "Poppy", "Quinn", "Rakan", "Rammus", "Rek'Sai", "Renekton", 
	"Rengar", "Riven", "Rumble", "Ryze", "Sejuani", "Shaco", "Shen", "Shyvana", "Singed", 
	"Sion", "Sivir", "Skarner", "Sona", "Soraka", "Swain", "Sylas", "Syndra", "<NAME>", "Tailyah",
	"Talon", "Taric", "Teemo", "Thresh", "Tristana", "Trundle", "Tryndamere", "<NAME>",
	"Twitch", "Udyr", "Urgot", "Varus", "Vayne", "Veigar", "Vel'Koz", "Vi", "Viktor", "Vladimir",
	"Volibear", "Warwick", "Wukong", "Xayah", "Xerath", "<NAME>", "Yasuo", "Yorick", "Zac",
	"Zed", "Ziggs", "Zilean", "Zoe", "Zyra"]
	
	def __init__(self, _version, _fg, _bg):
		self._bg = _bg
		self._fg = _fg
		self.window = Tk()
		self.window.minsize(height=500, width=200)
		self.window.title('LOL Data')
		self.window.config(background=_bg)
		self.window.resizable(0,0)
		self.menu()
		self.version = _version
		self.s_widget = SearchLayout(self.window,self.champion_list,self._bg,self._fg)
		self.version_label = tk.Label(self.window, text=self.version, bg= self._bg, fg=self._fg).grid(sticky='s')
		self.window.mainloop()

	def _quit(self):
		self.window.quit()
		self.window.destroy()
		exit()


	def aboutmsg(self):
		mbox.showinfo('LOL Data', self.version
					+'\n\n2018, hecho por <NAME>.\nProyecto bajo licencia MIT.' 
					+'\nhttps://github.com/Legutier/lol-counter/blob/master/LICENSE' 
					+'\n\nContacto:\<EMAIL>')


	def search_layout(self):
		self.s_widget.delete()
		self.s_widget = SearchLayout(self.window, self.champion_list)


	def menu(self):
		menu_bar =  tk.Menu(self.window)
		menu_bar.config(bg = self._bg, fg = self._fg,bd=0)
		self.window.config(menu=menu_bar)
		menu_inicio = tk.Menu(menu_bar, tearoff = 0, bg= self._bg, fg= self._fg,bd=0)
		menu_inicio.add_command(label='buscar',command=self.search_layout)
		menu_inicio.add_separator()
		menu_inicio.add_command(label='Salir', command=self._quit)
		menu_bar.add_cascade(label="Inicio", menu=menu_inicio)
		menu_help = tk.Menu(self.window, bg = self._bg, fg = self._fg)
		menu_help.add_command(label='About', command = self.aboutmsg)
		menu_bar.add_cascade(label='Ayuda', menu=menu_help)	


if __name__ == "__main__":
	App(version,  'light goldenrod', 'Gray15')

<filename>lc/main.py<gh_stars>1-10
import tkinter as tk
from tkinter import  ttk, Tk, messagebox as mbox
from api.champion import Champion	
from gui.searchLayout import SearchLayout
from PIL import Image, ImageTk 


version = '0.3.0 \'Iron 2\''


class App():

	champion_list = ["Aatrox", "Ahri", "Akali", "Alistar", "Amumu", "Anivia", "Annie", 
	"Ashe", "<NAME>", "Azir", "Bard", "Blitzcrank", "Brand", "Braum", "Caitlyn", "Camille", 
	"Cassiopeia", "Cho'Gath", "Corki", "Darius", "Diana", "<NAME>", "Draven", "Ekko", 
	"Elise", "Evelynn", "Ezreal", "Fiddlesticks", "Fiora", "Fizz", "Galio", "Gangplank", 
	"Garen", "Gnar", "Gragas", "Graves", "Hecarim", "Heimerdinger", "Illaoi", "Irelia", 
	"Ivern", "Janna", "<NAME>", "Jax", "Jayce", "Jhin", "Jinx","Kai'sa", "Kalista", "Karma", 
	"Karthus", "Kassadin", "Katarina", "Kayle", "Kayn", "Kennen", "Kha'Zix", "Kindred", 
	"Kled", "Kog'Maw", "LeBlanc", "<NAME>", "Leona", "Lissandra", "Lucian", "Lulu", 
	"Lux", "Malphite", "Malzahar", "Maokai", "<NAME>", "<NAME>", "Mordekaiser", 
	"Morgana", "Nami", "Nasus", "Nautilus", "Neeko", "Nidalee", "Nocturne", "Nunu", "Olaf", 
	"Orianna", "Ornn", "Pantheon", "Poppy", "Quinn", "Rakan", "Rammus", "Rek'Sai", "Renekton", 
	"Rengar", "Riven", "Rumble", "Ryze", "Sejuani", "Shaco", "Shen", "Shyvana", "Singed", 
	"Sion", "Sivir", "Skarner", "Sona", "Soraka", "Swain", "Sylas", "Syndra", "<NAME>", "Tailyah",
	"Talon", "Taric", "Teemo", "Thresh", "Tristana", "Trundle", "Tryndamere", "<NAME>",
	"Twitch", "Udyr", "Urgot", "Varus", "Vayne", "Veigar", "Vel'Koz", "Vi", "Viktor", "Vladimir",
	"Volibear", "Warwick", "Wukong", "Xayah", "Xerath", "<NAME>", "Yasuo", "Yorick", "Zac",
	"Zed", "Ziggs", "Zilean", "Zoe", "Zyra"]
	
	def __init__(self, _version, _fg, _bg):
		self._bg = _bg
		self._fg = _fg
		self.window = Tk()
		self.window.minsize(height=500, width=200)
		self.window.title('LOL Data')
		self.window.config(background=_bg)
		self.window.resizable(0,0)
		self.menu()
		self.version = _version
		self.s_widget = SearchLayout(self.window,self.champion_list,self._bg,self._fg)
		self.version_label = tk.Label(self.window, text=self.version, bg= self._bg, fg=self._fg).grid(sticky='s')
		self.window.mainloop()

	def _quit(self):
		self.window.quit()
		self.window.destroy()
		exit()


	def aboutmsg(self):
		mbox.showinfo('LOL Data', self.version
					+'\n\n2018, hecho por <NAME>.\nProyecto bajo licencia MIT.' 
					+'\nhttps://github.com/Legutier/lol-counter/blob/master/LICENSE' 
					+'\n\nContacto:\<EMAIL>')


	def search_layout(self):
		self.s_widget.delete()
		self.s_widget = SearchLayout(self.window, self.champion_list)


	def menu(self):
		menu_bar =  tk.Menu(self.window)
		menu_bar.config(bg = self._bg, fg = self._fg,bd=0)
		self.window.config(menu=menu_bar)
		menu_inicio = tk.Menu(menu_bar, tearoff = 0, bg= self._bg, fg= self._fg,bd=0)
		menu_inicio.add_command(label='buscar',command=self.search_layout)
		menu_inicio.add_separator()
		menu_inicio.add_command(label='Salir', command=self._quit)
		menu_bar.add_cascade(label="Inicio", menu=menu_inicio)
		menu_help = tk.Menu(self.window, bg = self._bg, fg = self._fg)
		menu_help.add_command(label='About', command = self.aboutmsg)
		menu_bar.add_cascade(label='Ayuda', menu=menu_help)	


if __name__ == "__main__":
	App(version,  'light goldenrod', 'Gray15')
