Re: problem to recognize the changing of the cursor in a GtkEditable

Markus Harz wrote:

I want to recognize where the cursor moves in my GtkEditable (GtkText)
get its position/the current row.

gint gtk_editable_get_position(GtkEditable*);

 The "changed"-signal is useless I
because it will only be send, when the text is changed, but not when I
move the cursor.

Try key_press_event.

Maciej Hrebien

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]