Python Forum
tkinter | Button color text on Click
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tkinter | Button color text on Click
#1
Hi guys! I need some help from you.

for tkinter to change button color is 'fg, 'bg' for background. On click to change the background is 'activebackground', what is the property on click to change the text color, by default is black.
Reply


Messages In This Thread
tkinter | Button color text on Click - by Maryan - Oct-09-2020, 04:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating a function interrupt button tkinter AnotherSam 2 149 Oct-07-2021, 02:56 PM
Last Post: AnotherSam
  [Tkinter] Have tkinter button toggle on and off a continuously running function AnotherSam 5 236 Oct-01-2021, 05:00 PM
Last Post: Yoriz
  tkinter change the text of the checkbox zazas321 1 222 Sep-17-2021, 06:19 AM
Last Post: zazas321
  [Tkinter] Make my button text update? Skata100 1 308 Aug-07-2021, 05:37 AM
Last Post: deanhystad
  tkinter showing image in button rwahdan 3 930 Jun-16-2021, 06:08 AM
Last Post: Yoriz
  [Tkinter] Modify Class on Button Click KDog 4 1,710 May-11-2021, 08:43 PM
Last Post: KDog
  Updating button text based upon different variable values knoxvilles_joker 0 612 Apr-18-2021, 04:13 AM
Last Post: knoxvilles_joker
  tkinter text widget word wrap position chrisdb 6 2,125 Mar-18-2021, 03:55 PM
Last Post: chrisdb
  [Tkinter] tkinter.Menu – How to make text-variable? Sir 3 1,879 Mar-10-2021, 04:21 PM
Last Post: Sir
  tkinter button image Nick_tkinter 4 1,248 Mar-04-2021, 11:33 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020