Since this code works with 2.1.6 and could be useful, I send it here.
Two new composite widgets are available:
- <Scroll-canvas>
- <Scroll-text>
<Scroll-canvas> use both vertical and horizontal scrollbars. <Scroll-text>
supports only vertical scrollbar (support of horizontal scrollbar will be
added when Tk4.0 will be added).
Scollbar side is seen as a slot. Consequently you can do things like
(define c (make <Scroll-Canvas> :scroll-region "0 0 1000 1000"
:h-scroll-side 'bottom))
(pack c)
;; Put vertical scrollbar on the left side
(set! (v-scroll-side c) 'left)
;; Delete h-scroll
(set! (h-scroll-side c) #f)
Files are also available on kaolin.unice.fr:/pub/Contrib
-- Erick
begin 644 New-Composite.tar.gz
M'XL( /PI_at_2\" ^U86V_;-A3.:_PK3M4'RT/DVH[MH%X6K C:(<#6%7. /0P#
M2DN435_at_259)6XC[TM^^0U,VW),ME638SB!*)Y\Z/YY!G[ L>13Y),B+;4LT/
MGF!T.YUAOP\'T#_I#'KX%[HG0_/7C)-AOP,P..EW>MUAMS? Z5ZWWSF SL$_
M,!92$0%P0*<WTZ6"AP?_O?$]CH9^P!A\$, APA\?""20X5-"&W\5S.$0P/,
MQ_at_8P<&X0 SZ/4RZ9HG#%_at_BE5C4K>.4^7_at_DUG"MSS%G3?OCT^PD=?/P;P7C!_
M#C^1***2<?#_at_XGCLG7_\;?SF_7A\ :=T^N,B83YMA^+,BK//3U3$3")+ HK#
M0M(C-"%='_at_%)@C=<0,"D$FRR0(/4C$F0/%171% ]#TQ)*R7@_B*FB2)*"PJ1
MCR1+2!<"?;&D5TS-^$)!2"F_at_F!D5=+*$J2")HL$1(!_at_R%M# BE,SHF#"U0S_
M0_8)SZBQRGJ?<(6.&*G&I+1RH9A*4XH89(D5AT'1[(Q*PQ10P3**)G$QEVV
M#Q0GPKJO6A2^8S2 AT:)%50ZKXGK4B F2^!)M(0)6CHC8DJMRT"O4T&EA"O!
ME**Y036+C?RZ=S,>H6_at_TRY)>K_at_1=>YM'"CY_1K_at_PV6R6L2UTH74L3B.F;2!"
MAWC9KN&H&N\6R"A&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