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
This commit is contained in:
Matthias Clasen
2007-05-19 02:31:53 +00:00
committed by Matthias Clasen
parent 5d5e545924
commit 4c1173b7f3
6 changed files with 117 additions and 2 deletions

View File

@ -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
*/