This question has already been answered:
The question is, you can make the same frame as on the screen (Preview, General Options, etc.) using the Tkinter library, if yes then set an example) 
This question has already been answered:
The question is, you can make the same frame as on the screen (Preview, General Options, etc.) using the Tkinter library, if yes then set an example) 
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
You can, using temizirovannyh widgets ( ttk ). This widget, at least in TCL , on the basis of which Tkinter works, is called a labelframe . There is a special theme engine called Tile. You can do anything in it, but first you have to figure it out, and the documentation (I may be wrong) is not complete. For one of the built-in themes, the desired widget looks like this:
(That is, a little bit wrong ).
TCL code that draws it:
wm geometry . 480x320 ttk::setTheme clam pack [ttk::labelframe .lf -text "Группа элементов"] -expand 1 -fill both -padx 20 -pady 20 With Python, I'm sorry, I can’t help, but the meaning of my answer: a widget that you need logically in meaning also exists through the engine so you can bring it to various kinds, including using raster textures.
Source: https://ru.stackoverflow.com/questions/707815/
All Articles