[text] Add ClutterText::delete_selection()

Add a method for deleting the current selection inside a Text actor.

This is useful for subclasses.

See bug:

  http://bugzilla.openedhand.com/show_bug.cgi?id=1521

Based on a patch by: Raymond Liu <raymond.liu@intel.com>
This commit is contained in:
Emmanuele Bassi
2009-05-06 17:08:25 +01:00
parent ab1dcb8033
commit a28b9f31eb
3 changed files with 34 additions and 15 deletions

View File

@@ -1584,6 +1584,7 @@ clutter_text_insert_text
clutter_text_insert_unichar
clutter_text_delete_chars
clutter_text_delete_text
clutter_text_delete_selection
clutter_text_get_chars
clutter_text_set_cursor_color
clutter_text_get_cursor_color