About 1,650,000 results
Open links in new tab
  1. Tkinter: "Python may not be configured for Tk" - Stack Overflow

    So appearantly many seems to have had this issue (me including) and I found the fault to be that Tkinter wasn't installed on my system when python was compiled. This post describes how to …

  2. python - What does calling Tk () actually do? - Stack Overflow

    Jul 14, 2014 · What does calling root = tk.Tk() actually do (as in, what gets initialized) and why can the previous snippet work without it? Would I run into any pitfalls or limitations if I don't call …

  3. What is the difference between the widgets of tkinter and …

    The widgets in tkinter are highly and easily configurable. You have almost complete control over how they look - border widths, fonts, images, colors, etc. ttk widgets use styles to define how …

  4. python - How to add an image in Tkinter? - Stack Overflow

    Apr 20, 2017 · That being said, some image formats such as .gif, .pgm (and .png if tk.TkVersion >= 8.6) is already supported by the PhotoImage class. Below is an example displaying: or if …

  5. 国际版抖音TikTok国内使用方法大全(亲测有效) - 知乎

    Jun 7, 2022 · 以下全是轻易团队总结的TK实操干货,共计1000+字,阅读时长大约3分钟 建议点赞+收藏再阅读,免得拍大腿都找不到 最近由中国科技公司出品,号称“海外版抖音”TK的势头越 …

  6. tkinter - Background color for Tk in Python - Stack Overflow

    Apr 30, 2010 · Classic Tk widgets have the attribute. Themed ones tend not to; the background color of a widget is a property of the style/theme there.

  7. python - root = tkinter.Tk () or root = Tk ()? - Stack Overflow

    Jul 2, 2020 · I can't figure out if it's about root = tkinter.Tk() vs root = Tk(), or import tkinter vs from tkinter import *, or something entirely different. I can't find a successful combination.

  8. python - How to pip install tkinter - Stack Overflow

    Oct 17, 2021 · Now Install Tkinter Tkinter can be installed using pip. The following command is run in the command prompt to install Tkinter. pip install tk This command will start …

  9. How do I get rid of Python Tkinter root window? - Stack Overflow

    Probably the vast majority of of tk-based applications place all the components in the default root window. This is the most convenient way to do it since it already exists. Choosing to hide the …

  10. python - Setting tk.Frame width and height - Stack Overflow

    Jun 29, 2017 · Look over grid_propagate(0), if you specified width and height. Note, that your frames need to be under grid geometry manager in this case.

Refresh