GUIBRUSHR.GUI.WIDGET.MyPDFWindow module

class GUIBRUSHR.GUI.WIDGET.MyPDFWindow.MyPDFWindow(path_pdf, title='PDF Viewer')[source]

Bases: Toplevel

A standalone Toplevel window for displaying PDF documents.

Uses the PDFViewer class for rendering. Follows the same pattern as MyFigure.

__init__(path_pdf, title='PDF Viewer')[source]

Initialize the PDF viewer window.

Parameters:
  • path_pdf – Path to the PDF file to display.

  • title – Window title.

close_window()[source]

Close and destroy the PDF viewer window.