aboutsummaryrefslogtreecommitdiff
path: root/src/stardict-view.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-20 09:15:06 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-20 09:15:06 +0200
commit82accaf200ab3a2cbf5a9112628a8f6eac27b1c8 (patch)
tree6efc02aaa0a8f5a1d26a5fcc2ec0a9e7204021f6 /src/stardict-view.h
parente461189f0e67f237d7bfb8280b58a6881cf914d0 (diff)
downloadtdv-82accaf200ab3a2cbf5a9112628a8f6eac27b1c8.tar.gz
tdv-82accaf200ab3a2cbf5a9112628a8f6eac27b1c8.tar.xz
tdv-82accaf200ab3a2cbf5a9112628a8f6eac27b1c8.zip
sdgui: make Page Up/Down scroll the view
Diffstat (limited to 'src/stardict-view.h')
-rw-r--r--src/stardict-view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stardict-view.h b/src/stardict-view.h
index 206238b..d5d679d 100644
--- a/src/stardict-view.h
+++ b/src/stardict-view.h
@@ -30,5 +30,7 @@ GtkWidget *stardict_view_new (void);
void stardict_view_set_position (StardictView *view,
StardictDict *dict, guint position);
void stardict_view_set_matched (StardictView *view, const gchar *matched);
+void stardict_view_scroll (StardictView *view,
+ GtkScrollStep step, gdouble amount);
#endif // ! STARDICT_VIEW_H