Re: [gtk-list] ScrolledWindow help



On Fri, Aug 06, 1999 at 04:37:20PM +0000, Tom Gilbert wrote:

> How can this be done?

You need to look at GtkAdjustment. You didn't mention which widget
you're scrolling, but for, say, text, you'd need to do a:

gtk_text_set_adjustments( GTK_TEXT( text ), hadj, vadj );

with your two new adjustments. Gtk+ unrefs the previous two
adjustments for you.

m.

-- 
"How wonderful! How mysterious!				Programmer
 I carry wood! I draw water!"	       Loki Entertainment Software
 - Anonymous Tao poet



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