I am trying to create a GtkNotebook where each page displays information after the program has run out. I don’t wish to edit it and just want that it displays itself.
The trouble is that gtk_text_buffer_insert () asks for a const gchar string . I have been storing all the information to be displayed in the files.
How can I insert the string from the files.
Is there a better widget suited for my need that just displays the information on to the page of the notebook.
Thanks a lot ….
I take it these are log files from the program? Your two choices would seem to be either to remember (in memory) the data you wrote to them, so you can also display it in the GtkNotebook, or to reopen the log files to read them.