move_cursor


Description:

public virtual signal void move_cursor (ScrollStep step, int num)

The move_cursor signal is a keybinding signal which gets emitted when the user initiates a cursor movement.

The <keycap>Up</keycap>, <keycap>Down</keycap>, <keycap>PageUp</keycap>, <keycap>PageDown</keycap >, <keycap>Home</keycap> and <keycap>End</keycap> keys are bound to the normal behavior expected by those keys.

When step is equal to gtk_scroll_pages, the page size is defined by the proposal_page_size property. It is used for the <keycap>PageDown</keycap> and <keycap>PageUp</keycap> keys.

Applications should not connect to it, but may emit it with emit_by_name if they need to control the cursor programmatically.

Parameters:

step

The ScrollStep by which to move the cursor

num

The amount of steps to move the cursor