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
Post a Comment