From 3f124a016ea9d88db3c7b368b836fc296d1475e2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 28 Jul 2014 13:18:03 -0400 Subject: [PATCH] Made Tab in the GTK+ backend scrollable (in case there are too many tabs). --- redo/containers_unix.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redo/containers_unix.go b/redo/containers_unix.go index 6687994..68dbf08 100644 --- a/redo/containers_unix.go +++ b/redo/containers_unix.go @@ -28,6 +28,8 @@ func newTab() Tab { widgetbase: newWidget(widget), notebook: (*C.GtkNotebook)(unsafe.Pointer(widget)), } + // there are no scrolling arrows by default; add them in case there are too many tabs + C.gtk_notebook_set_scrollable(t.notebook, C.TRUE) return t }