C# text view scrolling using GTK library

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lenapolipas
    New Member
    • Mar 2010
    • 1

    C# text view scrolling using GTK library

    Hi,

    I have a Multi-line TextView with both scroll bars. I
    want to scroll the vertical bar automatically down as the
    last added line should be visible. Is there any property
    or method to do the same? I am using GTK library.

    Thanks.
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Don't know a thing about the GTK library.
    Is there a reason you don't use the built-in Textbox or a ListView?

    Nice thing about a Listview is that you can set any item to " .EnsureVisible ", thus for your need just add an item, then ensure it is visible. The listview does the rest by scrolling down one line.

    Otherwise I would suggest the makers of the library to be your best source of documentation/guidance.

    Comment

    Working...