Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: problem with button events
Post: problem with button events

Hi, I have a part of code, that creates 10 buttons: for i in range(10):     b = tkinter.Button(root,text = i, command = lambda: click(i))... and event click: def click(num):    print(num)How is it p...
Lubik_ GUI 4 6,581 Dec-01-2017, 02:35 PM
    Thread: Overriding tkinter button methods
Post: RE: Overriding tkinter button methods

I know, but in OOP - encapsulating is the most important character, so I really need class, no other solutions (witch I know)...
Lubik_ GUI 3 3,780 Sep-26-2017, 09:48 AM
    Thread: Overriding tkinter button methods
Post: Overriding tkinter button methods

Hi, I need to create new class NButton(tkinter.Button) in witch I want to override constructor and event onclick. I want make some extra action in onclick event. Can some help me? I need it exactly as...
Lubik_ GUI 3 3,780 Sep-26-2017, 09:18 AM

User Panel Messages

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