Python Tkinter Apply Filter to Text -


i have simple text widget made tkinter , python 3, this:

from tkinter import * def makeupper():     pass root = tk() t = text(root) t.pack() menubar = menu(root) menubar.add_command(label="make upper", command=makeupper) root.config(menu=menubar) 

when user selects make upper, make selected text uppercase.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -