text: '''
       ____  ____  ____  ____
      | __ )| __ )|  _ \|  _ \.
      |  _ \|  _ \| | | | | | |
      | |_) | |_) | |_| | |_| |
      |____/|____/|____/|____/
  '''
  
  from tkinter import *
  import ctypes
  import funciones as fun
  import register as reg
  import sys
  
  def bbdd_settings_window():
      # Reescalar la resolucion --> no quitar
      ctypes.windll.shcore.SetProcessDpiAwareness(1)
  
      bbdd_settings_window = Tk()
      bbdd_settings_window.title('BBDD')
      bbdd_settings_window.config(bg='#0B5A81')
  
      s_tipo_usuario = StringVar()
      s_tipo_usuario.set('Cliente')
      f = ('Times', 14)
  
      # Definimos el Frame donde preparamos la GUI
      main_frame = Frame(
          bbdd_settings_window, 
          bd=2,    
          bg='#CCCCCC',
          relief=SOLID
          )
  
      crear_tablas_btn = Button(
          main_frame, 
          width=15, 
          text='Crear tablas', 
          font=f, 
          relief=SOLID,
          cursor='hand2',
          command=lambda: fun.create_tables_agenda('agenda.db')
      )
      crear_tablas_btn.grid(row=10, column=0, pady=10, padx=20)
  
      borrar_tablas_btn = Button(
          main_frame, 
          width=15, 
          text='Borrar tablas', 
          font=f, 
          relief=SOLID,
          cursor='hand2',
          command=lambda: None
      )
      borrar_tablas_btn.grid(row=20, column=0, pady=10, padx=20)
  
      main_frame.pack()
      bbdd_settings_window.columnconfigure(0, weight=1)
      bbdd_settings_window.rowconfigure(0, weight=1)
      
      # Cerrar ventana con Esc
      def close(event):
          bbdd_settings_window.withdraw() # if you want to bring it back
          sys.exit() # if you want to exit the entire thing
  
      bbdd_settings_window.bind('<Escape>', close)
      
      # Lanzamos la ventana 
      bbdd_settings_window.mainloop()
  
  if __name__ == '__main__':
      bbdd_settings_window()
  