Re: [gtk-list] Re: Problems with the vadj of a text widget



> > > >   gtk_text_freeze(GTK_TEXT(log));
> > > >   gtk_text_insert(GTK_TEXT(log), NULL, &color, NULL, message, -1);
> > > >   gtk_text_set_point(GTK_TEXT(log),
> > > >gtk_text_get_length(GTK_TEXT(log)));
> > > >   gtk_adjustment_set_value(GTK_TEXT(log)->vadj,
> > > >GTK_TEXT(log)->vadj->upper);
> > > >   gtk_text_thaw(GTK_TEXT(log));

I won't need to use a CList. It turns out that my gtk_text_thaw()
and gtk_adjustment_set_value() needed to be switched around. Now
it works great.

-- 
+-----------------------------------------------------+
| Jeff "Shippy" Shipman     E-Mail: shippy@cs.nmt.edu |
| Computer Science Major    ICQ: 1786493              |
| New Mexico Institute of Mining and Technology       |
| Homepage: http://www.nmt.edu/~shippy                |
+-----------------------------------------------------+



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