Re: Trouble setting the value of a GtkAdjustment

2017-04-24 Thread Eric Cashon via gtk-app-devel-list
Hi Richard, It looks like how you add containers makes a difference in this case. Also the window placement might have to be adjusted after the window is shown. Here is a try at it. Eric //gcc -Wall adj1.c -o adj1 `pkg-config --cflags --libs gtk+-3.0` //Tested on Ubuntu16.04 and GTK3.18 #in

Trouble setting the value of a GtkAdjustment

2017-04-24 Thread Richard Shann
Compiling with Gtk 3.14.5 I can't seem to set the "value" of a GtkAdjustment once I have added a widget to it with gtk_container_add(), it seems to be locked at 0.0 The code looks like this fragment: 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><