PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:cursor_position problem !! (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:cursor_position problem !!
#719
ledaker (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
cursor_position problem !! 2 Months, 3 Weeks ago Karma: 0  
Hi, why the attribute cursor_position of GTkTextView doesnt works, it return 0
 
  The administrator has disabled public write access.
#723
kksou (Admin)
Admin
Posts: 391
graph
User Online Now Click here to see the profile of this user
Re:cursor_position problem !! 2 Months, 3 Weeks ago Karma: 8  
If you're trying to get the current cursor position within GtkTextView, use the following method:

GtkTextBuffer::get_insert()

It returns the mark that represents the cursor (insertion point).

Regards,
/kksou
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2008. kksou.com. All Rights Reserved