[Tutor] ttk menubutton

Phil phillor9 at gmail.com
Wed Apr 12 20:37:33 EDT 2023


On 13/4/23 10:19, Alan Gauld via Tutor wrote:
>
> Yes but my point was that you were using menu_button in your
> code as a name (not a widget) in the bind call, but you had
> not created any such variable.

Sorry for the confusion, I'm wary of burdening the list with excessive code.

I'm now using the optionmenu widget which is doing what I want.


> If you are trying to use an AI tool like chatGPT to get code then good
> luck!

Generally, I find AI useful. It doesn't always provide the correct 
answer but the answer is only sometimes way off the mark. I also use the 
copilot extension within the IDE. Likewise, it's generally useful.

-- 

Regards,
Phil



More information about the Tutor mailing list