> First:
>
> It takes me an hour to recognize a spelling error (stupid me): The class
> <Menu-button> in `Menu.stk' is not spelled "Menubutton" as one would
> expect coming from the Tk world ;-)
but this is one would expect in the scheme world ;-)
>
> Second:
>
> I am loking for a class menubar which allows multiple <Menu-button>s
> placed left while a single <Menu-button> "Help" is placed right.
You'll have to use the option :side of the packer. Hereafter is an exemple
(define f (make <Frame>))
(define mb1 (make <Menu-button> :text "File" :parent f))
(define mb2 (make <Menu-button> :text "Edit" :parent f))
(define mb3 (make <Menu-button> :text "Help" :parent f))
(pack mb1 mb2 :side 'left)
(pack mb3 :side 'right)
(pack f :expand #t :fill 'x)
(pack (make <Text>)) ; So that the f frame is extended
Hope it helps
-- Erick
Received on Tue Nov 22 1994 - 14:48:26 CET
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST