gnope php gtk gui gnope.org  

GtkTextBuffer & GtkTextIter

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
KnightAR



Joined: 12 May 2006
Posts: 5

PostPosted: Tue May 16, 2006 5:37 am    Post subject: GtkTextBuffer & GtkTextIter Reply with quote

Ok, I'm kinda getting annoyed by this. Basicly, I want to use the "get_text()" on a textbuffer, when I do so, it gives me this error:

"PHP Fatal error: Argument 1 passed to GtkTextBuffer::get_text() must be an object of class GtkTextIter", However, When I try to do make a GtkTextIter, it gives me this error: "PHP Fatal error: Class GtkTextIter cannot be instantiated directly". Is there another way around this issue to use get_text?

Thanks again!

Note: Nevermind ... I got it. Used get_start_iter() and get_end_iter() to get the GtkTextIter.

- KnightAR
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.