summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-05-19 02:31:53 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-05-19 02:31:53 +0000
commit4c1173b7f3dad1275d559f14431db033243602d0 (patch)
tree116c6b8a6bc11d76fe8ff0813732c9ea502dd08c /gtk/gtkentry.h
parent5d5e5459241bd0c455466c60e35164517920df1c (diff)
downloadgtk+-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.h5
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
*/