move-cursor

The "move-cursor" signal is emitted when the cursor is being moved by count steps of size step. If extend_selection is true, the selection is extended as the cursor is being moved.

Callback function

void callback(GtkEntry entry, GtkMovementStep step, int count, bool extend_selection);