GTK3 : How to print the current UI to PDF without showing Print UI

Hi,

I’m working on GTK3 app. I want to print the current UI (content of an window) to PDF without showing any print UI.

I was able to print without showing the UI with cairo_pdf_surface_create (but I had to draw the whole UI with cairo myself),

Is there any other way to print the current UI of GtkWindow to PDF without showing print UI?

Thank You

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.