summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-01-17 22:38:18 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-01-17 22:38:18 +0000
commit9e404f2a1e04e9ea17742b9e2823b50189104a54 (patch)
tree2362e3efce1cc927610984593457b8a1224f222d /gtk/gtktextview.h
parentcf25093441d43b9225ae0a1a7eceaa31ef3a3d49 (diff)
downloadgtk+-9e404f2a1e04e9ea17742b9e2823b50189104a54.tar.gz
new function (which I then decided not to use but I think it's needed to
2002-01-17 Havoc Pennington <hp@redhat.com> * gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new function (which I then decided not to use but I think it's needed to fix #68963 * gtk/gtktextview.c: add page_horizontally action signal and implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig, hackily modified to avoid adding GTK_MOVEMENT_ API. Part of #53934 * gtk/gtkmarshalers.list: add NONE:INT,BOOL
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r--gtk/gtktextview.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h
index b52ca6d12b..df8abe7802 100644
--- a/gtk/gtktextview.h
+++ b/gtk/gtktextview.h
@@ -168,6 +168,15 @@ struct _GtkTextViewClass
GtkMovementStep step,
gint count,
gboolean extend_selection);
+
+ /* FIXME should be deprecated in favor of adding GTK_MOVEMENT_HORIZONTAL_PAGES
+ * or something in GTK 2.2, was put in to avoid adding enum values during
+ * the freeze.
+ */
+ void (* page_horizontally) (GtkTextView *text_view,
+ gint count,
+ gboolean extend_selection);
+
/* move the "anchor" (what Emacs calls the mark) to the cursor position */
void (* set_anchor) (GtkTextView *text_view);
@@ -187,7 +196,8 @@ struct _GtkTextViewClass
/* propagates to GtkWindow move_focus */
void (* move_focus) (GtkTextView *text_view,
- GtkDirectionType direction);
+ GtkDirectionType direction);
+
GtkFunction pad1;
GtkFunction pad2;