diff options
author | Owen Taylor <otaylor@gtk.org> | 1998-05-22 07:07:11 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-05-22 07:07:11 +0000 |
commit | 579856439b9d4a088717d15caaa1bc6cc7d10242 (patch) | |
tree | 830d51f7895280d656fbc411db4dacaeef14dd57 /gtk/gtkeditable.h | |
parent | bf874e967e1627a21bb8f25e5db13e3f68a2f083 (diff) | |
download | gtk+-579856439b9d4a088717d15caaa1bc6cc7d10242.tar.gz |
Added style_set handler.
Fri May 22 03:02:40 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkhandlebox.c: Added style_set handler.
Fri May 22 02:55:57 1998 Owen Taylor <otaylor@gtk.org>
[ From: Chris Lahey <clahey@umich.edu> ]
* gtk/gtkeditable.c, gtk/gtkeditable.h,
gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
and set_position functions to get and set the cursor position.
* gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
signal status. Make GtkText do user-controlled insertion
and deletion through the Editable widget so that these
signals are properly emitted.
* gtk/gtkentry.c: Changed gtk_entry_set_visibility to
display asterisks instead of empty space when visible = FALSE)
Diffstat (limited to 'gtk/gtkeditable.h')
-rw-r--r-- | gtk/gtkeditable.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkeditable.h b/gtk/gtkeditable.h index 577957c7f5..2c4d3bab97 100644 --- a/gtk/gtkeditable.h +++ b/gtk/gtkeditable.h @@ -76,6 +76,8 @@ struct _GtkEditableClass gint end_pos); void (* activate) (GtkEditable *editable); void (* changed) (GtkEditable *editable); + void (* set_position) (GtkEditable *editable, + gint position); }; guint gtk_editable_get_type (void); @@ -104,6 +106,9 @@ void gtk_editable_claim_selection (GtkEditable *editable, void gtk_editable_delete_selection (GtkEditable *editable); void gtk_editable_changed (GtkEditable *editable); +void gtk_editable_set_position (GtkEditable *editable, + gint position); +gint gtk_editable_get_position (GtkEditable *editable); #ifdef __cplusplus |