#! /usr/bin/env python
#  -*- coding: utf-8 -*-
#
# Support module generated by PAGE version 7v
#  in conjunction with Tcl version 8.6
#    Sep 12, 2021 09:07:09 AM PDT  platform: Linux

import sys
import tkinter as tk
import tkinter.ttk as ttk
from tkinter.constants import *

import bind_example

def main(*args):
    '''Main entry point for the application.'''
    global root
    root = tk.Tk()
    root.protocol( 'WM_DELETE_WINDOW' , root.destroy)
    # Creates a toplevel widget.
    global _top37, _w37
    _top37 = root
    _w37 = bind_example.Toplevel1(_top37)
    root.mainloop()

def button_handler1(*args):
    print('bind_example_support.button_handler1')
    for arg in args:
        print ('another arg:', arg)
    sys.stdout.flush()

def button_handler2(*args):
    print('bind_example_support.button_handler2')
    for arg in args:
        print ('another arg:', arg)
    sys.stdout.flush()

def quit(*args):
    print('bind_example_support.quit')
    for arg in args:
        print ('another arg:', arg)
    sys.stdout.flush()
    sys.exit()

if __name__ == '__main__':
    bind_example.start_up()




