• Login or register

discuss.effbot.org

  • Popular
  • Recent
  • 1 point by Marc Culler 9 months ago on An Introduction to Tkinter 0 children

    Something that is obviously useful is to be able to find the attributes of the font that is currently being used by a widget. It is not obvious from the description here how one does that. The answer, discovered by painful experimentation and reading source code, is:
    tkFont.Font(font=widget.cget('font')).actual()
    It would be helpful to include that as one of your "patterns".

    • parent
    • reply
  • Widget
  • Recent Comments
  • Leaders
Powered by