Re: gtk_text_view / gtk_text_buffer



On Sat, Nov 30, 2002 at 11:34:46AM +0100, Egon Andersen, Talura wrote:
> 
> I'm trying to insert a (fixed) multi-line text into a gtk_text_view 
> using gtk_text_buffer_insert()
> 
> My problem is that only the first line is displayed.
> When I click in the gtk_text_view field the field expands and I can see 
> all my inserted text lines.
> 
> How can I force all lines to be displayed in my gtk_text_view field?
> (I.e. without having to click in the window of cause :-)
> 

It might work to use gtk_text_view_scroll_to_mark() (see the docs on
that function for how to use it).

Havoc



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