On Thu, Apr 26, 2018 at 10:53:00AM +0530, Dhrubajyoti Doley wrote:
> I am developing an application where I have to show/draw whitespaces, tabs
> and enter.
Perhaps GtkSourceView could be useful here? It can already draw
whitespace (and a lot of other things).
https://wiki.gnome.org/Projects/Gtk
Hi Dhrubajyoti,
The textview widget has text tags built in that you can use to draw rectangles
around text. If you want to draw a rectangle to block out text you can match
the background and foreground colors. This code works on Ubuntu16.04, GTK3.18
and Python2.7. Give it a try and see if
Hi,
I am developing an application where I have to show/draw whitespaces, tabs
and enter.
To achieve this I am trying to pass Cairo Context to TextView.
I am Attaching an example where on the TextView where I want to draw a
square over the texts.
I am using GTK3.18, Python2.7 and Windows7.
Ple