Flatten a Button...

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Flatten a Button...

Submitted by Anonymous on Fri, 12/13/2002 - 16:14.

How can I flatten a button to give it the appearance of a Menu Button. I am attempting to place Icon Buttons on a Pulldown Menu. Since they are not Menu savvy I am wanting to implement that myself.

What is the best way of achieving the desired behavior?

Thanks.
C. Lamb

Mon, 12/16/2002 - 12:06#1

Mon, 12/16/2002 - 12:06#1

ICS_support

Flatten a Button...

Remove the shadowThickness values which give the 3D appearance.

The MenuSavvy trait is somewhat complicated and depends on a particular style of event handling. It is not easy to add to an arbitrary widget.