I'm designing an editor in GTK+ and wanted to add a feature of the gedit text editor to represent the line number at the left side of the text. I've added an image of gedit showing the line number at the left of each line. I require guidance of which widget I should use and how to use it.
Thanks in advance :).. !