Re: Gtk2::TextView scrolling
- From: "Ross McFarland" <rwmcfa1 neces com>
- To: "Thomas Christensen" <tc unispeed dk>
- Cc: gtk-perl-list gnome org
- Subject: Re: Gtk2::TextView scrolling
- Date: Thu, 13 May 2004 11:26:27 -0400 (EDT)
Thomas Christensen said:
Hi,
I am having a problem with scrolling a page in Gtk2::TextView. Is
there any way to programmatically scroll a TextView? For instance if
I have a button that has to make it scroll a page up. Preferably I
would like to invoke the same code, that a <PAGE UP> button invokes in
the TextView.
there's a function that appears to do what you want, but it's not public:
gtk_text_view_scroll_pages at
http://cvs.gnome.org/viewcvs/gtk%2B/gtk/gtktextview.c?rev=1.251&view=markup.
perhaps the code in there will help you do what you're wanting to.
i would of thought there was a way to just do it, so i'm probably missing
something.
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]