LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-03-2005, 11:42 PM   #1
rubiks
LQ Newbie
 
Registered: Apr 2005
Location: Johnstown, PA
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
Question Scrolling to mark in TextView (Gtkmm)


First I would like to say that I am programming with Gtkmm 2.4/2.6 API. Now on to my problem.

I have a Goto Line dialog that was working. What I did was get the line number, move the insert & selection_bound marks to that line and then scroll the TextView to the insert mark.

My problem is that the ScrolledWindow now contains a HBox. The HBox has a label that contains line numbering and the TextView. Now my Goto Line function does not work anymore. It moves the cursor but does not scroll to that mark. Also, when I type, if I press the Return key past the bottom of the buffer, it does not scroll down.

So basically, the TextView won't automatically scroll as it is supposed to anymore...

Thank you for your help! - Andrew
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK TextView problem alltime Programming 1 06-04-2005 09:10 AM
gtkmm help paulr1984 Linux - Software 1 03-28-2005 03:40 AM
textview in pygtk sailu_mvn Programming 0 03-01-2005 06:54 AM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 04:57 AM
hard scrolling vs soft scrolling (console) haxcess Linux - General 2 08-30-2004 01:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration