Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
Created March 17, 2015 22:37
Show Gist options
  • Select an option

  • Save aGupieWare/06a95d136013b2314de6 to your computer and use it in GitHub Desktop.

Select an option

Save aGupieWare/06a95d136013b2314de6 to your computer and use it in GitHub Desktop.
PyGest Code Snippet 2-3
def configure_banner(self):
"""
Configure the header banner for the app with a simple tkinter label.
"""
logging.info("We are in the banner method")
banner = tkinter.Label(self.mainframe, background='black', text="PyGest Tutorial App", font=('Futura', 32), fg='white')
banner.grid(row=0, column=0, sticky=('N', 'S', 'E', 'W'), padx=10, pady=10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment