You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This. Inheriting from Frame is better as you do not have to chain calls unnecessarily, like pdfView = pdf.ShowPdf().pdf_view(), which has no benefit. The ___init__() exists for a reason.
Hello,
I would like to offer you some improvements
`
class ShowPdf(threading.Thread, Frame):
`
If you want to add a pdf afterwards, you have to make these modifications:
`
`
Example of use:
`
self.pdfView = obdoTkShowPDF(self, pdf_location=pathPDF, width=50, height=30)
self.pdfView.grid(row=1, column=1)
self.pdfView.start()
#do stuff
self.pdfView.stop()
self.pdfView.join()
`
The text was updated successfully, but these errors were encountered: