diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-05-19 02:31:53 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-05-19 02:31:53 +0000 |
commit | 4c1173b7f3dad1275d559f14431db033243602d0 (patch) | |
tree | 116c6b8a6bc11d76fe8ff0813732c9ea502dd08c /gtk/gtkentry.h | |
parent | 5d5e5459241bd0c455466c60e35164517920df1c (diff) | |
download | gtk+-4c1173b7f3dad1275d559f14431db033243602d0.tar.gz |
Add gtk_entry_[gs]et_cursor_hadjustment() to allow automatic scrolling in
2007-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
to allow automatic scrolling in response to cursor movements
in the entry. (#438651, Nate Nielsen)
svn path=/trunk/; revision=17871
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index 6f2a81af11..24bf28db7c 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -191,6 +191,11 @@ gint gtk_entry_layout_index_to_text_index (GtkEntry *entry, gint gtk_entry_text_index_to_layout_index (GtkEntry *entry, gint text_index); +/* For scrolling cursor appropriately + */ +void gtk_entry_set_cursor_hadjustment (GtkEntry *entry, + GtkAdjustment *adjustment); +GtkAdjustment* gtk_entry_get_cursor_hadjustment (GtkEntry *entry); /* Deprecated compatibility functions */ |