Re: How to use GtkAdjustment ?



On Thu, 20 Jan 2005 05:55:10 -0800 (PST)
Tomas Mecir <mecirt yahoo com> wrote:
--- Paolo Costabel <paolo zebradevelopment com> wrote:
Hmmm, thank you... My problem lies in the fact that I
need to be able to manipulate a GtkTextView using an
external scrollbar (not tied to the GtkTextView using
the ScrollWindow). Is there anything that I could do
to achieve this ?

I think the function you want is gtk_widget_set_scroll_adjustments().
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html \
#gtk-widget-set-scroll-adjustments

HTH
JV
-- 
Twas FORTRAN as the doloop goes
        Did logzerneg the ifthen block
All kludgy were the function flows
        And subroutines adhoc.

Beware the runtime-bug my friend
        squrooneg, the false goto
Beware the infiniteloop
        And shun the inprectoo.
                -- "OUTCONERR," to the scheme of "Jabberwocky"



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