From 1941bf4cbf30ba6a0b63ae2f881a6f7d6c13a677 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sat, 7 Mar 1998 03:05:36 +0000 Subject: Disallow pasting into non-editable widgets. Fri Mar 6 21:30:05 1998 Owen Taylor * gtk/gtkeditable.c: Disallow pasting into non-editable widgets. * gtk/gtktext.[ch]: -Added scrolling when dragging the selection paste the top/bottom. -Fix some of the problems with displaying the selection state before mouse release. -Disallow pasting into non-editable widgets -Fixed segfault when changing window size -Update the cursor correctly when switching between editable and non-editable * testgtk.c: Added a toggle button for editability for the text widget. --- gtk/gtktext.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk/gtktext.h') diff --git a/gtk/gtktext.h b/gtk/gtktext.h index b35d129cf..19c507a1e 100644 --- a/gtk/gtktext.h +++ b/gtk/gtktext.h @@ -144,6 +144,8 @@ struct _GtkText GList *tab_stops; gint default_tab_width; + /* Timer used for auto-scrolling off ends */ + guint32 timer; }; struct _GtkTextClass -- cgit v1.2.1