Re: That reminds me -- is there a signal that can be used when mouse over mainwin titlebar?

2018-10-04 Thread Germán Poo-Caamaño
t Side Decorations (CSD), like in Gnome, applications can use GtkHeaderBar, where you can set a tooltip. In Evince we do that for a similar use case you mention. A GtkHeaderBar can have a title and subtitle. In the subtitle we present the filename (basename), but you can get the full path thr

Re: PDF page not rendering properly if the page is changed

2018-11-28 Thread Germán Poo-Caamaño
(though it does render as it should when I > scroll the first page of a just opened document) properly, but if I > then resize the window the page renders properly. I do not see any attachment. My guess is: the page maybe cached somewhere, and it is reloaded (re- rendered) when the view s

Re: How to make text in rendered PDF pages selectable?

2018-11-19 Thread Germán Poo-Caamaño
to achieve that, since I cannot find anything online or in > the documentation. You might want to check poppler-glib-demo, and its source code. In particular, selections.c which is done with GtkDrawingArea. https://gitlab.freedesktop.org/poppler/poppler/tree/master/glib/demo --