python - Labeling a Scale in Tkinter -


i'm working tkinter scale, selected value somewhere between 0 , 100, representing percentage. there way value displayed have % percent sign following it?

i want following (roughly):

             75%   |-------------o----| 

currently cannot figure way add percent sign. help, or definitive "that not possible" appreciated. thanks.

it's not possible options provided control.

however, possible turn value off , use own string. since know value of slider , know length, can calculate pixel represents center of slider. information can place label widget @ appropriate place , put whatever string want in label.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -