get_selection
Description:
Retrieves the selection ranges in the accessible object.
If this function returns true, `n_ranges` will be set to a value greater than or equal to one, and ranges will be set to a newly
allocated array of [struct#Gtk.AccessibleTextRange].
Parameters:
| this |
the accessible object |
| ranges |
the selection ranges |
| n_ranges |
the number of selection ranges |
Returns:
|
true if there is at least a selection inside the accessible object, and false otherwise |