> home > Custom Layer Boundary API

view_set_cursor

January 19th 2020
Set a view's internal cursor position

Signature

C++
b32
view_set_cursor(Application_Links* app,
                View_ID view_id,
                Buffer_Seek seek);

Parameters

app

the standard custom layer context pointer

view_id

the id of the view to modify

seek

the seek target to use to derive the new position

Return

non-zero if the view exists, zero otherwise

Related

Buffer_Seek