##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 13\13.1574 - No Title.py
# Description: No Title
##############################################################################
self.frame = ttk.Frame(self, padding="50 10")
self.l_temperature = ttk.Label(self.frame, text="Temperature:")
self.l_temperature.pack(pady=10)
self.temperature = ttk.Entry(self.frame)
self.temperature.pack(ipady=10)
self.button_CF = ttk.Button(self.frame, text="Celsius for Fahrenheit",
command=self.celsius_to_fahrenheit)
self.button_CF.pack(padx=10, pady=10, ipadx=5, ipady=5)
self.button_FC = ttk.Button(self.frame, text="Fahrenheit for Celsius",
command=self.fahrenheit_to_celsius)
self.button_FC.pack(padx=10, pady=10, ipadx=5, ipady=5)