scrolled_window = gtk_scrolled_window_new(NULL, NULL);
scrolled_window_vertical_adjustment =
gtk_scrolled_window_get_vadjustment(scrolled_window);
/* set policy etc. and put a vbox of labels in. Then after
* adding each label:
*/
gtk_adjustment_set_value(GTK_ADJUSTMENT(
scrolled_window_vertical_adjustment), 1.0f);
At present my program doesn't scroll down even when there are enough labels to make scrolling down possible. (I also tried setting an adjustment value of 0.0f and that didn't work.)
How should I change this so I can scroll the window all the way down?
TIA,
--
++ Jonathan Hayward, jonathan.hayward@xxxxxxxxx
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
** If you'd like a Google Mail (gmail.com) account, please tell me!
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list