I have a project in Gtk which uses a Gtk.Entry text input and I need to disable the text cursor, or leave it invisible. How can I do this? Or if you can not, can you disable the linux system cursor?
I have a project in Gtk which uses a Gtk.Entry text input and I need to disable the text cursor, or leave it invisible. How can I do this? Or if you can not, can you disable the linux system cursor?
I do not know if it's possible -
In the documentation there is no method related to this. And although GTK3 + supports the CSS style setting, some of the attempts I've made here have not changed the cursor.
In particular, I tried to select the cursor with the ".insert-cursor" class and change the combinations of element name and class name between "cursor-handle" and "insert-cursor", according to the tips here: link
To change the CSS I tried to use the global CSS of the application, just modifying the proof of concept I made for this answer here: By which font is not changed in Raspberry Pi?
I could not even change the color - if the color worked, then I would try to set the opacity to 0, since "display" and "width" do not work anyway (it gives error and for the program to do the CSS parse)