I want to highlight the text of a Gtk.Entry, like this:
The first solution that came to me was foreign drawing, but I would have to manage everything myself. Other thought I had was to extend Gtk.Entry and override just the drawing of the text, but I don't think that's possible in Python.
How can I do that and take advantage of the work Gtk already does managing focus, drawing, animation, scrolling, cursor, etc.?