Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I change the mouse cursor on a TextView (or how do I get the “right” GdkWindow from a TextView)?

0
Posted

How do I change the mouse cursor on a TextView (or how do I get the “right” GdkWindow from a TextView)?

0

As described in FAQ 5.6, and similarly to the GtkEntry discussed in FAQ 14.3, the TextView widget is made up of several underlying GdkWindows. The actual text window already has a cursor set on it (the i-beam cursor), but it’s not the TextView’s main window, which is why using a plain TextView.get_window() call won’t work.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123