Re: setting the vertical scroll bar position explicitly
- From: Razvan <razvaneduard xnet ro>
- To: thomas joseph <thomascanny yahoo co nz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: setting the vertical scroll bar position explicitly
- Date: Wed, 13 Nov 2002 13:04:45 +0200
You can put GtkTextView into a GtkScrolledWindow
set a mark at the end of the GtkTextBuffer and after adding text to the
buffer use
gtk_text_view_scroll_to_mark
thomas joseph wrote:
Hi All,
I am new to GTK. I created a small GUI for my project
which displays operational log messages of my
device.
I created a text widget with a vertical scrollbar
and
it's working fine. But I want one more feature,
whenever a new message is added at the end I want
the scrollbar to move down. (I always want to show
the latest messages.)
Can somebody tell me what are the right set of APIs
for setting or moving the vertical scrollbar down
explicitly.
I am looking at set_scroll_adjustment_signal and
gtk_adjustment_value_changed.
Thanks in advance,
--thomas
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-------------------------------------------------------
Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.
Xnet automatically scans all messages for viruses using RAV AntiVirus.
Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Va rugam sa luati in
considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este
responsabila pentru nici un prejudiciu cauzat de virusi.
Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants. Please be aware that there
is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible
for any damages caused by viruses.
--
Razvan
razvaneduard xnet ro
-------------------------------------------------------
Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.
Xnet automatically scans all messages for viruses using RAV AntiVirus.
Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Va rugam sa luati in
considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este
responsabila pentru nici un prejudiciu cauzat de virusi.
Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants. Please be aware that there
is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible
for any damages caused by viruses.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]