enable scrolling to extra tabs in a tabl panel
original commit: 4d03f3ab3c417f9967db1950cf577505bf8d87e3
This commit is contained in:
parent
8bd418695f
commit
e0f1ae3ed9
|
@ -19,6 +19,7 @@
|
|||
|
||||
(define-gtk gtk_notebook_append_page (_fun _GtkWidget _GtkWidget (_or-null _GtkWidget) -> _void))
|
||||
(define-gtk gtk_notebook_remove_page (_fun _GtkWidget _int -> _void))
|
||||
(define-gtk gtk_notebook_set_scrollable (_fun _GtkWidget _gboolean -> _void))
|
||||
(define-gtk gtk_notebook_get_current_page (_fun _GtkWidget -> _int))
|
||||
(define-gtk gtk_notebook_set_current_page (_fun _GtkWidget _int -> _void))
|
||||
|
||||
|
@ -52,6 +53,8 @@
|
|||
;; Reparented so that it's always in the current page's bin:
|
||||
(define client-gtk (gtk_fixed_new))
|
||||
|
||||
(gtk_notebook_set_scrollable gtk #t)
|
||||
|
||||
(super-new [parent parent]
|
||||
[gtk gtk]
|
||||
[client-gtk client-gtk]
|
||||
|
|
Loading…
Reference in New Issue
Block a user