API Version: 4.0
Library Version: 4.1.2
has-selection: gboolean
Whether the buffer has some text currently selected.