reading a file content into a gtk widget . . .

And since I am learning the Gtk programming, i referred several sites and the important one among them is the Gtk documentation site.

http://library.gnome.org/devel/gtkmm/stable/

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🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s