Roshanpaswan / tkPDFViewer

The tkPDFViewer is python library developed by Roshan Paswan, which allows you to embed the PDF file in your tkinter GUI.
MIT License
14 stars 9 forks source link

How to use tkPDFViewer with an application written using grid manager? #3

Open RedaMaher opened 3 years ago

RedaMaher commented 3 years ago

Is there a way to use the library with an application written using grid manager?

RedaMaher commented 3 years ago

After some trails, tkPDFViewer can be used with a grid manager only if the bar parameter is set to False. Even if a separate frame is created for the PDF (while the main frame is grid), this does not solve the issue and I still need to set bar=False

Kimbrel commented 3 years ago

Is there a way to open multiple PDF? I tried looping but it shows just the 1st, and the rest arent visible

RobinDemay commented 2 years ago

Hi, @RedaMaher

You can just add self.frame on Label, like so : self.display_msg = Label(self.frame, textvariable=self.percentage_load)