This is the README for the addition of a few 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 second change is the addition of two new signals, "insert_text" and
"delete_text". They are now used instead of the virtual functions
whose names and parameters they match exactly. The default handlers
are the old virtual functions.
The final change is that gtk_entry_set_visibility( entry, FALSE ) now
puts in a bunch of asterisks instead of hiding the text altogether.
Christopher James Lahey <
[email protected]>
This patch generated against CVS head.
Suggested ChangeLog entry:
Wed May 20 05:30: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 "insert_text" and
"delete_text" signals
* gtk/gtkentry.c: Added password mode controlled
by gtk_entry_set_visibility.