Method

GtkSourceSnippetget_focus_position

Declaration

gint
gtk_source_snippet_get_focus_position (
  GtkSourceSnippet* snippet
)

Description

Gets the current focus for the snippet.

This is changed as the user tabs through focus locations.

Return value

Returns: gint
 

The focus position, or -1 if unset.