def win_callback(obj, event):
    global size
    if (size != obj.GetSize()):
        button.place(renderer)
        button_plus.place(renderer)
        button_minus.place(renderer)
        slider.place(renderer)
        size = obj.GetSize()
def win_callback(obj, event):
    global size
    if (size != obj.GetSize()):
        button.place(renderer)
        button_plus.place(renderer)
        button_minus.place(renderer)
        slider.place(renderer)
        size = obj.GetSize()