focusednotebook = somevariablename
focusednotebook.insert('1.0', 'your text here')
yourbutton = Button(parent, text='button name', command=buttonclick)
yourbutton.pack()
Finding the currently selected tab of Ttk Notebook