As the title states, is there an equivalent to sender() in TKinter? I'd like to call one function with two buttons (accept/cancel) and handle to slight difference in functionality with an if-statement, rather than creating two functions which are 90% identical.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…