About 25,200,000 results
Open links in new tab
  1. How to Set Border of Tkinter Label Widget? - GeeksforGeeks

    Dec 11, 2020 · The task here is to draft a python program using Tkinter module to set borders of a label widget. A Tkinter label Widget is an Area that displays text or images. We can update …

  2. How to add a border for a frame in Python Tkinter

    Jun 5, 2018 · In the documentation, look at the styles you can apply to a frame using Tkinter: Tkinter Frame Widget. Here is how you do this: highlightthickness is used to specify the …

  3. 5 Best Ways to Put a Border Around a Frame in Python Tkinter

    Mar 2, 2024 · With Tkinter’s themed widgets (ttk), you can apply preconfigured styles or create custom ones to add borders to ttk.Frame widgets. This approach grants a modern look and the …

  4. Put a Border Around a Frame in Python Tkinter - Online …

    To put a border around a Frame in Tkinter, we have to use the highlightbackground and highlightthickeness parameters while creating the Frame. Let's take an example and see how …

  5. python - Border for tkinter Label - Stack Overflow

    Sep 9, 2016 · If you want a border, the option is borderwidth. You can also choose the relief of the border: "flat", "raised", "sunken", "ridge", "solid", and "groove". For example: l1 = Label(root, …

  6. How to add a border color to a button in Tkinter?

    Apr 5, 2021 · In this article, we will learn how to add border color to a button in Tkinter. In the first example, we are using the frame widget to add border color to a button in frame by …

  7. How to add a border (frame) to an image using python

    Feb 7, 2022 · Add a frame to an image. To add a frame/border to an image, a solution is to use numpy.pad. An example by adding a black border "constant_values=0": img1 = np.pad(img, …

  8. How to Set Border for Label in Tkinter Python - Tutorial Kart

    In this tutorial, we will go through examples using the borderwidth and relief options to add borders to a Tkinter Label. 1. Label with a Simple Solid Border. In this example, we will create …

  9. Tkinter Label - Border - Python Examples

    There is no default option to specify a border for Label widget in Tkinter. But, we can wrap this Label widget in a Frame, and specify border for the Frame widget. In this tutorial, you will learn …

  10. Frame with border color for Tkinter (Python recipe) - ActiveState

    This trick show how to add a border color to frame. These are the important configurations: highlightbackground="your border color here" highlightcolor="your border color here" …

  11. Some results have been removed
Refresh