And since I am learning the Gtk programming, i referred several sites and the important one among them is the Gtk documentation site.
this was very much helpful in understanding the widgets in gtk.
now that i wanted to read the entire content of the file and show it in a widget, i am confused about what widget will be handy… i tried to do with a label but since i was not able to add a scroll bar to it, it was not helpful.
Then i tried with the text area widget… but i was not successful…
Now i tried with the text widget and got the file contents into the widget🙂