Python Forum
Help in finding ExceptionError
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help in finding ExceptionError
#3
It's when I push the button to open a new top window.
I forgot to add the button for opening the window

    def my_footer(self, footerframe):
        '''footer'''
        style = ttk.Style()
        style.map('Footer.TLabel', \
        foreground=[('pressed', 'firebrick'), ('active', 'red')], \
        background=[('pressed', '!disabled', 'gray86'), ('active', 'gray86')] \
        )
        style.configure('Footer.TLabel', foreground='blue', \
        font=('Times', 12, 'normal', 'underline'))
        footer = ttk.Button(footerframe, text='Register for Johnny\'s CookBook', \
        style='Footer.TLabel', cursor='hand2', command=partial(opensite))
        footer.grid(column=0, row=0, ipady=3, padx=10, sticky='nw')


        form = ttk.Button(footerframe, text='Add Recipe', style='Footer.TLabel', cursor='hand2', \
        command=partial(AddRecipe().my_form))
        form.grid(column=1, row=0, padx=10)
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply


Messages In This Thread
Help in finding ExceptionError - by menator01 - Apr-28-2020, 08:11 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 08:32 PM
RE: Help in finding ExceptionError - by menator01 - Apr-28-2020, 08:40 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 09:01 PM
RE: Help in finding ExceptionError - by menator01 - Apr-28-2020, 09:16 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 09:23 PM
RE: Help in finding ExceptionError - by menator01 - Apr-28-2020, 09:27 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 09:47 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 11:16 PM
RE: Help in finding ExceptionError - by menator01 - Apr-28-2020, 11:21 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020