Jun-15-2018, 10:42 AM
(Jun-15-2018, 02:00 AM)woooee Wrote:Quote:However, when I try and use the menu widget winfo_rootx or winfo_x they both just show position 0 regardless of where the menu actually is. See example code:What exactly were you expecting winfo... winfo.children displays a list of the children. You posibly want winfo.x and winfo.y
I am not sure I understand you because in the method test_func I print 3 statements, one of which is winfo_children, the other two of which should be the position of the menu widget associated with the optionmenu widget.