Skip to content

Instantly share code, notes, and snippets.

@eagleEggs
Created October 3, 2018 05:26
Show Gist options
  • Save eagleEggs/fb5e7777734c8cac33b9d83579aa32f8 to your computer and use it in GitHub Desktop.
Save eagleEggs/fb5e7777734c8cac33b9d83579aa32f8 to your computer and use it in GitHub Desktop.
tabGroup
layout = [[sg.TabGroup([[
sg.Tab('General Settings', tab1, title_color = "#282923", background_color = "#282923"),
sg.Tab('Database Settings', tab2, title_color = "#282923", background_color = "#282923"),
sg.Tab('Custom App Settings', tab3, title_color = "#282923", background_color = "#282923"),
sg.Tab('Graphing', tab4, title_color = "#282923", background_color = "#282923"),
sg.Tab('Site Data', tab10, title_color = "#282923", background_color = "#282923"),
sg.Tab('Scratchboard', tab11, border_width =0, title_color = "#282923", background_color = "#282923"),
sg.Tab('Screenshots', tab5, title_color = "#282923", background_color = "#282923"),
sg.Tab('Reporting', tab6, title_color = "#282923", background_color = "#282923"),
sg.Tab('Logging', tab7, title_color = "#282923", background_color = "#282923"),
sg.Tab('Notes', tab8, title_color = "#282923", background_color = "#282923"),
sg.Tab('About', tab9, title_color = "#282923", background_color = "#282923")]], background_color = "black")],
[sg.Text('')],
[sg.Column(colm, background_color = "#282923")],
[sg.Text('', text_color = "#282923", justification = "center")]]
@eagleEggs
Copy link
Author

eagleEggs commented Oct 3, 2018

layout =  [[sg.TabGroup([[
			sg.Tab('General Settings', tab1, title_color = "#282923", background_color = "#282923"),
			sg.Tab('Database Settings', tab2, title_color = "#282923", background_color = "#282923"),
			sg.Tab('Custom App Settings', tab3, title_color = "#282923", background_color = "#282923"),
			sg.Tab('Graphing', tab4, title_color = "#282923", background_color = "#282923"),
			sg.Tab('Site Data', tab10, title_color = "#282923", background_color = "#282923"),
			sg.Tab('Scratchboard', tab11, border_width =0, title_color = "#282923", background_color = "#282923"),
			sg.Tab('Screenshots', tab5, title_color = "#282923", background_color = "#282923"),
		  	sg.Tab('Reporting', tab6, title_color = "#282923", background_color = "#282923"),
		  	sg.Tab('Logging', tab7, title_color = "#282923", background_color = "#282923"),
		  	sg.Tab('Notes', tab8, title_color = "#282923", background_color = "#282923"),
		  	sg.Tab('About', tab9, title_color = "#282923", background_color = "#282923")]], background_color = "black")],
                       [sg.Text('')],
		      [sg.Column(colm, background_color = "#282923")],
                      [sg.Text('', text_color = "#282923", justification = "center")]]

# MIDDLE LOGO / SLOGAN
colm = [[sg.T("", background_color = "#282923")],[sg.T('Topanga ∩(^-^)∩ Test Anatomy', text_color = "#666463", background_color = "#282923", justification = "center"),
		sg.ReadButton("Create a Topanga", border_width=0, tooltip='Start Testing Environment'),
		sg.ReadButton("Open Project Folder", tooltip='View Your Project Files', border_width=0),
		sg.ReadButton("Load", border_width=0, tooltip='Load Values'),
		sg.ReadButton("Save", border_width=0, tooltip='Save Values'),
		sg.ReadButton("Quit", border_width=0, tooltip='Quit Topanga')],
		[sg.T("")],
		[sg.ProgressBar(10, orientation='h', size=(65,20), key='progress', bar_color = ("#E7C855", "#E7C855"))],
		[sg.T("", size = (1, 1)), sg.ProgressBar(10, orientation='h', size=(60,10), key='progress2', bar_color=("#56D8EF", "#56D8EF"))], # bar_color=("#56D8EF", "#56D8EF")
		[sg.T("", key = "step_status", background_color = "#282923", text_color = "#666463")],
		[sg.T("", key = "step_status2", background_color = "#282923", text_color = "#666463")]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment