Re: How to create a scrolled text window with GTK 2.x?
- From: Jan-Marek Glogowski <glogow fbihome de>
- To: Juha Nieminen <warp cs tut fi>
- Cc: gtk-list gnome org
- Subject: Re: How to create a scrolled text window with GTK 2.x?
- Date: Mon, 21 Jun 2004 15:00:00 +0200 (CEST)
Untested, but an other idea:
// Maybe not needed
gtk_text_buffer_get_end_iter( buffer, &iter );
gtk_text_buffer_place_cursor( buffer, &iter );
// Ok - get insert mark
mark = gtk_text_buffer_get_insert( buffer );
// Move insert into the bottom right
gtk_text_view_scroll_to_mark( view, mark, 0.0, TRUE, 1.0, 1.0 );
// gtk_text_buffer_delete_mark( mark ); // Not sure if needed
Jan-Marek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]