Mar-20-2020, 10:23 AM
Hello everyone,
I'm new in this forum and i need help.
I'm a beginner in python programming and i would like to create a Window Form to open SSH Session in tab.
But, i don't how i can put the SSH gui into my tabs of my windows form.
Thank you in advance.
I'm new in this forum and i need help.
I'm a beginner in python programming and i would like to create a Window Form to open SSH Session in tab.
But, i don't how i can put the SSH gui into my tabs of my windows form.
import tkinter as tk form = tk.Tk() .... tab_parent = ttk.Notebook(form) tab_parent.grid(row=2, column=0, columnspan=27, rowspan=2, sticky=W+E+N+S, padx=5, pady=5) tabServeur = ttk.Frame(tab_parent) tab_parent.add(tabServeur, text=TxtServer.get()) ... ConnectButton = Button(form, text='Connect', command=NewTab('arg1', 'arg2')) ConnectButton.grid(row=1, column=0, columnspan=27, sticky=W+E+N+S, padx=5, pady=5) form.mainloop()When I click on a "Connect" button, a new tab is created with a ssh Windows (Putty or something else?)
Thank you in advance.