get_selection


Description:

public string get_selection ()

Retrieves the currently selected text.

Parameters:

this

a Text

Returns:

a newly allocated string containing the currently selected text, or null. Use g_free to free the returned string.