I'm slightly stumped right now, i use a TextView as a status log, new lines added whenever something happens, this is the function i use for that, probably not right but it does work however i can't make it add changing the color of the entire line.
def logtostatus(self, text):
tvLog = self.tabs['Status'][1].get_children()[0].get_children()[0]
buf = tvLog.get_buffer()
start = buf.get_end_iter()
buf.insert(start, text+"\n")
end = buf.get_end_iter()
This does insert text, and i had various versions trying to use TextTag's but it refused to work so since i ran out of ideas, i'm asking you all out there, please help, this is driving me nuts.
Thank you
This works for me:
It seems the easiest way to play with colors. This is the result: