summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollable.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkscrollable.h')
-rw-r--r--gtk/gtkscrollable.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkscrollable.h b/gtk/gtkscrollable.h
index a6e292f977..112301f04d 100644
--- a/gtk/gtkscrollable.h
+++ b/gtk/gtkscrollable.h
@@ -22,6 +22,7 @@
#error "Only <gtk/gtk.h> can be included directly."
#endif
+#include <gdk/gdk.h>
#include <gtk/gtkenums.h>
#include <gtk/gtktypes.h>
@@ -41,17 +42,26 @@ struct _GtkScrollableInterface
};
/* Public API */
+GDK_AVAILABLE_IN_ALL
GType gtk_scrollable_get_type (void) G_GNUC_CONST;
+GDK_AVAILABLE_IN_ALL
GtkAdjustment *gtk_scrollable_get_hadjustment (GtkScrollable *scrollable);
+GDK_AVAILABLE_IN_ALL
void gtk_scrollable_set_hadjustment (GtkScrollable *scrollable,
GtkAdjustment *hadjustment);
+GDK_AVAILABLE_IN_ALL
GtkAdjustment *gtk_scrollable_get_vadjustment (GtkScrollable *scrollable);
+GDK_AVAILABLE_IN_ALL
void gtk_scrollable_set_vadjustment (GtkScrollable *scrollable,
GtkAdjustment *vadjustment);
+GDK_AVAILABLE_IN_ALL
GtkScrollablePolicy gtk_scrollable_get_hscroll_policy (GtkScrollable *scrollable);
+GDK_AVAILABLE_IN_ALL
void gtk_scrollable_set_hscroll_policy (GtkScrollable *scrollable,
GtkScrollablePolicy policy);
+GDK_AVAILABLE_IN_ALL
GtkScrollablePolicy gtk_scrollable_get_vscroll_policy (GtkScrollable *scrollable);
+GDK_AVAILABLE_IN_ALL
void gtk_scrollable_set_vscroll_policy (GtkScrollable *scrollable,
GtkScrollablePolicy policy);