Re: GTK 1.2: Scrolling and pixels ?



On Thu, 2002-09-05 at 13:33, Janus N. Tøndering wrote:
Dear Sirs,

I have a textbox contained in a ScrolledWindow. Now say I wanted to
scroll the scrollbar one "visible page" up or down. That is, I want to
scroll "height of textbox" pixels up/down. How could this be done?

Oh ... forgot to mention. My current solution is using the
page_increment property of the adjustment for the GtkText to determine
the page size. This *seems* to be working ok -- but I am not sure
whether this is the way to do it.

-Janus

-- 
Janus Nørgaard Tøndering        
email: janus bananus dk, j nus person dk or janus daimi au dk

"Would you buy a car with the hood welded shut?"
-Phil Hughes, Linux Journal Magazine



Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]