This is the README for the addition of a couple useful features in the
GtkEditable hierarchy.
gtk_editable_set_position and get_editable_get_position set and get
respectively the current position (meaning cursor in gtktext.) For a
GtkText widget, gtk_editable_set_position scrolls the window if
neccessary.
The other change is the addition of two new signals, "text_inserted"
and "text_deleted". They both have three extra parameters, the text,
the text_length, and the position that the text was inserted into or
deleted from. The default handlers do nothing.
Christopher James Lahey <
[email protected]>
This patch generated against CVS head.
Suggested ChangeLog entry:
Thu May 14 01:00:00 1998 Chris Lahey <
[email protected]>
* gtk/gtkeditable.c, gtk/gtkeditable.h,
gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
and set_position functions.
* gtk/gtkeditable.c: Added "text_inserted" and
"text_deleted" signals