[comp.windows.x] TWM title button spec

hg3@sage.cc.purdue.edu (hg3) (02/08/91)

How to do I assign f.zoom to the default title button (resize box on 
the right of the title bar) in twm ?

I have tried 

	RightTittleButton ":resize" = f.zoom

But this just _add_ a resize box in the title bar with the zooming funtion
, the default title button stays there with no change.

Thanks ...

moss@brl.mil (Gary S. Moss (VLD/VMB) <moss>) (02/09/91)

In article <5412@mentor.cc.purdue.edu>, hg3@sage.cc.purdue.edu (hg3) writes:
|> How to do I assign f.zoom to the default title button (resize box on 
|> the right of the title bar) in twm ?
|> 
|> I have tried 
|> 
|> 	RightTittleButton ":resize" = f.zoom
|> 
|> But this just _add_ a resize box in the title bar with the zooming funtion
|> , the default title button stays there with no change.
|> 
|> Thanks ...

At least in tvtwm, you need to specify "NoDefaults" to turn off the default
titlebuttons.  This means you need to respecify both the left and right
buttons:

LeftTitleButton		":iconify" = f.iconify
RightTitleButton	":resize" = f.zoom

- Gary