X
X
xverizex2020-04-21 00:26:26
GTK+
xverizex, 2020-04-21 00:26:26

How to make a TextView widget so that it receives a click event and does not change the cursor?

Hello. I do not know what to do. I have tried several options. I used for example a parameter like this insensitive. then it leaves the cursor the same, but also doesn't respond to events, even if I set events to it. The last option was this.

gtk_widget_set_events ( text_view, GDK_BUTTON_PRESS_MASK );

I have this widget subscribed to the event signal, but other events still come to this signal, and not just GDK_BUTTON_PRESS_MASK. How can you do? I need text_view to receive a click event, but the cursor doesn't change to BEAM.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question