I was very please to find that you can define different button events
for title bar buttons..
For example from my own RC file..
=======8<--------
#---------------- Title Bar Buttons -------------------
NoDefaults # remove all title buttons first (iconify,resize)
TitleButtonBorderWidth 0 # remove boarders around title buttons
FramePadding 1 # frame padding between text and buttons
ButtonIndent 0 # extra indentation around buttons
Pixmaps { TitleHighlight "xpm:tomato_highlight.xpm" } # title highlight
# OPTIONAL "titlebar handle" button, for almost completely obscured windows
# or stacked, "tabbed" windows. EG: same operations as a title or frame.
LeftTitleButton "xpm:tomato_dash.xpm" {
button1 : f.function "MoveRaiseLower"
button2 : f.resize
button3 : f.menu "WindowOps"
}
LeftTitleButton "xpm:tomato_iconify.xpm" = f.iconify
#
# ... othe title bar buttons ...
#
RightTitleButton "xpm:tomato_resize.xpm" = f.resize
=======8<--------
But I am disappointed that the event binding were incomplete!
I mean would have expected that a binding like
button3 = s : f.menu "TwmMenu"
would also be posible, just as you can bind that event to the normal
titlebar or window frame.
Anyone care to add/fix full bindings for title bar buttons to the next
release?
PS: for those interested the "tomato" buttons are available at...
http://www.sct.gu.edu.au/~anthony/icons/appl/twm/Icons.html
Then press the "images" button.
Anthony Thyssen ( System Programmer ) http://www.sct.gu.edu.au/~anthony/
-----------------------------------------------------------------------------
You are caught in a maze of twisty little Sendmail rules, all obscure.
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.sct.gu.edu.au/~anthony/