#!/usr/bin/python3
import tkinter as tk
from tkinter import ttk
root = tk.Tk()
root.geometry("300x200")
style = ttk.Style()
mainframe = ttk.Frame(root)
labelframe = ttk.Labelframe(mainframe)
# Belonging to labelframe
frame = ttk.Frame(labelframe)
frame2 = ttk.Frame(labelframe, style="debug.TFrame")
# Belonging to frame
label = ttk.Label(frame, text="Lorem ipsum dolor sit amet")
button = ttk.Button(frame, text="Button")
# Belonging to frame2
button2 = ttk.Button(frame2, text="Button2")
mainframe.grid()