Get and set scroll position in WebGadget
Posted: Sun Feb 06, 2022 12:38 pm
Hi,
I need to be able to read the vertical scroll position in a WebGadget and to move the scroll position in another WebGadget accordingy - I need those #PB_Web_ScrollY in GetGadgetAttribute() to work.
(The specific need is for a reader, to have two columns of content scrolling synchronized - two WebGadgets in the usual vertical scrolling, with the same content but offset.)
A previous recent search for the trick could not produce results. I am a bit rusty in managing GTK directly, so I may need a little help.
I suppose the documentation is that of [edit: no, see below] ; I will be checking it now.
I need to be able to read the vertical scroll position in a WebGadget and to move the scroll position in another WebGadget accordingy - I need those #PB_Web_ScrollY in GetGadgetAttribute() to work.
(The specific need is for a reader, to have two columns of content scrolling synchronized - two WebGadgets in the usual vertical scrolling, with the same content but offset.)
A previous recent search for the trick could not produce results. I am a bit rusty in managing GTK directly, so I may need a little help.
I suppose the documentation is that of [edit: no, see below] ; I will be checking it now.